We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685e2f6 commit f99218dCopy full SHA for f99218d
src/server/plugin_messages.rs
@@ -1,8 +1,34 @@
1
2
+use std::collections::HashMap;
3
+
4
use crate::protocol::Serializable;
5
use crate::protocol::packet::play::serverbound::PluginMessageServerbound;
6
use crate::protocol::packet::play::serverbound::PluginMessageServerbound_i16;
7
8
+pub enum FmlHs<'a> {
9
+ ServerHello {
10
+ fml_protocol_version: i8,
11
+ override_dimension: i32,
12
+ },
13
+ ClientHello {
14
15
16
+ ModList {
17
+ mods: HashMap<&'a str, &'a str>,
18
19
+ RegistryData {
20
+ has_more: bool,
21
+ name: String,
22
+ ids: HashMap<&'a str, i32>,
23
+ substitutions: Vec<&'a str>,
24
+ dummies: Vec<&'a str>,
25
26
+ HandshakeAck {
27
+ phase: i8,
28
29
+ HandshakeReset,
30
+}
31
32
pub struct Brand {
33
pub brand: String,
34
}
0 commit comments