Beispiel #1
0
 public override void Read(PacketBinaryReader reader)
 {
     SpriteIndex = reader.ReadUInt16();
     ImageIndex  = reader.ReadUInt16();
     ImageSpeed  = reader.ReadSingle();
     ImageXScale = reader.ReadSingle();
     Palette     = reader.ReadUInt16();
     IsRabbit    = reader.ReadBoolean();
 }
Beispiel #2
0
 public override void Read(PacketBinaryReader reader)
 {
     Quitting = reader.ReadByte() == 1;
     if (Quitting)
     {
         Name       = reader.ReadString();
         Pos        = reader.ReadVec2();
         RoomNumber = reader.ReadUInt32();
     }
     else
     {
         Reason = reader.ReadString();
     }
 }
Beispiel #3
0
 public abstract void Read(PacketBinaryReader reader);
Beispiel #4
0
 public override void Read(PacketBinaryReader reader)
 {
     Pos        = reader.ReadVec2();
     RoomNumber = reader.ReadUInt32();
 }
Beispiel #5
0
 public override void Read(PacketBinaryReader reader)
 {
     Reason = reader.ReadString();
 }
Beispiel #6
0
 public override void Read(PacketBinaryReader reader)
 {
     PlayerIdOf = reader.ReadUInt16();
 }
Beispiel #7
0
 public override void Read(PacketBinaryReader reader)
 {
     PID = reader.ReadUInt64();
 }
Beispiel #8
0
 public override void Read(PacketBinaryReader reader)
 {
     Version = reader.ReadUInt16();
 }