示例#1
0
文件: Quests.cs 项目: dwiki08/grimli
 public bool CanComplete(int id)
 {
     return(Flash.Call <bool>("CanComplete", new string[]
     {
         id.ToString()
     }));
 }
示例#2
0
文件: Player.cs 项目: dwiki08/grimli
 public static void UseSkill(string index)
 {
     Flash.Call("UseSkill", new string[]
     {
         index
     });
 }
示例#3
0
文件: Player.cs 项目: dwiki08/grimli
 public static void GetMapItem(int id)
 {
     Flash.Call("GetMapItem", new string[]
     {
         id.ToString()
     });
 }
示例#4
0
文件: Player.cs 项目: dwiki08/grimli
 public static void Equip(int id)
 {
     Flash.Call("Equip", new string[]
     {
         id.ToString()
     });
 }
示例#5
0
文件: Player.cs 项目: dwiki08/grimli
 public static void UseBoost(string id)
 {
     Flash.Call("UseBoost", new string[]
     {
         id
     });
 }
示例#6
0
 // Token: 0x060002A0 RID: 672 RVA: 0x00012F1C File Offset: 0x0001111C
 public static void LoadHairShop(int id)
 {
     Flash.Call("LoadHairShop", new string[]
     {
         id.ToString()
     });
 }
示例#7
0
文件: Player.cs 项目: dwiki08/grimli
 public static void AttackMonster(string name)
 {
     Flash.Call("AttackMonster", new string[]
     {
         name
     });
 }
示例#8
0
文件: Bank.cs 项目: dwiki08/grimli
 // Token: 0x060001D3 RID: 467 RVA: 0x00012400 File Offset: 0x00010600
 public void TransferToBank(string itemName)
 {
     Flash.Call("TransferToBank", new string[]
     {
         itemName
     });
 }
示例#9
0
文件: Bank.cs 项目: dwiki08/grimli
 // Token: 0x060001D4 RID: 468 RVA: 0x00012416 File Offset: 0x00010616
 public void TransferFromBank(string itemName)
 {
     Flash.Call("TransferToInventory", new string[]
     {
         itemName
     });
 }
示例#10
0
文件: Quests.cs 项目: dwiki08/grimli
 public void Complete(int questId)
 {
     Flash.Call("Complete", new string[]
     {
         questId.ToString()
     });
 }
示例#11
0
文件: Quests.cs 项目: dwiki08/grimli
 public void Complete(string questId)
 {
     Flash.Call("Complete", new string[]
     {
         questId
     });
 }
示例#12
0
文件: Quests.cs 项目: dwiki08/grimli
 public void Accept(string questId)
 {
     Flash.Call("Accept", new string[]
     {
         questId
     });
 }
示例#13
0
文件: Quests.cs 项目: dwiki08/grimli
 public void Accept(int questId)
 {
     Flash.Call("Accept", new string[]
     {
         questId.ToString()
     });
 }
示例#14
0
文件: Quests.cs 项目: dwiki08/grimli
 public bool CanComplete(string id)
 {
     return(Flash.Call <bool>("CanComplete", new string[]
     {
         id
     }));
 }
示例#15
0
 // Token: 0x0600029E RID: 670 RVA: 0x00012EF0 File Offset: 0x000110F0
 public static void SellItem(string name)
 {
     Flash.Call("SellItem", new string[]
     {
         name
     });
 }
示例#16
0
 public void Accept()
 {
     Flash.Call("Accept", new string[]
     {
         this.Id.ToString()
     });
 }
示例#17
0
 // Token: 0x0600029F RID: 671 RVA: 0x00012F06 File Offset: 0x00011106
 public static void LoadHairShop(string id)
 {
     Flash.Call("LoadHairShop", new string[]
     {
         id
     });
 }
示例#18
0
 private static void SetLagKiller()
 {
     Flash.Call("SetLagKiller", new string[]
     {
         OptionsManager.LagKiller?bool.TrueString: bool.FalseString
     });
 }
示例#19
0
文件: Player.cs 项目: dwiki08/grimli
 public static int SkillAvailable(string index)
 {
     return(Flash.Call <int>("SkillAvailable", new string[]
     {
         index
     }));
 }
示例#20
0
 public static void SetWalkSpeed()
 {
     Flash.Call("SetWalkSpeed", new string[]
     {
         OptionsManager.WalkSpeed.ToString()
     });
 }
示例#21
0
文件: Player.cs 项目: dwiki08/grimli
 public static void Equip(string id)
 {
     Flash.Call("Equip", new string[]
     {
         id
     });
 }
示例#22
0
 public static bool IsActionAvailable(LockActions action)
 {
     return(Flash.Call <bool>("IsActionAvailable", new string[]
     {
         World.LockedActions[action]
     }));
 }
示例#23
0
文件: Player.cs 项目: dwiki08/grimli
 public static bool HasActiveBoost(string name)
 {
     return(Flash.Call <bool>("HasActiveBoost", new string[]
     {
         name
     }));
 }
示例#24
0
 public static bool IsMonsterAvailable(string name)
 {
     return(Flash.Call <bool>("IsMonsterAvailable", new string[]
     {
         name
     }));
 }
示例#25
0
文件: Player.cs 项目: dwiki08/grimli
 public static void UseBoost(int id)
 {
     Flash.Call("UseBoost", new string[]
     {
         id.ToString()
     });
 }
示例#26
0
        public void Handle(JsonMessage message)
        {
            Flash.Call("SetInfiniteRange", new string[0]);
            JToken jtoken  = message.DataObject["actions"];
            JToken jtoken2 = (jtoken != null) ? jtoken["passive"] : null;

            if (jtoken2 != null)
            {
                foreach (JToken jtoken3 in ((IEnumerable <JToken>)jtoken2))
                {
                    if (OptionsManager.InfiniteRange)
                    {
                        jtoken3["range"] = "200000";
                        //jtoken3["mp"] = "0";
                    }
                }
            }
            JToken jtoken4 = (jtoken != null) ? jtoken["active"] : null;

            if (jtoken4 != null)
            {
                foreach (JToken jtoken5 in ((IEnumerable <JToken>)jtoken4))
                {
                    if (OptionsManager.InfiniteRange)
                    {
                        jtoken5["range"]       = "200000";
                        jtoken5["forceResult"] = "crit";
                        //jtoken5["mp"] = "0";
                    }
                }
            }
        }
示例#27
0
文件: Player.cs 项目: dwiki08/grimli
 public static void GetMapItem(string id)
 {
     Flash.Call("GetMapItem", new string[]
     {
         id
     });
 }
示例#28
0
 // Token: 0x0600029B RID: 667 RVA: 0x00012EAC File Offset: 0x000110AC
 public static void BuyItem(string name)
 {
     Flash.Call("BuyItem", new string[]
     {
         name
     });
 }
示例#29
0
文件: Player.cs 项目: dwiki08/grimli
 public static void GoToPlayer(string name)
 {
     Flash.Call("GoTo", new string[]
     {
         name
     });
 }
示例#30
0
文件: Quests.cs 项目: dwiki08/grimli
 public bool IsInProgress(string id)
 {
     return(Flash.Call <bool>("IsInProgress", new string[]
     {
         id
     }));
 }