Page 1 of 1

[C++] Access Economy params

Posted: 03 Apr 2015, 22:16
by lamer
AI's interface provides access to economy parameters with Economy::GetCurrent, ::GetIncome, ::GetUsage and ::GetStorage.
Lua's interface has access to more params like Pull, Share, Sent, Recieved, Excess. If no one objects i'll add those params to C interface (although i have no idea what's Pull and Share).
At the moment i want to use only Recieved, but i can't see any reason to hide others from AI.

Edit: Done