Exemple #1
0
        public static void OnPayMeForCurrencyResultSingleTrap(object result, object cookie)
        {
            SmartEntity selectedBuilding = Service.BuildingController.SelectedBuilding;

            if (GameUtils.HandleSoftCurrencyFlow(result, cookie))
            {
                TrapUtils.RearmSingleTrap(selectedBuilding);
            }
        }
Exemple #2
0
 public unsafe static long $Invoke8(long instance, long *args)
 {
     TrapUtils.RearmSingleTrap((Entity)GCHandledObjects.GCHandleToObject(*args));
     return(-1L);
 }