Ejemplo n.º 1
0
 public override void Write(PacketBinaryWriter writer)
 {
     if (PID >= UInt64.MaxValue - 100)
     {
         PID = 0;
     }
     writer.Write(PID + 1);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
     }
 }
Ejemplo n.º 4
0
 public abstract void Write(PacketBinaryWriter writer);
Ejemplo n.º 5
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
     writer.Write(Pos);
     writer.Write(RoomNumber);
 }
Ejemplo n.º 6
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(Reason);
 }
Ejemplo n.º 7
0
 public override void Write(PacketBinaryWriter writer)
 {
     //stub
 }
Ejemplo n.º 8
0
 public override void Write(PacketBinaryWriter writer)
 {
     writer.Write(PlayerId);
 }