Beispiel #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);
        }
Beispiel #2
0
 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))
     }));
 }