Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,28 @@
import { IMessageDataWrapper, IMessageParser } from '@nitrots/api';
export class AccountSafetyLockStatusChangeParser implements IMessageParser
{
public static SAFETY_LOCK_STATUS_LOCKED: number = 0;
public static SAFETY_LOCK_STATUS_UNLOCKED: number = 1;
private _status: number;
public flush(): boolean
{
return true;
}
public parse(wrapper: IMessageDataWrapper): boolean
{
if(!wrapper) return false;
this._status = wrapper.readInt();
return true;
}
public get status(): number
{
return this._status;
}
}