MCPcopy Create free account
hub / github.com/Shazbot/WH3-Mod-Manager / createScriptLoggingData

Function createScriptLoggingData

src/packFileSerializer.ts:895–903  ·  view source on GitHub ↗
(pack_files: PackedFile[])

Source from the content-addressed store, hash-verified

893 return result;
894};
895const createScriptLoggingData = (pack_files: PackedFile[]) => {
896 pack_files.push({
897 name: "script\\enable_console_logging",
898 file_size: 1,
899 start_pos: 0,
900 is_compressed: false,
901 schemaFields: [{ type: "Buffer", fields: [{ type: "Buffer", val: Buffer.from([0x00]) }] }],
902 } as PackedFile);
903};
904const createAutoStartCustomBattleData = (pack_files: PackedFile[]) => {
905 const scriptBuffer = Buffer.from(autoStartCustomBattleScript, "utf-8");
906 pack_files.push({

Callers 1

writeStartGamePackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected