feat!: Refactor, Update to version 2.5.x, Add Battle Scepter
This commit is contained in:
File diff suppressed because it is too large
Load Diff
+11
-3
@@ -1,4 +1,12 @@
|
||||
mod cmd_types;
|
||||
pub use cmd_types::*;
|
||||
|
||||
include!("../out/_.rs");
|
||||
|
||||
pub use prost::DecodeError as ProtobufDecodeError;
|
||||
pub use prost::Message as Protobuf;
|
||||
|
||||
pub trait CmdID {
|
||||
const CMD_ID: u16;
|
||||
|
||||
fn get_cmd_id(&self) -> u16 {
|
||||
Self::CMD_ID
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user