public NetworkMode ReadPacket(MinecraftStream stream, NetworkMode mode, PacketDirection direction) { EntityId = stream.ReadInt32(); Location = stream.ReadPosition(); return mode; }
public NetworkMode ReadPacket(MinecraftStream stream, NetworkMode mode, PacketDirection direction) { EntityId = stream.ReadVarInt(); Title = stream.ReadString(); Location = stream.ReadPosition(); Direction = stream.ReadUInt8(); return mode; }
public NetworkMode ReadPacket(MinecraftStream stream, NetworkMode mode, PacketDirection direction) { Location = stream.ReadPosition(); BlockType = stream.ReadVarInt(); return mode; }