screeps/docs

Missing Game.market.createOrder signature

Opened this issue · 0 comments

In-game console suggestion shows this function as:

function(string type, string resourceType, number price, number totalAmount, string roomName) -> number

API docs mention another signature where all arguments are packed into an object:

function(object params) -> number

It seems both can be used but first one is missing in docs.