protected override void Compile() { InternalOutgoingMessage.Initialize(257) .AppendInt32(A) .AppendInt32(B) .AppendInt32(C) .AppendInt32(D) .AppendInt32(E) .AppendInt32(F) .AppendInt32(G) .AppendInt32(H) .AppendInt32(I) .AppendInt32(J) .AppendInt32(K) .AppendInt32(L) .AppendString(DateFormat) .AppendString(M) .AppendInt32(N) .AppendBoolean(O) .AppendInt32(P) .AppendString(URL) .AppendString(Q) .AppendInt32(R) .AppendBoolean(S); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(257) .AppendInt32(A) .AppendInt32(B) .AppendInt32(C) .AppendInt32(D) .AppendInt32(E) .AppendInt32(F) .AppendInt32(G) .AppendInt32(H) .AppendInt32(I) .AppendInt32(J) .AppendInt32(K) .AppendInt32(L) .AppendString(DateFormat) .AppendString(M) .AppendInt32(N) .AppendBoolean(O) .AppendInt32(P) .AppendString(URL) .AppendString(Q) .AppendInt32(R) .AppendBoolean(S); } target.SendMessage(InternalOutgoingMessage); return(this); }
protected override void Compile() { InternalOutgoingMessage.Initialize(2); foreach (string fuseRight in FuseRights) { InternalOutgoingMessage.AppendString(fuseRight); } }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.ID == 0) { InternalOutgoingMessage.Initialize(3); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.ID == 0) { InternalOutgoingMessage.Initialize(277) .AppendBoolean(UnknownA); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(6) .AppendString(Balance.ToString(CultureInfo.InvariantCulture)); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(287) .AppendInt32((int)Reason); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(308). AppendInt32(Volume); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.ID == 0) { InternalOutgoingMessage.Initialize(132) .AppendInt32(ID) .AppendString(Username) .AppendString(ID.ToString()); } target.SendMessage(InternalOutgoingMessage); return(this); }
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); }
protected override void Compile() { InternalOutgoingMessage.Initialize(5) .AppendString(ConnectionId.ToString(CultureInfo.InvariantCulture)) .AppendString(Username) .AppendString(Figure.ToString()) .AppendString(Figure.GenderChar.ToString(CultureInfo.InvariantCulture)) .AppendString(Motto) .AppendString(UnknownA) .AppendInt32(UnknownB) .AppendString(Figure.FormattedSwimFigure) .AppendInt32(UnknownC) .AppendInt32(UnknownD); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(7) .AppendString(SubscriptionName) .AppendInt32(CurrentDay) .AppendInt32(ElapsedMonths) .AppendInt32(PrepaidMonths) .AppendBoolean(IsActive); } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(2); InternalOutgoingMessage.AppendInt32(FuseRights.Count); foreach (string fuseRight in FuseRights) { InternalOutgoingMessage.AppendString(fuseRight); } } target.SendMessage(InternalOutgoingMessage); return(this); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(12) .AppendInt32(UnknownA) .AppendInt32(UnknownB) .AppendInt32(UnknownC) .AppendInt32(Categories.Count()); // -1 because the default category doesn't count int friendCount = 0; foreach (MessengerCategory category in Categories) { InternalOutgoingMessage .AppendInt32(category.Id) .AppendString(category.Name); friendCount += category.Friends.Count(); } InternalOutgoingMessage.AppendInt32(friendCount); foreach (MessengerCategory category in Categories) { foreach (IBefriendable befriendable in category.Friends) { InternalOutgoingMessage .AppendInt32(befriendable.Id) .AppendString(befriendable.DisplayName) .AppendBoolean(true) // TODO: Find out what this does. .AppendBoolean(befriendable.LoggedIn) .AppendBoolean(befriendable.Stalkable) .AppendString(befriendable.Figure.ToString()) .AppendInt32(category.Id) .AppendString(befriendable.Motto) .AppendString(befriendable.LastAccess.ToString(CultureInfo.InvariantCulture)); } } InternalOutgoingMessage .AppendInt32(MaximumFriends) .AppendBoolean(false); // TODO: Find out what this does. } target.SendMessage(InternalOutgoingMessage); return(this); }
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); }
public override OutgoingMessage Send(IMessageable target) { if (InternalOutgoingMessage.Id == 0) { InternalOutgoingMessage.Initialize(229) .AppendInt32(AllBadges.Count); foreach (string badge in AllBadges) { InternalOutgoingMessage .AppendString(badge); } foreach (KeyValuePair <BadgeSlot, string> slotBadge in BadgeSlots) { InternalOutgoingMessage .AppendInt32((int)slotBadge.Key) .AppendString(slotBadge.Value); } } target.SendMessage(InternalOutgoingMessage); return(this); }
protected override void Compile() { InternalOutgoingMessage.Initialize(287) .AppendInt32((int)Reason); }
protected override void Compile() { InternalOutgoingMessage.Initialize(0); }
protected override void Compile() { InternalOutgoingMessage.Initialize(163) .AppendString(Date.ToShortDateString()); }
protected override void Compile() { InternalOutgoingMessage.Initialize(6) .AppendString(Balance.ToString(CultureInfo.InvariantCulture)); }
protected override void Compile() { InternalOutgoingMessage.Initialize(277) .AppendBoolean(UnknownA); }
protected override void Compile() { InternalOutgoingMessage.Initialize(308) .AppendInt32(Volume); }
protected override void Compile() { InternalOutgoingMessage.Initialize(1) .AppendString(Key); }