Beispiel #1
0
 public override void Write(PacketBinaryWriter writer)
 {
     if (PID >= UInt64.MaxValue - 100)
     {
         PID = 0;
     }
     writer.Write(PID + 1);
 }
Beispiel #2
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
     writer.Write(SpriteIndex);
     writer.Write(ImageIndex);
     writer.Write(ImageSpeed);
     writer.Write(ImageXScale);
     writer.Write(Palette);
     writer.Write(IsRabbit);
 }
Beispiel #3
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
     writer.Write(Quitting);
     if (!Quitting)
     {
         writer.Write(Reason);
     }
     else
     {
         writer.Write(Name);
         writer.Write(Pos);
         writer.Write(RoomNumber);
     }
 }
Beispiel #4
0
 public abstract void Write(PacketBinaryWriter writer);
Beispiel #5
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
     writer.Write(Pos);
     writer.Write(RoomNumber);
 }
Beispiel #6
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(Reason);
 }
Beispiel #7
0
 public override void Write(PacketBinaryWriter writer)
 {
     //stub
 }
Beispiel #8
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
 }