typical user actions - StepanoidTeam/powerGrid GitHub Wiki
++ sample:
StationAucPhaseController
ResourceByingPhaseController
ChatController //dostupen vsegda - SendMessage()
TransferResourcesBetweenStations //доступен всегда - transferResources(from, to, [{type, count},…])
-
stations buying
-
selectStation() /auc/selectStation
-
passCurrentTrade() /auc/trade/pass
-
raiseBid() /auc/trade/raise
-
DeleteStation() //удалить лишнюю станцию при покупке новой
-
Done() /auc/leave?
-
-
Resource buying
-
buyResources({coal: 4, wood: 4, stone: 2})
-
Done()//leave Market
-
-
Building Towns
-
buyTown(townId) //getMap returns all calculated prices each time
-
Done() /building/end
-
-
Bureaucracy // очередность не важна (как в чате)?
-
SelectStationsToBurn([stationId,])
-
Done() //чтобы топить по-чуть-чуть ++
-