Exemple #1
0
        internal override void Serialize(Messages.ServerMessage Message)
        {
            base.Serialize(Message);

            Message.AppendInt32(Type); // subType
            Message.AppendInt32(OwnerID); // userid
            Message.AppendString(OwnerName); // username
            Message.AppendInt32(RarityLevel); // raritylevel

            Message.AppendBoolean(HaveSaddle);
            Message.AppendBoolean(IsMounted);

            Message.AppendBoolean(false); // can breed?
            Message.AppendBoolean(false);
            Message.AppendBoolean(false);
            Message.AppendBoolean(false); // something with breeding permissions

            Message.AppendInt32(0); // something to do with monster plants?
            Message.AppendString(""); // something to do with monster plants?
        }
Exemple #2
0
        internal override void Serialize(Messages.ServerMessage Message)
        {
            base.Serialize(Message);

            Habbo User = Client.GetHabbo();
            Message.AppendString(User.Gender.ToLower());

            Message.AppendInt32(0); // group ID
            Message.AppendInt32(0); // Looks like unused
            Message.AppendString(""); // groupName

            Message.AppendString(""); // botFigure
            Message.AppendInt32(User.AchievementPoints);
        }
Exemple #3
0
 public void AppendToMessage(Messages.ServerMessage message)
 {
     message.AppendString(Data.Key);
     message.AppendInt32(Data.Value);
 }
 internal override void Serialize(Messages.ServerMessage Message)
 {
     base.Serialize(Message);
     Message.AppendString(Gender.ToString());
     Message.AppendInt32(TimeLeft);
 }