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

Method popInt

server/engine/src/engine/script/ScriptState.ts:317–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315 }
316
317 popInt(): number {
318 const value = this.intStack[--this.isp];
319 if (!value) {
320 return 0;
321 }
322 return toInt32(value);
323 }
324
325 popInts(amount: number): number[] {
326 const ints = Array<number>(amount);

Callers 15

popIntsMethod · 0.95
setupNewScriptMethod · 0.95
processWorldMethod · 0.80
StringOps.tsFile · 0.80
LocOps.tsFile · 0.80
CoreOps.tsFile · 0.80
ServerOps.tsFile · 0.80
LocConfigOps.tsFile · 0.80
ObjConfigOps.tsFile · 0.80
NpcOps.tsFile · 0.80
EnumOps.tsFile · 0.80
NumberOps.tsFile · 0.80

Calls 1

toInt32Function · 0.85

Tested by

no test coverage detected