Add revive data structure of revive

This commit is contained in:
HungDK
2025-11-04 14:32:23 +07:00
parent 307f6d8b49
commit bc7693aceb
@@ -619,6 +619,35 @@ namespace CSNetwork.GPDataType
public char speed; //¹¥»÷ËÙ¶È speed * 50 ms
};
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_player_died
{
public int idKiller;
public int idPlayer;
};
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_host_died
{
public int idKiller;
public A3DVECTOR3 pos;
};
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_player_revive
{
public int idPlayer;
public short sReviveType; // Revive type
public A3DVECTOR3 pos;
};
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct cmd_notify_hostpos
{
public A3DVECTOR3 vPos;
public int tag;
public int line;
};
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct A3DVECTOR3
{