mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-21 23:17:45 +00:00
This only works for sprint, and it adds 30 sprint buffs. It also regularly crashes the server afterwards usually.
24 lines
510 B
Rust
24 lines
510 B
Rust
use binrw::binrw;
|
|
|
|
#[binrw]
|
|
#[derive(Debug, Eq, PartialEq, Clone, Default)]
|
|
#[brw(repr = u8)]
|
|
pub enum ActionKind {
|
|
#[default]
|
|
Nothing = 0x0,
|
|
Normal = 0x1,
|
|
}
|
|
|
|
#[binrw]
|
|
#[derive(Debug, Clone, Default)]
|
|
pub struct ActionRequest {
|
|
pub exec_proc: u8, // what?
|
|
pub action_kind: ActionKind,
|
|
#[brw(pad_before = 2)] // this ISNT empty
|
|
pub action_id: u32, // See Action Excel sheet
|
|
pub request_id: u32,
|
|
pub dir: u16,
|
|
pub dir_target: u16,
|
|
pub target: u64,
|
|
pub arg: u32,
|
|
}
|