Initial release for SPT 3.9

This commit is contained in:
2024-07-20 18:08:38 +02:00
parent 7df25ba694
commit c83da69a3e
713 changed files with 34110 additions and 1 deletions

14
types/utils/ObjectId.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
/// <reference types="node" />
import { TimeUtil } from "@spt/utils/TimeUtil";
export declare class ObjectId {
protected timeUtil: TimeUtil;
constructor(timeUtil: TimeUtil);
protected randomBytes: Buffer;
protected constglobalCounter: number;
protected consttime: number;
protected globalCounter: number;
protected time: number;
incGlobalCounter(): number;
toHexString(byteArray: string | any[] | Buffer): string;
generate(): string;
}