[][src]Module rask_wasm::communication

Modules

message_queue

The message queue handles communication between the main.js and the logic thread.

sprite
synchronization_memory

Structs

GameState

GameState contains data to be sent over the network and is read by main.js.

MessageQueue

Abstracts the communication with the main thread.

Sprite
SynchronizationMemory

The SynchronizationMemory is the main interface to the main.js. It exposes some variables from the main.js and is used for the atomic wait cycle.

Enums

Message

Messages sent by the main.js.

Constants

MESSAGE_QUEUE_ELEMENT_COUNT

Statics

DOUBLE_BUFFER
RESOURCE_TABLE
SYNCHRONIZATION_MEMORY
TEXTURE_IDS