Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ActionInfo

Interface representing one pending player action, which should be performed. There can be only one pending action per user at a time.

Hierarchy

Properties

address

address: string

Address of originator of this action

duration

duration: number

Number of blocks after which the action can be performed

Optional item

item: string | undefined

Item, which is used for boosting this action

Optional location

location: XY

Location relevant for the action of type GOTO

nonce

nonce: string

Randomly generated number, used for action obfuscation

startBlock

startBlock: number

Block number when the action was commited in blockchain

Optional target

target: undefined | string

Address of player, who is target of action ATTACK

type

type: "GOTO" | "MINE" | "ATTACK"

Type of action

Generated using TypeDoc