Lua API
On this page

GameMoveData

Inherits from

Set of information related to a chess game move

Fields:

PieceToMove number

ID of piece being moved

PlayerId number

Player making the move

Team number

Team making this move

Type number

Type of move

XTo number

x position to move the piece

YTo number

y position to move the piece

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string