Module rust_sc2::game_state[][src]

Information updated every step stored here.

Structs

AvailableAbility
ChatMessage

Messege in game chat.

Common

Common information of player.

Effect

There are different effects in SC2, some of them can harm your units, so take them into account then microing.

GameState

Information about current state on current step.

Observation

Bot's observation stored here. Can be accessed through state.observation.

PsionicMatrix

Power matrix from the pylon or warp prism, used to give power to buildings and warp units on it.

Radar

Radar point on the map.

RawData

Bot's observation stored here. Can be accessed through state.observation.raw.

Enums

Alert

Different kinds of alert that can happen. All alerts stored in state.observation.alerts.

Alliance

The alliance of unit or effect to your bot.