Esempio n. 1
0
 public PlayerDisconnectedCmd(byte[] bytes, int offset = 0) :
     base(CommandType.PlayerDisconnected)
 {
     pID = Serialization.DecodeInt(bytes, offset);
 }
Esempio n. 2
0
 public UseShieldPickupCmd(byte[] bytes, int offset = 0) :
     base(CommandType.ShieldDespawn)
 {
     pID     = Serialization.DecodeInt(bytes, offset);
     offset += 4;
 }