예제 #1
0
 public override void Read(PacketReader reader)
 {
     PatternId = reader.ReadInt();
     TextureId = reader.ReadInt();
     X = reader.ReadFloat();
     Y = reader.ReadFloat();
 }
예제 #2
0
 public override void Read(PacketReader reader)
 {
     PlayerId = reader.ReadInt();
     Nickname = reader.ReadString16(9);
     Health = reader.ReadInt();
     Speed = reader.ReadFloat();
     #if DEBUG
     Console.WriteLine(ToString());
     #endif
 }
예제 #3
0
 public override void Read(PacketReader reader)
 {
     EntityId = reader.ReadInt();
     Nickname = reader.ReadString8(12);
     Health = reader.ReadInt();
     X = reader.ReadFloat();
     Y = reader.ReadFloat();
     #if DEBUG
     Console.WriteLine(ToString());
     #endif
 }
예제 #4
0
 public override void Read(PacketReader reader)
 {
     EntityId = reader.ReadInt();
     #if DEBUG
     Console.WriteLine(ToString());
     #endif
 }
예제 #5
0
 public override void Read(PacketReader reader)
 {
     PlayerId = reader.ReadInt();
     X = reader.ReadFloat();
     Y = reader.ReadFloat();
     Z = reader.ReadFloat();
     #if DEBUG
     Console.WriteLine(ToString());
     #endif
 }
예제 #6
0
 public override void Read(PacketReader reader)
 {
     EntityId = reader.ReadInt();
     Position = new WorldPosition
     {
         X = reader.ReadFloat(),
         Y = reader.ReadFloat()
     };
     Direction = reader.ReadFloat();
     Speed = reader.ReadFloat();
     #if DEBUG
     Console.WriteLine(ToString());
     #endif
 }