本文整理汇总了C#中global.PopWiredUInt方法的典型用法代码示例。如果您正苦于以下问题:C# global.PopWiredUInt方法的具体用法?C# global.PopWiredUInt怎么用?C# global.PopWiredUInt使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类global
的用法示例。
在下文中一共展示了global.PopWiredUInt方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Handle
public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event)
{
RoomUser Current = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Session.GetHabbo().Id);
RoomUser Target = Session.GetHabbo().CurrentRoom.GetRoomUserByHabbo(Event.PopWiredUInt());
if(Current != null && Target != null)
{
Current.Unidle();
Target.Unidle();
Target.CarryItem(Current.CarryItemID);
Current.CarryItem(0);
}
}
示例2: Handle
public void Handle(HabboHotel.GameClients.GameClient Session, global::Essential.Messages.ClientMessage Event)
{
if (!Session.GetHabbo().HasFuse("acc_supporttool"))
return;
uint num = Event.PopWiredUInt();
string text = Event.PopFixedString();
int num2 = Event.PopWiredInt32();
Console.WriteLine(num + " " + text + " " + num2);
string string_ = string.Concat(new object[]
{
"User: ",
num,
", Message: ",
text,
", Time: ",
num2
});
Essential.GetGame().GetModerationTool().MuteUser(Session, num, text, num2);
Essential.GetGame().GetClientManager().StoreCommand(Session, "ModTool - Mute User", string_);
}