Skip to content

REVO / API version 0.0.10

Base

IDs are unique across all live client objects. After destruction, id and type remain readable and valid stays false, even if the ID is reused.

Property Type Details
id
readonly
number —
type
readonly
BaseType —
valid
readonly
boolean —
all
static readonly
readonly Base[] —
count
static readonly
number —

getSyncedMeta<K>(key): ICustomBaseSyncedMeta[K] | undefined

Returns a copy. Client-only objects have no synced metadata.

Type Parameter
K extends never
Parameter Type
key K

ICustomBaseSyncedMeta[K] | undefined

getSyncedMeta<T>(key): T | undefined

Returns a copy. Client-only objects have no synced metadata.

Type Parameter Default type
T TransportValue
Parameter Type
key string

T | undefined


getSyncedMetaKeys(): string[]

string[]


hasSyncedMeta(key): boolean

Parameter Type
key string

boolean


static getById(id): Base | null

Parameter Type
id number

Base | null