Example #1
0
        public float GetContractCostMultiplier(BuildingTypeVO buildingVO)
        {
            List <string> playerActivePerkEffectIds = this.GetPlayerActivePerkEffectIds();

            return(ContractCostPerkUtils.GetDiscountedCostMultiplier(buildingVO, playerActivePerkEffectIds));
        }
Example #2
0
        public float GetContractCostMultiplierForPerks(BuildingTypeVO buildingVO, List <string> perkIds)
        {
            List <string> perkEffectIds = this.GetPerkEffectIds(perkIds);

            return(ContractCostPerkUtils.GetDiscountedCostMultiplier(buildingVO, perkEffectIds));
        }
Example #3
0
 public unsafe static long $Invoke1(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(ContractCostPerkUtils.GetDiscountedCostMultiplier((BuildingTypeVO)GCHandledObjects.GCHandleToObject(*args), (List <string>)GCHandledObjects.GCHandleToObject(args[1]))));
 }