Пример #1
0
 public static void UpdateBrushesPublic(this Widget widget, float dt)
 {
     try
     {
         GenericHelpers.GetPrivateMethod <Widget>("UpdateBrushes", widget)?.Invoke(widget, new object[] { dt });
     }
     catch (Exception ex)
     {
         GenericHelpers.LogException("UpdateBrushesPublic", ex);
     }
 }
Пример #2
0
 public static MethodInfo GetInitializeTroopListsMethod(this PartyVM partyVM)
 {
     return(GenericHelpers.GetPrivateMethod("InitializeTroopLists", partyVM));
 }
Пример #3
0
 public static MethodInfo GetRefreshPartyInformationMethod(this PartyVM partyVM)
 {
     return(GenericHelpers.GetPrivateMethod("RefreshPartyInformation", partyVM));
 }