[][src]Module genie_rec::actions

Player actions executed during a game.

Structs

AIOrderCommand
AddResourceCommand

Add resources to a player's stockpile.

AttackGroundCommand

Task an object to attack ground.

BackToWorkCommand

Send villagers back to work after they've been garrisoned into the Town Center.

BuildCommand

Place a building foundation and task a group of villagers to start building.

BuildWallCommand

Task a group of villagers to build a wall from point A to point B.

BuyResourceCommand

Buy a resource at the market.

CancelBuildCommand

Delete a building or cancel a building that's not fully built yet.

Chat

A chat message sent during the game.

CreateCommand

A command that instantly places a unit type at a given location.

FlareCommand

Send a flare at the given location.

FollowCommand

Task units to follow an object.

FormFormationCommand

Task a group of objects to form a formation.

GroupWaypointCommand
GuardCommand

Task units to guard an object.

MakeCommand
Meta

Action at the start of the game, contains settings affecting the rec format.

MoveCommand

Task an object to move.

OrderCommand

Task an object to a target object or a target location.

PatrolCommand

Task a group of objects to patrol along a given path.

QueueCommand
RepairCommand

Task units to repair an object.

ResearchCommand

Start a research.

ResignCommand

A player resigns or drops from the game.

SellResourceCommand

Sell a resource at the market.

SetGatherPointCommand
StopCommand

Task objects to stop.

Sync
UngarrisonCommand

Ungarrison objects from a given list of objects.

UnitAIStateCommand

Set a group of objects's "AI State" (usually known as "stance").

UnitOrderCommand
Unknown7FCommand
UserPatchAICommand

Meta-command for UserPatch's new AI commands.

ViewLock

A viewpoint update, recording where the player is currently looking.

WorkCommand

Task an object to work.

Enums

Action

An action: TODO

Command
GameCommand

Commands affecting the game.

ObjectsList

A list of objects that a command applies to.

Type Definitions

Location2

A location with an X and Y coordinate.

Location3

A location with an X, Y, and Z coordinate.