gamesocket.io
Version:
Simple event-oriented API for uWebSocket.js
22 lines (21 loc) • 714 B
TypeScript
import type { finalData } from '../DataManager.js'
import type { escortID, eventName } from '../../io.js'
import type { IEscort } from '../../io.js'
export declare interface IDataEscort extends IEscort<finalData> {
get(property: string): finalData | undefined
get isPrimitive(): boolean
}
export declare class DataEscort implements IDataEscort {
private _id
private _event
private _data
constructor(_id: escortID, _event: eventName, data?: finalData)
get(property?: string): finalData | undefined
get event(): string
get id(): string
get used(): finalData | undefined
get isPrimitive(): boolean
private getPropertyPath
private getPropertyByPath
}
//# sourceMappingURL=DataEscort.d.ts.map