public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write((Byte)EntityIDs.Length);
            stream.Write(EntityIDs, false);

            return(this);
        }
Пример #2
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Player);
            stream.Write(Message);

            return this;
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(CollectedEntityID);
            stream.Write(CollectorEntityID);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(CrashLogFilename);
            stream.Write(CrashLogFile);

            return this;
        }
Пример #5
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(EntityID);
            stream.Write(Metadata);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Position);
            stream.Write(ScoreName);

            return(this);
        }
Пример #7
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(DestinationId);
            writer.Write(MonsterData);

            return this;
        }
        public override PluginMessageSubPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(DimensionID);
            stream.Write(ProviderID);

            return(this);
        }
Пример #9
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(TileSets);
            writer.Write(Images);

            return this;
        }
Пример #10
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(PublicKey);
            stream.Write(VerificationToken);

            return this;
        }
Пример #11
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(AgeOfTheWorld);
            stream.Write(TimeOfDay);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(UUID);
            stream.Write(Username);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Target);
            stream.Write(Mouse);

            return(this);
        }
Пример #14
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Slot);
            stream.Write(ClickedItem);

            return(this);
        }
Пример #15
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Reason);
            stream.Write(Value);

            return(this);
        }
Пример #16
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(PlayerIds);
            writer.Write(Message);

            return this;
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(WindowID);
            stream.Write(SlotData);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(EntityID);
            stream.Write(Animation);

            return(this);
        }
Пример #19
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(WindowID);
            stream.Write(Enchantment);

            return(this);
        }
Пример #20
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Yaw);
            stream.Write(Pitch);
            stream.Write(OnGround);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(PlayerName);
            stream.Write(Online);
            stream.Write(Ping);

            return(this);
        }
Пример #22
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(ObjectiveName);
            stream.Write(ObjectiveValue);
            stream.Write(CreateRemove);

            return(this);
        }
Пример #23
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Flags);
            stream.Write(FlyingSpeed);
            stream.Write(WalkingSpeed);

            return(this);
        }
Пример #24
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(X);
            stream.Write(Y);
            stream.Write(Z);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(WindowID);
            stream.Write(ActionNumber);
            stream.Write(Accepted);

            return(this);
        }
Пример #26
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(EntityID);
            stream.Write(ActionID);
            stream.Write(JumpBoost);

            return(this);
        }
Пример #27
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(ExperienceBar);
            stream.Write(Level);
            stream.Write(TotalExperience);

            return(this);
        }
Пример #28
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(EntityID);
            stream.Write(VehicleID);
            stream.Write(Leash);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Health);
            stream.Write(Food);
            stream.Write(FoodSaturation);

            return(this);
        }
Пример #30
0
 public override ProtobufPacket WritePacket(ProtobufStream writer)
 {
     writer.Write(Message);
     writer.Write(Type);
     Battle.ToStream(writer);
     
     return this;
 }
Пример #31
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(WindowID);
            stream.Write(Property);
            stream.Write(Value);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Channel);
            stream.Write((Int16)Data.Length);
            stream.Write(Data, false);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write((Int16)SharedSecret.Length);
            stream.Write(SharedSecret, false);
            stream.Write((Int16)VerifyToken.Length);
            stream.Write(VerifyToken, false);

            return(this);
        }
Пример #34
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(Time);
            writer.Write(Season);
            writer.Write(Weather);
            writer.Write(Event);

            return this;
        }
Пример #35
0
        public override PluginMessageSubPacket WritePacket(ProtobufStream stream)
        {
            base.WritePacket(stream);
            stream.Write(ServerX);
            stream.Write(ServerY);
            stream.Write(ServerZ);

            return(this);
        }
Пример #36
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(ItemName);
            stream.Write(UpdateRemove);
            stream.Write(ScoreName);
            stream.Write(Value);

            return(this);
        }
Пример #37
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(EntityID);
            stream.Write(DX);
            stream.Write(DY);
            stream.Write(DZ);

            return(this);
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Dimension);
            stream.Write(Difficulty);
            stream.Write(GameMode);
            stream.Write(LevelType);

            return(this);
        }
Пример #39
0
        public IBattleInfo ToStream(ProtobufStream writer)
        {
            writer.Write(Opponent_0);
            writer.Write(Opponent_1);
            writer.Write(Opponent_2);
            writer.Write(Opponent_3);
            writer.Write(Opponent_4);
            writer.Write(Opponent_5);

            return this;
        }
Пример #40
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(PlayerId);
            writer.Write(TrainerSprite);
            writer.Write(Name);

            writer.Write(TrainerId);
            writer.Write(Gender);

            writer.Write(MonsterTeam);

            return this;
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write((byte) AuthorizationStatus);

            return this;
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(PlayerDatabases);

            return this;
        }
Пример #43
0
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(Name);

            return this;
        }
        public override ProtobufPacket WritePacket(ProtobufStream stream)
        {
            stream.Write(PasswordHash);

            return this;
        }
Пример #45
0
        public override ProtobufPacket WritePacket(ProtobufStream writer)
        {
            writer.Write(Info);

            return this;
        }