public void Read( PacketReader reader ) { X = reader.ReadDouble(); Y = reader.ReadDouble(); Stance = reader.ReadDouble(); Z = reader.ReadDouble(); Onground = reader.ReadBoolean(); }
public void Read(PacketReader reader) { Locale = reader.ReadString16(10); Logger.LogToConsole( Locale.ToString() ); ViewDistance = reader.ReadByte(); ChatFlags = reader.ReadByte(); Difficulty = reader.ReadByte(); ShowCapes = reader.ReadBoolean(); }
public void Read(PacketReader reader) { PacketType type = (PacketType)reader.ReadByte(); Logger.LogToConsole( type.ToString() ); SharedSecretLength = reader.ReadShort(); SharedSecret = reader.ReadBytes(SharedSecretLength); VerifyTokenLength = reader.ReadShort(); VerifyTokenResponse = reader.ReadBytes(VerifyTokenLength); }
public void Read(PacketReader reader) { ProtocolVersion = (int)reader.ReadByte(); Logger.LogToConsole( "Protocol version " + ProtocolVersion.ToString() ); Username = reader.ReadString16(64); Logger.LogToConsole( "Username " + Username ); ServerHost = reader.ReadString16(64); ServerPort = reader.ReadInt(); Logger.LogToConsole( "Server " + ServerHost + ":" + ServerPort ); }
public void Read( PacketReader reader ) { reader.ReadByte(); X = reader.ReadDouble(); Y = reader.ReadDouble(); Stance = reader.ReadDouble(); Z = reader.ReadDouble(); R = reader.ReadSingle(); L = reader.ReadSingle(); OnGround = reader.ReadBoolean(); }
public override void Read(PacketReader stream) { int posX = stream.ReadInt(); short posY = stream.ReadShort(); int posZ = stream.ReadInt(); byte sizeX = (byte)(stream.ReadByte() + 1); byte sizeY = (byte)(stream.ReadByte() + 1); byte sizeZ = (byte)(stream.ReadByte() + 1); int o = sizeX * sizeY * sizeZ; Chunk = new Chunk(null, new Vector3I(posX, posY, posZ)); int len = stream.ReadInt(); stream.ReadBytes(len); }
public void Read( PacketReader reader ) { throw new NotImplementedException(); }
public void Read( PacketReader reader ) { Message = Deserialize(reader.ReadString()); }
public void Read(PacketReader reader) { Payload = reader.ReadByte(); Logger.LogToConsole( Payload.ToString() ); }
public void Read(PacketReader reader) { Type = (PacketType)reader.ReadByte(); Logger.LogToConsole( Type.ToString() ); }
public void Read( PacketReader reader ) { ID = reader.ReadInt32(); }
public void Read( PacketReader reader ) { X = reader.ReadInt32(); Y = reader.ReadInt32(); Z = reader.ReadInt32(); }
public override void Read( PacketReader stream ) { }
public void Read( PacketReader reader ) { }