コード例 #1
0
        public async Task <object> callPersistenceMessaging(SimpleDialogMessageResponse response)
        {
            int Id = Invoke("clientFacadeService", (object)"callPersistenceMessaging", (object)new object[1]
            {
                (object)response.GetBaseTypedObject()
            });

            while (!results.ContainsKey(Id))
            {
                await Task.Delay(10);
            }
            results.Remove(Id);
            return((object)null);
        }
コード例 #2
0
ファイル: Tools.cs プロジェクト: berkerbey/HesaElobuddy
 public static Task <object> callPersistenceMessaging(this LoLClient lolClient, SimpleDialogMessageResponse response)
 {
     return(lolClient.InvokeAsync <object>("clientFacadeService", "callPersistenceMessaging", new object[]
     {
         (SerializedNameAttribute)Attribute.GetCustomAttribute(response.GetType(), typeof(SerializedNameAttribute))
     }));
 }