本文整理汇总了C#中GoldTree.HabboHotel.GameClients.GameClient.method_10方法的典型用法代码示例。如果您正苦于以下问题:C# GameClient.method_10方法的具体用法?C# GameClient.method_10怎么用?C# GameClient.method_10使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GoldTree.HabboHotel.GameClients.GameClient
的用法示例。
在下文中一共展示了GameClient.method_10方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: smethod_5
//.........这里部分代码省略.........
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
case 44:
if (Session.GetHabbo().HasFuse("cmd_roommute"))
{
if (Session.GetHabbo().CurrentRoom.bool_4)
{
Session.GetHabbo().CurrentRoom.bool_4 = false;
}
else
{
Session.GetHabbo().CurrentRoom.bool_4 = true;
}
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
case 45:
if (Session.GetHabbo().HasFuse("cmd_sa"))
{
ServerMessage Logging = new ServerMessage(134u);
Logging.AppendUInt(0u);
Logging.AppendString(Session.GetHabbo().Username + ": " + Input.Substring(3));
GoldTree.GetGame().GetClientManager().method_16(Logging, Logging);
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
case 47:
if (Session.GetHabbo().HasFuse("cmd_setspeed"))
{
int.Parse(Params[1]);
Session.GetHabbo().CurrentRoom.method_102(int.Parse(Params[1]));
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
case 48:
if (Session.GetHabbo().HasFuse("cmd_shutdown"))
{
Logging.LogCriticalException("User " + Session.GetHabbo().Username + " shut down the server " + DateTime.Now.ToString());
Task task = new Task(new Action(GoldTree.smethod_18));
task.Start();
GoldTree.GetGame().GetClientManager().method_31(Session, Params[0].ToLower(), Input);
return true;
}
return false;
case 49:
if (Session.GetHabbo().HasFuse("cmd_spull"))
{
try
{
string a = "down";
string text = Params[1];
TargetClient = GoldTree.GetGame().GetClientManager().GetClientByHabbo(text);
class2 = GoldTree.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (Session == null || TargetClient == null)
{
return false;
}
RoomUser class6 = class2.GetRoomUserByHabbo(Session.GetHabbo().Id);
RoomUser class4 = class2.GetRoomUserByHabbo(TargetClient.GetHabbo().Id);
if (TargetClient.GetHabbo().Username == Session.GetHabbo().Username)
{
Session.GetHabbo().method_28("You cannot pull yourself");