GitHub Repository
Preparing search index...
The search index is not available
Chess Bots
Chess Bots
common/message/robot-message
SetRobotVariableMessage
Class SetRobotVariableMessage
Hierarchy
RobotMessage
SetRobotVariableMessage
Index
Constructors
constructor
Properties
id
type
variable
Name
variable
Value
Methods
to
Json
to
Obj
Constructors
constructor
new
Set
Robot
Variable
Message
(
id
:
string
, variableName
:
string
, variableValue
:
number
)
:
SetRobotVariableMessage
Parameters
id:
string
variableName:
string
variableValue:
number
Returns
SetRobotVariableMessage
Properties
Readonly
id
id
:
string
Protected
type
type
:
MessageType
= MessageType.SET_ROBOT_VARIABLE
Readonly
variable
Name
variable
Name
:
string
Readonly
variable
Value
variable
Value
:
number
Methods
to
Json
to
Json
(
)
:
string
Serializes the message as json.
Returns
string
Protected
to
Obj
to
Obj
(
)
:
object
Returns
object
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Chess
Bots
For
Contributors
Overview
Architecture
Writing
Tests
Resource
Library
ESP
Development
Overview
Setup
Structure
Packet
Format
Server
Development
Development
Structure
Setup
client/api
client/chessboard/board-
container
client/chessboard/board-
transform
client/chessboard/chessboard-
wrapper
client/chessboard/custom-
square-
context
client/chessboard/custom-
square-
renderer
client/chessboard/svg-
components
client/debug/debug
client/debug/drive-
robot
client/debug/drive-
slider
client/debug/select-
robot
client/debug/set-
robot-
variable
client/debug/simulator
client/game/draw-
dialog
client/game/game
client/game/game-
end-
dialog
client/game/navbar-
menu
client/home
client/main
client/puzzle/puzzle
client/router
client/setup/lobby
client/setup/setup
client/setup/setup-
base
client/setup/setup-
game
client/vite-
env
common/chess-
engine
common/client-
types
common/game-
end-
reasons
common/game-
types
common/message/game-
message
common/message/message
common/message/parse-
message
common/message/robot-
message
common/message/simulator-
message
common/message/test/parse-
message.test
server/api/api
server/api/client-
manager
server/api/game-
manager
server/api/managers
server/api/save-
manager
server/api/socket-
manager
server/api/tcp-
interface
server/command/command
server/command/executor
server/command/move-
command
server/command/move-
piece
server/js-
chess-
engine
server/main
server/robot/grid-
indices
server/robot/position
server/robot/robot
server/robot/robot-
manager
server/simulator
server/utils/env
server/utils/pair
server/utils/square
server/utils/tcp-
packet
server/utils/test/packet.test
server/utils/units
Set
Robot
Variable
Message
constructor
id
type
variable
Name
variable
Value
to
Json
to
Obj
Generated using
TypeDoc
Serializes the message as json.