MCPcopy Create free account
hub / github.com/bhideki/darksword / SelfTaskStruct

Class SelfTaskStruct

payloads/pe_main.js:6776–6821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6774/* harmony export */ "default": () => (/* binding */ SelfTaskStruct)
6775/* harmony export */ });
6776class SelfTaskStruct
6777{
6778 #buffer;
6779 #dataView;
6780 constructor()
6781 {
6782 this.#buffer = new ArrayBuffer(32);
6783 this.#dataView = new DataView(this.#buffer);
6784 this.addr = 0x0n;
6785 this.spaceTable = 0x0n;
6786 this.portObject = 0x0n;
6787 this.launchdTask = 0x0n;
6788 }
6789 get addr()
6790 {
6791 return this.#dataView.getBigUint64(0,true);
6792 }
6793 set addr(value)
6794 {
6795 this.#dataView.setBigUint64(0,value,true);
6796 }
6797 get spaceTable()
6798 {
6799 return this.#dataView.getBigUint64(8,true);
6800 }
6801 set spaceTable(value)
6802 {
6803 this.#dataView.setBigUint64(8,value,true);
6804 }
6805 get portObject()
6806 {
6807 return this.#dataView.getBigUint64(16,true);
6808 }
6809 set portObject(value)
6810 {
6811 this.#dataView.setBigUint64(16,value,true);
6812 }
6813 get launchdTask()
6814 {
6815 return this.#dataView.getBigUint64(24,true);
6816 }
6817 set launchdTask(value)
6818 {
6819 this.#dataView.setBigUint64(24,value,true);
6820 }
6821}
6822
6823/***/ }),
6824

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected