Beispiel #1
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x38);
     wSock.writeString(Playername);
     wSock.writeBool(Online);
     wSock.writeShort(Ping);
     wSock.Purge();
 }
Beispiel #2
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x28);
     wSock.writeInt(EffectID);
     wSock.writeInt(X);
     wSock.writeSByte(Y);
     wSock.writeInt(Z);
     wSock.writeInt(Data);
     wSock.writeBool(Disablerelativevolume);
     wSock.Purge();
 }
Beispiel #3
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x2D);
     wSock.writeByte(Windowid);
     wSock.writeByte(InventoryType);
     wSock.writeString(Windowtitle);
     wSock.writeByte(NumberofSlots);
     wSock.writeBool(Useprovidedwindowtitle);
     wSock.writeInt(EntityID);
     wSock.Purge();
 }
Beispiel #4
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x18);
     wSock.writeVarInt(EntityID);
     wSock.writeInt(X);
     wSock.writeInt(Y);
     wSock.writeInt(Z);
     wSock.writeByte(Yaw);
     wSock.writeByte(Pitch);
     wSock.writeBool(OnGround);
     wSock.Purge();
 }
Beispiel #5
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x26);
     wSock.writeShort(Chunkcolumncount);
     wSock.writeInt(Datalength);
     wSock.writeBool(Skylightsent);
     wSock.Send(Data);
     wSock.Send(Metainformation);
     wSock.Purge();
 }
Beispiel #6
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x0C);
     wSock.writeFloat(Sideways);
     wSock.writeFloat(Forward);
     wSock.writeBool(Jump);
     wSock.writeBool(Unmount);
     wSock.Purge();
 }
Beispiel #7
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x15);
     wSock.writeString(Locale);
     wSock.writeSByte(Viewdistance);
     wSock.writeSByte(Chatflags);
     wSock.writeBool(Chatcolours);
     wSock.writeSByte(Difficulty);
     wSock.writeBool(ShowCape);
     wSock.Purge();
 }
Beispiel #8
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x14);
     wSock.writeString(Text);
     wSock.writeBool(HasPosition);
     wSock.writeLong(LookedAtBlock.Pack());
     wSock.Purge();
 }
Beispiel #9
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x15);
     wSock.writeString(Locale);
     wSock.writeSByte(ViewDistance);
     wSock.writeSByte(ChatMode);
     wSock.writeBool(ChatColors);
     wSock.writeByte(DisplayedSkinParts);
     wSock.Purge();
 }
Beispiel #10
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x28);
     wSock.writeInt(EffectID);
     wSock.writeLong(Location.Pack());
     wSock.writeInt(Data);
     wSock.writeBool(DisableRelativeVolume);
     wSock.Purge();
 }
Beispiel #11
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x2A);
     wSock.writeInt(ParticleCount);
     wSock.writeBool(LongDistance);
     wSock.writeFloat(X);
     wSock.writeFloat(Y);
     wSock.writeFloat(Z);
     wSock.writeFloat(OffsetX);
     wSock.writeFloat(OffsetY);
     wSock.writeFloat(OffsetZ);
     wSock.writeFloat(ParticleData);
     wSock.writeInt(ParticleCount);
     foreach (var i in Data)
         wSock.writeVarInt(i);
     wSock.Purge();
 }
Beispiel #12
0
            public void Write(Wrapped wSock) {
                wSock.writeVarInt(0x26);
                wSock.writeBool(SkyLightSent);
                wSock.writeVarInt(ChunkColumnCount);

                wSock.Purge();
            }
Beispiel #13
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x21);
     wSock.writeInt(ChunkX);
     wSock.writeInt(ChunkZ);
     wSock.writeBool(GroundUpContinuous);
     wSock.writeShort((short)PrimaryBitMask);
     wSock.writeVarInt(Size);
     wSock.Send(Data);
     wSock.Purge();
 }
Beispiel #14
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x1D);
     wSock.writeSByte(EffectID);
     wSock.writeSByte(Amplifier);
     wSock.writeVarInt(Duration);
     wSock.writeBool(HideParticles);
     wSock.Purge();
 }
Beispiel #15
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x03);
     wSock.writeBool(OnGround);
     wSock.Purge();
 }
Beispiel #16
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x01);
     wSock.writeInt(EntityID);
     wSock.writeByte(Gamemode);
     wSock.writeSByte(Dimension);
     wSock.writeByte(Difficulty);
     wSock.writeByte(MaxPlayers);
     wSock.writeString(LevelType);
     wSock.writeBool(ReducedDebugInfo);
     wSock.Purge();
 }
Beispiel #17
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x04);
     wSock.writeDouble(X);
     wSock.writeDouble(FeetY);
     wSock.writeDouble(HeadY);
     wSock.writeDouble(Z);
     wSock.writeBool(OnGround);
     wSock.Purge();
 }
Beispiel #18
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x1B);
     wSock.writeInt(EntityID);
     wSock.writeInt(VehicleID);
     wSock.writeBool(Leash);
     wSock.Purge();
 }
Beispiel #19
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x0F);
     wSock.writeSByte(WindowID);
     wSock.writeShort(Actionnumber);
     wSock.writeBool(Accepted);
     wSock.Purge();
 }
Beispiel #20
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x21);
     wSock.writeInt(ChunkX);
     wSock.writeInt(ChunkZ);
     wSock.writeBool(GroundUpcontinuous);
     wSock.writeShort((short)Primarybitmap);
     wSock.writeShort((short)Addbitmap);
     wSock.writeInt(Compressedsize);
     wSock.Send(Compresseddata);
     wSock.Purge();
 }
Beispiel #21
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x08);
     wSock.writeDouble(X);
     wSock.writeDouble(Y);
     wSock.writeDouble(Z);
     wSock.writeFloat(Yaw);
     wSock.writeFloat(Pitch);
     wSock.writeBool(OnGround);
     wSock.Purge();
 }
Beispiel #22
0
 public void Write(Wrapped wSock) {
     wSock.writeVarInt(0x17);
     wSock.writeVarInt(EntityID);
     wSock.writeSByte(DeltaX);
     wSock.writeSByte(DeltaY);
     wSock.writeSByte(DeltaZ);
     wSock.writeByte(Yaw);
     wSock.writeByte(Pitch);
     wSock.writeBool(OnGround);
     wSock.Purge();
 }