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

Method writePacketOpcode

server/webclient/src/client/Client.ts:741–745  ·  view source on GitHub ↗

* Write a packet opcode with logging support * Use this instead of direct p1Enc for bot SDK methods

(opcode: number)

Source from the content-addressed store, hash-verified

739 /**
740 * Check if packet logging is enabled
741 */
742 isPacketLoggingEnabled(): boolean {
743 return this.packetLogEnabled;
744 }
745
746 /**
747 * Get all logged packets
748 */

Callers 15

acceptCharacterDesignMethod · 0.95
talkToNpcMethod · 0.95
interactNpcMethod · 0.95
interactPlayerMethod · 0.95
spellOnNpcMethod · 0.95
spellOnItemMethod · 0.95
spellOnGroundItemMethod · 0.95
pickupGroundItemMethod · 0.95
interactGroundItemMethod · 0.95
useInventoryItemMethod · 0.95
clickEquipmentSlotMethod · 0.95
shopBuyMethod · 0.95

Calls 1

p1EncMethod · 0.80

Tested by

no test coverage detected