@hastearcade/snowglobe
Version:
A TypeScript port of CrystalOrb, a high-level Rust game networking library
16 lines • 441 B
TypeScript
export declare enum AnalyticType {
'currentworld' = 0,
'recvcommand' = 1,
'issuecommand' = 2,
'snapshotapplied' = 3,
'snapshotgenerated' = 4,
'worldhistory' = 5
}
export declare class Analytics {
private readonly id;
private readonly data;
constructor(id: string);
store(tickNumber: number, type: AnalyticType, data: string): void;
flush(): Promise<void>;
}
//# sourceMappingURL=analytics.d.ts.map