Complete Python Functions List

Some functions like isWorldWonderClass and isNationalWonderClass aren't stated anywhere though
 
That SourceForge page is mentioned in the Modiki.

As mentioned by platyping, there are a bunch of Civ4 DLL functions which are not in that list. They are set up for Python access in the CyGameCoreUtilsInterface.cpp file and actually defined in the CyGameCoreUtils.cpp/.h files. I'm not sure that this represents all of the available functions not mentioned on that page, but it should be at least most of them.
 
There are some errors I discover while using the API, so I guess might as well share with you guys.

Code:
CyGTabCtrl
addSectionDropdown(STRING szItems, STRING szPythonCBModule, STRING szPythonCBFxn, STRING szPythonID, INT iTabIndex, INT iInitialSelection)
addSectionDropdown([COLOR="Purple"]STRING szLabel,[/COLOR] STRING szItems, STRING szPythonCBModule, STRING szPythonCBFxn, STRING szPythonID, INT iTabIndex, INT iInitialSelection)

CyPlayer
[COLOR="Yellow"]BOOL[/COLOR] pushResearch(TechType iIndex, BOOL bClear)
[COLOR="lime"][COLOR="Blue"]VOID[/COLOR][/COLOR] pushResearch(TechType iIndex, BOOL bClear)

CyInterface
getSelectionUnit()
getSelectionUnit([COLOR="Red"]INT[/COLOR] iIndex)

CyUnit
[COLOR="Yellow"]BOOL[/COLOR] jumpToNearestValidPlot()
[COLOR="lime"][COLOR="Blue"]VOID[/COLOR][/COLOR] jumpToNearestValidPlot()
 
Top Bottom