Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OrderDelta

Data about a player being ordered to do something.

NOTE: this means an order was sent, not finished.

Hierarchy

Index

Properties

Properties

data

data: { order: OrderEvent["data"]; player: GameObjectReference }

Data about why the order occurred.

Type declaration

  • order: OrderEvent["data"]

    The order data they were sent.

  • player: GameObjectReference

    The player that was ordered.

game

game: Partial<BaseGame & UnknownObject>

The state of the game, but ONLY changed keys.

A game delta is probably the most complex part of understanding communication in the cadre framework. Refer to these docs for more help: https://github.com/siggame/Cadre/blob/master/gamelog-format.md#deltas.

type

type: "order"

The type of delta, or reason it occurred.

Generated using TypeDoc