public override void Read(PacketReader stream) { User = stream.ReadInt(); Target = stream.ReadInt(); LeftClick = stream.ReadBool(); }
public override void Read(PacketReader stream) { WindowId = stream.ReadSByte(); Slot = stream.ReadShort(); RightClick = stream.ReadBool(); Transaction = stream.ReadShort(); Shift = stream.ReadBool(); Item = ItemStack.Read(stream); }
public override void Read(PacketReader stream) { EntityId = stream.ReadInt(); Unknown = stream.ReadBool(); X = stream.ReadDoublePacked(); Y = stream.ReadDoublePacked(); Z = stream.ReadDoublePacked(); }
public override void Read(PacketReader stream) { WindowId = stream.ReadSByte(); Transaction = stream.ReadShort(); Accepted = stream.ReadBool(); }
public override void Read(PacketReader stream) { //X,Y,Stance are in different order for Client->Server vs. Server->Client if (Packet.Role == StreamRole.Server) { X = stream.ReadDouble(); Stance = stream.ReadDouble(); Y = stream.ReadDouble(); } else { X = stream.ReadDouble(); Y = stream.ReadDouble(); Stance = stream.ReadDouble(); } Z = stream.ReadDouble(); Console.WriteLine("Receiving Position: {0},{1},{2}", X, Y, Z); Yaw = stream.ReadFloat(); Pitch = stream.ReadFloat(); OnGround = stream.ReadBool(); }
public override void Read(PacketReader stream) { Yaw = stream.ReadFloat(); Pitch = stream.ReadFloat(); OnGround = stream.ReadBool(); }
public override void Read(PacketReader stream) { OnGround = stream.ReadBool(); }
public override void Read(PacketReader stream) { X = stream.ReadDouble(); Y = stream.ReadDouble(); Stance = stream.ReadDouble(); Z = stream.ReadDouble(); OnGround = stream.ReadBool(); }
public override void Read(PacketReader stream) { PlayerName = stream.ReadString16(16); Online = stream.ReadBool(); Ping = stream.ReadShort(); }
public override void Read(PacketReader reader) { Invulnerability = reader.ReadBool(); IsFlying = reader.ReadBool(); CanFly = reader.ReadBool(); InstantDestroy = reader.ReadBool(); }
public override void Read(PacketReader stream) { X = stream.ReadInt(); Z = stream.ReadInt(); Load = stream.ReadBool(); }
public override void Read(PacketReader stream) { //X,Y,Stance are in different order for Client->Server vs. Server->Client if (Packet.Role == StreamRole.Server) { X = stream.ReadDouble(); Stance = stream.ReadDouble(); Y = stream.ReadDouble(); } else { X = stream.ReadDouble(); Y = stream.ReadDouble(); Stance = stream.ReadDouble(); } Z = stream.ReadDouble(); Yaw = stream.ReadFloat(); Pitch = stream.ReadFloat(); OnGround = stream.ReadBool(); }
public override void Read(PacketReader stream) { Sink1 = stream.ReadFloat(); Sink2 = stream.ReadFloat(); Sink3 = stream.ReadFloat(); Sink4 = stream.ReadFloat(); Sink5 = stream.ReadBool(); Sink6 = stream.ReadBool(); }