public static void OnPayMeForCurrencyResultSingleTrap(object result, object cookie) { SmartEntity selectedBuilding = Service.BuildingController.SelectedBuilding; if (GameUtils.HandleSoftCurrencyFlow(result, cookie)) { TrapUtils.RearmSingleTrap(selectedBuilding); } }
public unsafe static long $Invoke8(long instance, long *args) { TrapUtils.RearmSingleTrap((Entity)GCHandledObjects.GCHandleToObject(*args)); return(-1L); }