当前位置: 首页>>代码示例>>C#>>正文


C# RoomItem.method_0方法代码示例

本文整理汇总了C#中GoldTree.HabboHotel.Items.RoomItem.method_0方法的典型用法代码示例。如果您正苦于以下问题:C# RoomItem.method_0方法的具体用法?C# RoomItem.method_0怎么用?C# RoomItem.method_0使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在GoldTree.HabboHotel.Items.RoomItem的用法示例。


在下文中一共展示了RoomItem.method_0方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: method_81

 public bool method_81(RoomItem RoomItem_0, int int_17, int int_18, double double_3)
 {
     Dictionary<int, AffectedTile> dictionary = this.method_94(RoomItem_0.GetBaseItem().Length, RoomItem_0.GetBaseItem().Width, int_17, int_18, RoomItem_0.int_3);
     RoomItem_0.method_0(int_17, int_18, double_3);
     if (!this.hashtable_2.Contains(RoomItem_0.uint_0))
     {
         this.hashtable_2.Add(RoomItem_0.uint_0, RoomItem_0);
     }
     this.method_22();
     this.method_87(this.method_43(int_17, int_18), true, true);
     foreach (AffectedTile current in dictionary.Values)
     {
         this.method_87(this.method_43(current.Int32_0, current.Int32_1), true, true);
     }
     return true;
 }
开发者ID:vaguinhogato,项目名称:Gold-Tree-Emulator,代码行数:16,代码来源:Room.cs

示例2: method_79


//.........这里部分代码省略.........
                }
                if (num2 > 0)
                {
                    this.method_89(num2, RoomItem_0, false);
                }
                if (!RoomItem_0.Boolean_0)
                {
                    if (RoomItem_0.int_3 != int_19 && RoomItem_0.Int32_0 == int_17 && RoomItem_0.Int32_1 == int_18)
                    {
                        num = RoomItem_0.Double_0;
                    }
                    foreach (RoomItem current2 in list3)
                    {
                        if (current2.uint_0 != RoomItem_0.uint_0 && current2.Double_1 > num)
                        {
                            num = current2.Double_1;
                        }
                    }
                }
                if (int_19 != 0 && int_19 != 2 && int_19 != 4 && int_19 != 6 && int_19 != 8)
                {
                    int_19 = 0;
                }
                Dictionary<int, AffectedTile> dictionary2 = new Dictionary<int, AffectedTile>();
                dictionary2 = this.method_94(RoomItem_0.GetBaseItem().Length, RoomItem_0.GetBaseItem().Width, RoomItem_0.Int32_0, RoomItem_0.Int32_1, RoomItem_0.int_3);
                int num3 = 0;
                int num4 = 0;
                if (!bool_13)
                {
                    num3 = RoomItem_0.Int32_0;
                    num4 = RoomItem_0.Int32_1;
                }
                RoomItem_0.int_3 = int_19;
                RoomItem_0.method_0(int_17, int_18, num);
                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);
                    }
开发者ID:vaguinhogato,项目名称:Gold-Tree-Emulator,代码行数:67,代码来源:Room.cs


注:本文中的GoldTree.HabboHotel.Items.RoomItem.method_0方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。