Add storage metadata

This commit is contained in:
HungDK
2026-05-21 17:35:52 +07:00
parent f51191f721
commit b903258b22
@@ -3279,4 +3279,97 @@ namespace CSNetwork.GPDataType
{
public int id;
};
// PW_CPP: EC_GPDataType.h — trash box (warehouse) S2C payloads
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_pwd_changed
{
public byte has_passwd;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_pwd_state
{
public byte has_passwd;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_open
{
public byte is_accountbox;
public ushort slot_size;
public ushort slot_size2;
public ushort slot_size3;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_close
{
public byte is_accountbox;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_wealth
{
public byte is_accountbox;
public uint money;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_exg_trashbox_item
{
public byte where;
public byte idx1;
public byte idx2;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_move_trashbox_item
{
public byte where;
public byte src;
public byte dest;
public uint amount;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_exg_trashbox_ivtr
{
public byte where;
public byte idx_tra;
public byte idx_inv;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_ivty_item_to_trash
{
public byte where;
public byte src;
public byte dest;
public uint amount;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trash_item_to_ivtr
{
public byte where;
public byte src;
public byte dest;
public uint amount;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_exg_trash_money
{
public byte is_accountbox;
public int inv_delta;
public int tra_delta;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_trashbox_size
{
public byte where;
public int iNewSize;
}
}