本文整理汇总了C#中ServerMessage.AppendRawString方法的典型用法代码示例。如果您正苦于以下问题:C# ServerMessage.AppendRawString方法的具体用法?C# ServerMessage.AppendRawString怎么用?C# ServerMessage.AppendRawString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ServerMessage
的用法示例。
在下文中一共展示了ServerMessage.AppendRawString方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Compose
public static ServerMessage Compose(List<RoomActor> Actors)
{
ServerMessage Message = new ServerMessage(OpcodesOut.ROOM_USER_STATUS_LIST);
Message.AppendInt32(Actors.Count);
foreach (RoomActor Actor in Actors)
{
// a|rBPCRB0.0JJ//
Message.AppendUInt32(Actor.Id);
Message.AppendInt32(Actor.Position.X);
Message.AppendInt32(Actor.Position.Y);
Message.AppendRawDouble(Actor.Position.Z);
Message.AppendInt32(Actor.HeadRotation);
Message.AppendInt32(Actor.BodyRotation);
Message.AppendRawString("/");
foreach (KeyValuePair<string, string> Status in Actor.UserStatusses)
{
Message.AppendRawString(Status.Key + ' ' + Status.Value + '/');
}
Message.AppendStringWithBreak("/");
}
return Message;
}
示例2: Compose
public static ServerMessage Compose()
{
// com.sulake.habbo.communication.messages.incoming.friendlist.EventStreamEvent;
ServerMessage Message = new ServerMessage(OpcodesOut.GET_STREAM_EVENT);
Message.AppendRawString("SBsMlUtBH31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifYIDQAHI36954090.:DarkSaske:.s{`UtBH31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifYIDQAHI45789055..S3phiroth..ifqR}H31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifZvOQAHI45485689.Scissionistaj^Y`{H31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifY|OQAHI31837771.:ketti94:.klJ`{H31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifY|OQAHI45746957Sparvierej^}_{H31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifY|OQAHI41683680-.:TheRed:.-hI|O{H31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifX}OQAHI33319042.:Habbina94:.tLxTqBJ31266408pquadro20mhttp://www.habbo.com/habbo-imaging/badge/ACH_SummerQuestCompleted100ef9b85a9ef6131096c94669a04cdea1.png[r[KHIACH_SummerQuestCompleted10twLkBH31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifZr[QAHI36814141GoofyllllltvLkBH31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifZr[QAHI29206050ricky94ctwMGMkBH31266408pquadro20mhttp://www.habbo.com/habbo-imaging/avatar/hd-195-27.ch-215-62.lg-275-62.sh-295-62.ha-1004-62,s-2.g-0.d-2.h-2.a-0,04e3deb736d1e0067d943163b8a333c2.gifZr[QAHI31329620,HiPNOTiiiC");
return Message;
}