feat: add wired monitor and variable protocol support

This commit is contained in:
Lorenzune
2026-04-02 04:44:04 +02:00
parent 52ed78e528
commit 190f02ebbe
19 changed files with 1149 additions and 396 deletions
@@ -0,0 +1,21 @@
import { IMessageComposer } from '@nitrots/api';
export class WiredUserVariableUpdateComposer implements IMessageComposer<ConstructorParameters<typeof WiredUserVariableUpdateComposer>>
{
private _data: ConstructorParameters<typeof WiredUserVariableUpdateComposer>;
constructor(targetType: number, targetId: number, variableItemId: number, value: number)
{
this._data = [ targetType, targetId, variableItemId, value ];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}