本文整理汇总了C#中GoldTree.HabboHotel.Items.RoomItem.method_6方法的典型用法代码示例。如果您正苦于以下问题:C# RoomItem.method_6方法的具体用法?C# RoomItem.method_6怎么用?C# RoomItem.method_6使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GoldTree.HabboHotel.Items.RoomItem
的用法示例。
在下文中一共展示了RoomItem.method_6方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: method_82
public bool method_82(GameClient Session, RoomItem RoomItem_0, bool bool_13, string string_10)
{
if (bool_13)
{
RoomItem_0.Class69_0.OnPlace(Session, RoomItem_0);
string text = RoomItem_0.GetBaseItem().InteractionType.ToLower();
if (text != null && text == "dimmer" && this.class67_0 == null)
{
this.class67_0 = new MoodlightData(RoomItem_0.uint_0);
RoomItem_0.ExtraData = this.class67_0.method_7();
}
if (!this.hashtable_3.ContainsKey(RoomItem_0.uint_0))
{
this.hashtable_3.Add(RoomItem_0.uint_0, RoomItem_0);
if (RoomItem_0.Boolean_2)
{
this.hashtable_0.Add(RoomItem_0.uint_0, RoomItem_0);
}
else
{
if (!this.hashtable_4.Contains(RoomItem_0.uint_0))
{
this.hashtable_4.Add(RoomItem_0.uint_0, RoomItem_0);
}
}
}
ServerMessage Message5_ = new ServerMessage(83u);
RoomItem_0.method_6(Message5_);
this.SendMessage(Message5_, null);
}
else
{
if (!this.hashtable_2.Contains(RoomItem_0.uint_0))
{
this.hashtable_2.Add(RoomItem_0.uint_0, RoomItem_0);
}
}
if (!bool_13)
{
RoomItem_0.string_7 = string_10;
ServerMessage Message5_ = new ServerMessage(85u);
RoomItem_0.method_6(Message5_);
this.SendMessage(Message5_, null);
}
return true;
}
示例2: method_79
//.........这里部分代码省略.........
if (!bool_14 && Session != null)
{
RoomItem_0.Class69_0.OnPlace(Session, RoomItem_0);
}
if (bool_13)
{
if (this.hashtable_1.Contains(RoomItem_0.uint_0))
{
this.hashtable_1.Remove(RoomItem_0.uint_0);
}
if (this.hashtable_3.Contains(RoomItem_0.uint_0))
{
result = false;
return result;
}
this.hashtable_3.Add(RoomItem_0.uint_0, RoomItem_0);
if (RoomItem_0.Boolean_2)
{
if (this.hashtable_0.Contains(RoomItem_0.uint_0))
{
this.hashtable_0.Remove(RoomItem_0.uint_0);
}
this.hashtable_0.Add(RoomItem_0.uint_0, RoomItem_0);
}
else
{
if (this.hashtable_4.Contains(RoomItem_0.uint_0))
{
this.hashtable_4.Remove(RoomItem_0.uint_0);
}
this.hashtable_4.Add(RoomItem_0.uint_0, RoomItem_0);
}
ServerMessage Message5_ = new ServerMessage(93u);
RoomItem_0.method_6(Message5_);
this.SendMessage(Message5_, null);
string text = RoomItem_0.GetBaseItem().InteractionType.ToLower();
switch (text)
{
case "bb_patch":
this.list_5.Add(RoomItem_0);
if (RoomItem_0.ExtraData == "5")
{
this.list_6.Add(RoomItem_0);
}
else
{
if (RoomItem_0.ExtraData == "8")
{
this.list_7.Add(RoomItem_0);
}
else
{
if (RoomItem_0.ExtraData == "11")
{
this.list_9.Add(RoomItem_0);
}
else
{
if (RoomItem_0.ExtraData == "14")
{
this.list_8.Add(RoomItem_0);
}
}
}
}
break;