mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-06 04:37:46 +00:00
Fix GM commands
This commit is contained in:
parent
8d384c4bd0
commit
11156ea43c
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,7 @@ impl Default for ServerZoneIpcSegment {
|
|||
}
|
||||
|
||||
#[binrw]
|
||||
#[brw(repr = u32)]
|
||||
#[brw(repr = u8)]
|
||||
#[derive(Clone, PartialEq, Debug)]
|
||||
pub enum GameMasterCommandType {
|
||||
SetLevel = 0x1,
|
||||
|
@ -309,6 +309,7 @@ pub enum ClientZoneIpcData {
|
|||
/// Sent by the client when they send a GM command. This can only be sent by the client if they are sent a GM rank.
|
||||
#[br(pre_assert(*magic == ClientZoneIpcType::GMCommand))]
|
||||
GameMasterCommand {
|
||||
#[brw(pad_after = 3)] // padding
|
||||
command: GameMasterCommandType,
|
||||
arg0: u32,
|
||||
arg1: u32,
|
||||
|
|
Loading…
Add table
Reference in a new issue