예제 #1
0
 protected override void Compile()
 {
     InternalOutgoingMessage.Initialize(5)
     .AppendString(HabboId.ToString(CultureInfo.InvariantCulture))
     .AppendString(Username)     // TODO: Should this be display name?
     .AppendString(Figure.ToString())
     .AppendString(Figure.GenderChar.ToString(CultureInfo.InvariantCulture))
     .AppendString(Motto)
     .AppendString(UnknownA)
     .AppendInt32(12)     // TODO: Find out what this does.
     .AppendString(Figure.FormattedSwimFigure)
     .AppendBoolean(false)
     .AppendBoolean(true);
 }
예제 #2
0
파일: MHabboData.cs 프로젝트: habb0/Bluedot
        public override OutgoingMessage Send(IMessageable target)
        {
            if (InternalOutgoingMessage.Id == 0)
            {
                InternalOutgoingMessage.Initialize(5)
                .AppendString(HabboId.ToString(CultureInfo.InvariantCulture))
                .AppendString(Username)     // TODO: Should this be display name?
                .AppendString(Figure.ToString())
                .AppendString(Figure.GenderChar.ToString(CultureInfo.InvariantCulture))
                .AppendString(Motto)
                .AppendString(UnknownA)
                .AppendInt32(12)     // TODO: Find out what this does.
                .AppendString(Figure.FormattedSwimFigure)
                .AppendBoolean(false)
                .AppendBoolean(true);
            }

            target.SendMessage(InternalOutgoingMessage);
            return(this);
        }