MCPcopy Create free account
hub / github.com/MaxBittker/rs-sdk / get

Method get

server/engine/src/engine/script/ScriptProvider.ts:96–98  ·  view source on GitHub ↗

* Finds a script by `id`. * @param id The script id to find. * @returns The script.

(id: number)

Source from the content-addressed store, hash-verified

94 * @returns The script.
95 */
96 static get(id: number): ScriptFile | undefined {
97 return this.scripts[id];
98 }
99
100 /**
101 * Finds a script by `name`.

Callers 15

pointerPrintMethod · 0.45
getByNameMethod · 0.45
getByTriggerMethod · 0.45
getByTriggerSpecificMethod · 0.45
executeMethod · 0.45
generatorMethod · 0.45
generatorMethod · 0.45
generatorMethod · 0.45
CoreOps.tsFile · 0.45
NpcOps.tsFile · 0.45
EnumOps.tsFile · 0.45
PlayerOps.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected