fix: wrong type, chat manager unicode string; feature: accesscontrol welcome message and chinese support

This commit is contained in:
2025-11-02 21:04:12 +08:00
parent f76a3666b1
commit 7e03d960bd
7 changed files with 311 additions and 145 deletions

View File

@@ -925,10 +925,22 @@ declare namespace textutils {
function pagedTabulate(...args: (LuaTable | Object | Color)[]): void;
function serialize(tab: object, options?: SerializeOptions): string;
function serialise(tab: object, options?: SerializeOptions): string;
function serializeJSON(tab: object, nbtStyle?: boolean): string;
function serializeJSON(tab: object, options: SerializeJSONOptions): string;
function serialiseJSON(tab: object, nbtStyle?: boolean): string;
function serialiseJSON(tab: object, options: SerializeJSONOptions): string;
function serializeJSON(
tab: object | string | number | boolean,
nbtStyle?: boolean,
): string;
function serializeJSON(
tab: object | string | number | boolean,
options: SerializeJSONOptions,
): string;
function serialiseJSON(
tab: object | string | number | boolean,
nbtStyle?: boolean,
): string;
function serialiseJSON(
tab: object | string | number | boolean,
options: SerializeJSONOptions,
): string;
function unserialize(str: string): unknown;
function unserialise(str: string): unknown;
function unserializeJSON(