Mock API for markets
-
Is it possible that we get an unimplemented Game.market api?
Obviously this api will be subjected to a lot of change. I'd like to prepare the markets.
A couple of mocked buy/sell orders in there would be amazing, it doesn't matter if it actually does anything.
I would like to get a feel for the way the API will be laid out, and how to call the methods.
-
We've published properties and methods signatures on the Market docs page. You can easily mock it with your own implementations if you wish.
-
Thanks artem! This is really usefull!
-
What variable will be used to store the credits you currently have? I'm now mocking it with Game.market.credits.