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

Method pointerAdd

server/engine/src/engine/script/ScriptState.ts:165–167  ·  view source on GitHub ↗

* Adds `pointer` to the state. * * @param pointer The pointer to add.

(pointer: ScriptPointer)

Source from the content-addressed store, hash-verified

163 * @param pointer The pointer to add.
164 */
165 pointerAdd(pointer: ScriptPointer) {
166 this.pointers |= 1 << pointer;
167 }
168
169 /**
170 * Removes `pointer` from the state.

Callers 8

initMethod · 0.95
processLogoutsMethod · 0.80
LocOps.tsFile · 0.80
NpcOps.tsFile · 0.80
PlayerOps.tsFile · 0.80
InvOps.tsFile · 0.80
ObjOps.tsFile · 0.80
runScriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected