Skip to content

@temporary-escape/mod-sdk / SignalPlayerAdminCommand

Class: SignalPlayerAdminCommand ​

Defined in: signals.ts:28

Payload for an admin command routed through a signal. The signal name is the command's configured target, so it is not fixed.

Extends ​

Constructors ​

Constructor ​

ts
new SignalPlayerAdminCommand(): SignalPlayerAdminCommand;

Returns ​

SignalPlayerAdminCommand

Inherited from ​

Serializable.constructor

Properties ​

PropertyTypeDefault valueDefined in
commandstring""signals.ts:31
playerIdnumber0signals.ts:29
sectorIdnumber0signals.ts:30

Methods ​

pack() ​

ts
pack(_enc: CborEncoder): void;

Defined in: cbor.ts:1452

Parameters ​

ParameterType
_encCborEncoder

Returns ​

void

Inherited from ​

Serializable.pack


unpack() ​

ts
unpack(_dec: CborVisitor): void;

Defined in: cbor.ts:1456

Parameters ​

ParameterType
_decCborVisitor

Returns ​

void

Inherited from ​

Serializable.unpack