GameGreatPeople:GetPatronizeCost

this function is a member of GameGreatPeople this method expects an implicit “self” argument. invoke it with :


Usage

UIScriptReturnsFunctionArguments
GameGreatPeople:GetPatronizeCostPlayerID [number]
IndividualID [number]
YieldType [number]

Notes

YieldType [number] corresponds to an entry in the YieldTypes global table, NOT the Index of the yield in the game database.

For instance, see this code sample:

pGreatPeople:GetPatronizeCost(displayPlayerID, entry.Individual, YieldTypes.GOLD)