Cauldron2D.GameMaker.Script (Cauldron2D.GameMaker v0.2.1)

Copy Markdown View Source

A script (a SCPT entry): a name and the code entry it runs, nil for none. constructor marks a GameMaker 2.3 function declared as a constructor. A game compiled to native code keeps a script's code in its executable as the function gml_Script_<name>.

Summary

Functions

The script at at.

Types

t()

@type t() :: %Cauldron2D.GameMaker.Script{
  code: non_neg_integer() | nil,
  constructor: boolean(),
  name: String.t()
}

Functions

read(data, at)

@spec read(binary(), non_neg_integer()) :: t()

The script at at.