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

Method popInts

server/engine/src/engine/script/ScriptState.ts:325–331  ·  view source on GitHub ↗
(amount: number)

Source from the content-addressed store, hash-verified

323 }
324
325 popInts(amount: number): number[] {
326 const ints = Array<number>(amount);
327 for (let i = amount - 1; i >= 0; i--) {
328 ints[i] = this.popInt();
329 }
330 return ints;
331 }
332
333 pushInt(value: number) {
334 this.intStack[this.isp++] = toInt32(value);

Callers 14

StringOps.tsFile · 0.80
LocOps.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
PlayerOps.tsFile · 0.80
InvOps.tsFile · 0.80
NpcConfigOps.tsFile · 0.80
DbOps.tsFile · 0.80

Calls 1

popIntMethod · 0.95

Tested by

no test coverage detected