coastline 0.0.4
Loading...
Searching...
No Matches
coastline::Script Struct Reference

The input and the captures of a script of run-script. More...

#include <runscript.h>

Collaboration diagram for coastline::Script:

Public Attributes

bool autopilot = false
int screenshotEvery = 0
std::vector< ScriptPress > presses
std::vector< ScriptMouse > mouseMoves
std::vector< ScriptKey > keys
std::vector< ScriptTyping > typing
std::vector< int > screenshots
std::optional< int > quitFrame

Detailed Description

The input and the captures of a script of run-script.

Member Data Documentation

◆ autopilot

bool coastline::Script::autopilot = false

Whether the computer drives the first player.

◆ screenshotEvery

int coastline::Script::screenshotEvery = 0

Save every this many frames, or 0 for none.

◆ presses

std::vector<ScriptPress> coastline::Script::presses

The presses of controller buttons.

◆ mouseMoves

std::vector<ScriptMouse> coastline::Script::mouseMoves

The moves of the mouse.

◆ keys

std::vector<ScriptKey> coastline::Script::keys

The presses of keys.

◆ typing

std::vector<ScriptTyping> coastline::Script::typing

The typings.

◆ screenshots

std::vector<int> coastline::Script::screenshots

The frames saved.

◆ quitFrame

std::optional<int> coastline::Script::quitFrame

The frame the game exits after, the earliest.


The documentation for this struct was generated from the following file: