Beispiel #1
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     X = wSock.readInt();
     Y = wSock.readInt();
     Z = wSock.readInt();
     Yaw = wSock.readSByte();
     Pitch = wSock.readSByte();
 }
Beispiel #2
0
 public void Read(Wrapped wSock) {
     ActionID = wSock.readSByte();
 }
Beispiel #3
0
 public void Read(Wrapped wSock) {
     Slot = wSock.readSByte();
 }
Beispiel #4
0
 public void Read(Wrapped wSock) {
     WindowID = wSock.readSByte();
     Actionnumber = wSock.readShort();
     Accepted = wSock.readBool();
 }
Beispiel #5
0
 public void Read(Wrapped wSock) {
     Flags = wSock.readSByte();
 }
Beispiel #6
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     Animation = wSock.readSByte();
 }
Beispiel #7
0
 public void Read(Wrapped wSock) {
     Windowid = wSock.readSByte();
 }
Beispiel #8
0
 public void Read(Wrapped wSock) {
     EffectID = wSock.readInt();
     X = wSock.readInt();
     Y = wSock.readSByte();
     Z = wSock.readInt();
     Data = wSock.readInt();
     Disablerelativevolume = wSock.readBool();
 }
Beispiel #9
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readVarInt();
     Type = wSock.readSByte();
     X = wSock.readInt();
     Y = wSock.readInt();
     Z = wSock.readInt();
 }
Beispiel #10
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     EffectID = wSock.readSByte();
 }
Beispiel #11
0
        public void Read(Wrapped wSock) {
            X = wSock.readFloat();
            Y = wSock.readFloat();
            Z = wSock.readFloat();
            Radius = wSock.readFloat();
            Recordcount = wSock.readInt();
            Records = new sbyte[Recordcount * 3];

            for (int x = 0; x < Records.Length - 1; x++) {
                Records[x] = wSock.readSByte();
            }

            PlayerMotionX = wSock.readFloat();
            PlayerMotionY = wSock.readFloat();
            PlayerMotionZ = wSock.readFloat();
        }
Beispiel #12
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     EffectID = wSock.readSByte();
     Amplifier = wSock.readSByte();
     Duration = wSock.readShort();
 }
Beispiel #13
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     EntityStatus = wSock.readSByte();
 }
Beispiel #14
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     HeadYaw = wSock.readSByte();
 }
Beispiel #15
0
 public void Read(Wrapped wSock) {
     Status = wSock.readSByte();
     X = wSock.readInt();
     Y = wSock.readByte();
     Z = wSock.readInt();
     Face = wSock.readSByte();
 }
Beispiel #16
0
 public void Read(Wrapped wSock) {
     WindowID = wSock.readSByte();
     Slot = wSock.readShort();
     Slotdata = WrappedExtension.ReadSlot(wSock);
 }
Beispiel #17
0
 public void Read(Wrapped wSock) {
     X = wSock.readInt();
     Y = wSock.readByte();
     Z = wSock.readInt();
     Direction = wSock.readSByte();
     Helditem = WrappedExtension.ReadSlot(wSock);
     CursorpositionX = wSock.readSByte();
     CursorpositionY = wSock.readSByte();
     CursorpositionZ = wSock.readSByte();
     Slot = wSock.readShort();
 }
Beispiel #18
0
 public void Read(Wrapped wSock) {
     Flags = wSock.readSByte();
     Flyingspeed = wSock.readFloat();
     Walkingspeed = wSock.readFloat();
 }
Beispiel #19
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     ActionID = wSock.readSByte();
     JumpBoost = wSock.readInt();
 }
Beispiel #20
0
 public void Read(Wrapped wSock) {
     Objectivename = wSock.readString();
     Objectivevalue = wSock.readString();
     Create = wSock.readSByte();
 }
Beispiel #21
0
 public void Read(Wrapped wSock) {
     WindowID = wSock.readSByte();
     Slot = wSock.readShort();
     Button = wSock.readSByte();
     Actionnumber = wSock.readShort();
     Mode = wSock.readSByte();
     Clickeditem = WrappedExtension.ReadSlot(wSock);
 }
Beispiel #22
0
 public void Read(Wrapped wSock) {
     ItemName = wSock.readString();
     Update = wSock.readSByte();
     ScoreName = wSock.readString();
     Value = wSock.readInt();
 }
Beispiel #23
0
 public void Read(Wrapped wSock) {
     WindowID = wSock.readSByte();
     Enchantment = wSock.readSByte();
 }
Beispiel #24
0
 public void Read(Wrapped wSock) {
     Position = wSock.readSByte();
     ScoreName = wSock.readString();
 }
Beispiel #25
0
 public void Read(Wrapped wSock) {
     Locale = wSock.readString();
     Viewdistance = wSock.readSByte();
     Chatflags = wSock.readSByte();
     Chatcolours = wSock.readBool();
     Difficulty = wSock.readSByte();
     ShowCape = wSock.readBool();
 }
Beispiel #26
0
        public void Read(Wrapped wSock) {
            TeamName = wSock.readString();
            Mode = wSock.readSByte();

            switch (Mode) {
                case 0:
                    TeamDisplayName = wSock.readString();
                    TeamPrefix = wSock.readString();
                    TeamSuffix = wSock.readString();
                    Friendlyfire = wSock.readSByte();
                    Playercount = wSock.readShort();

                    for (int x = 0; x < Playercount - 1; x++)
                        Players[x] = wSock.readString();
                    break;
                case 2:
                    TeamDisplayName = wSock.readString();
                    TeamPrefix = wSock.readString();
                    TeamSuffix = wSock.readString();
                    Friendlyfire = wSock.readSByte();
                    break;
                case 3:
                    Playercount = wSock.readShort();

                    for (int x = 0; x < Playercount - 1; x++)
                        Players[x] = wSock.readString();
                    break;
                case 4:
                    Playercount = wSock.readShort();

                    for (int x = 0; x < Playercount - 1; x++)
                        Players[x] = wSock.readString();
                    break;
            }
        }
Beispiel #27
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     Gamemode = wSock.readByte();
     Dimension = wSock.readSByte();
     Difficulty = wSock.readByte();
     MaxPlayers = wSock.readByte();
     LevelType = wSock.readString();
 }
Beispiel #28
0
 public void Read(Wrapped wSock) {
     Target = wSock.readInt();
     Mouse = wSock.readSByte();
 }
Beispiel #29
0
        public void Read(Wrapped wSock) {
            EntityID = wSock.readVarInt();
            PlayerUUID = wSock.readString();
            PlayerName = wSock.readString();
            Datacount = wSock.readVarInt();
            Data = new PlayerData[Datacount];

            for (int i = 0; i < Datacount; i++) {
                Data[i].Name = wSock.readString();
                Data[i].Value = wSock.readString();
                Data[i].Signature = wSock.readString();
            }

            X = wSock.readInt();
            Y = wSock.readInt();
            Z = wSock.readInt();
            Yaw = wSock.readSByte();
            Pitch = wSock.readSByte();
            CurrentItem = wSock.readShort();
            Metadata = WrappedExtension.ReadEntityMetadata(wSock);
        }
Beispiel #30
0
 public void Read(Wrapped wSock) {
     EntityID = wSock.readInt();
     DX = wSock.readSByte();
     DY = wSock.readSByte();
     DZ = wSock.readSByte();
 }