jdog5000
Revolutionary
I'm trying to invoke the following CyPlayer function from Python, but running into issues:
void CyPlayer::revolution(int /*CivicTypes**/ paeNewCivics, bool bForce)
Where paeNewCivics is expected to be an array of number of civic options (govt, legal, etc) ... what can I pass to this function?
If I was writing the C++ side, I know how to accept a Python list as an arg (see here) but I can't figure out how to use the existing SDK function. When I pass a list, it errors saying it was expecting an int type for that arg. Ideas?
Thanks in advance.
void CyPlayer::revolution(int /*CivicTypes**/ paeNewCivics, bool bForce)
Where paeNewCivics is expected to be an array of number of civic options (govt, legal, etc) ... what can I pass to this function?
If I was writing the C++ side, I know how to accept a Python list as an arg (see here) but I can't figure out how to use the existing SDK function. When I pass a list, it errors saying it was expecting an int type for that arg. Ideas?
Thanks in advance.