Your browser does not support HTML5 canvas. Fork me on GitHub

Available Packages:

SyncSimple

Source

string DEFAULT_PREFIX

Source

string LAST_CHUNK_PREFIX

Source

boolean SYNC_IN_REPLAYS

Source

function boolean.sync(player p, BoolSyncListener listener)

Source

Syncs a bool from the given player.

function int.sync(player p, IntSyncListener listener)

Source

Syncs an int from the given player.

function real.sync(player p, RealSyncListener listener)

Source

Syncs a real from the given player.

function string.sync(player p, StringSyncListener listener)

Source

Syncs a single string from the given player.

function ChunkedString.sync(player p, BufferSyncListener listener)

Source

Syncs a chunked string from the given player.

interface BoolSyncListener

Source

function onDataSynced(boolean data)

Source

interface BufferSyncListener

Source

function onDataSynced(ChunkedString buffer)

Source

interface IntSyncListener

Source

function onDataSynced(int data)

Source

interface RealSyncListener

Source

function onDataSynced(real data)

Source

interface StringSyncListener

Source

function onDataSynced(string data)

Source