Exemplo n.º 1
0
 public KickAllianceMemberCommand(CoCSharpPacketReader br)
 {
     m_vAvatarId = br.ReadInt64WithEndian();
     br.ReadByte();
     m_vMessage = br.ReadScString();
     br.ReadInt32WithEndian();
 }
Exemplo n.º 2
0
 public override void Decode()
 {
     using (var br = new CoCSharpPacketReader(new MemoryStream(GetData())))
     {
         m_vId   = br.ReadInt64WithEndian();
         m_vRole = br.ReadInt32WithEndian();
     }
 }
Exemplo n.º 3
0
 public LeaveAllianceCommand(CoCSharpPacketReader br)
 {
     br.ReadInt64WithEndian();
     br.ReadInt32WithEndian();
     br.ReadInt32WithEndian();
 }