Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseDelta

The base shape all deltas implement.

Hierarchy

Index

Properties

Properties

Optional data

data: undefined | object

Meta data about why the delta occurred, such as data sent to the server from a game client.

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: string

The type of delta, or reason it occurred.

Generated using TypeDoc