LPlate2
Warlord
- Joined
- Dec 27, 2018
- Messages
- 299
Hi,
So, I've managed to begin some DLL modding; adjusting parameters and creating new usable xml entries.
I've a query, which hopefully has a really simple answer. I wish to determine the team associated with a given player within c++. Specifically, I'm interested in what techs they have researched.
Within CvCity::init in CvCity.cpp, I want be able to see what techs the owners of a city have. How do I relate the owner back to the team and its tech in c++?
In CvCity::init, it uses getOwnerINLINE().
thanks
So, I've managed to begin some DLL modding; adjusting parameters and creating new usable xml entries.
I've a query, which hopefully has a really simple answer. I wish to determine the team associated with a given player within c++. Specifically, I'm interested in what techs they have researched.
Within CvCity::init in CvCity.cpp, I want be able to see what techs the owners of a city have. How do I relate the owner back to the team and its tech in c++?
In CvCity::init, it uses getOwnerINLINE().
thanks