🆙 Add backgrounds to renderer

This commit is contained in:
duckietm
2025-05-22 10:31:31 +02:00
parent 7c40e69c75
commit 476f71a482
7 changed files with 70 additions and 41 deletions
@@ -256,6 +256,7 @@ export class OutgoingHeader
public static GET_SOUND_SETTINGS = 2388;
public static USER_SETTINGS_CAMERA = 1461;
public static USER_SETTINGS_CHAT_STYLE = 1030;
public static USER_SETTINGS_INFOSTAND_BACKGROUND = 1031;
public static USER_SETTINGS_INVITES = 1086;
public static USER_SETTINGS_OLD_CHAT = 1262;
public static USER_SETTINGS_VOLUME = 1367;
@@ -34,6 +34,9 @@ export class RoomUnitInfoParser implements IMessageParser
this._gender = wrapper.readString().toLocaleUpperCase();
this._motto = wrapper.readString();
this._achievementScore = wrapper.readInt();
this._backgroundId = wrapper.readInt();
this._standId = wrapper.readInt();
this._overlayId = wrapper.readInt();
return true;
}
@@ -16,7 +16,7 @@ export class UserMessageData
private _activityPoints: number = 0;
private _background: number = 0;
private _stand: number = 0;
private _overlay: number = 0
private _overlay: number = 0;
private _webID: number = 0;
private _groupID: number = 0;
private _groupStatus: number = 0;