_Str_1577 -> objectId

This commit is contained in:
Dank074 2021-05-09 02:17:20 -05:00
parent 9ed63945a4
commit 2721da03b7
6 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@ import { UserDataManager } from './UserDataManager';
export interface IRoomSession extends IDisposable
{
openGift(_Str_1577: number): void;
openGift(objectId: number): void;
setConnection(connection: IConnection): void;
setControllerLevel(level: number): void;
setOwnRoomIndex(roomIndex: number): void;

View File

@ -257,9 +257,9 @@ export class RoomSession extends Disposable implements IRoomSession
this._connection.send(new MoodlightSettingsComposer());
}
public openGift(_Str_1577: number): void
public openGift(objectId: number): void
{
this._connection.send(new OpenPresentComposer(_Str_1577));
this._connection.send(new OpenPresentComposer(objectId));
}
public get connection(): IConnection

View File

@ -21,7 +21,7 @@ export class RoomSessionPetPackageEvent extends RoomSessionEvent
this._nameValidationInfo = _arg_6;
}
public get _Str_1577(): number
public get objectId(): number
{
return this._objectId;
}

View File

@ -429,7 +429,7 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
}
const cache = this.getCacheItem(identifier);
cache._Str_1577 = object.instanceId;
cache.objectId = object.instanceId;
const locationCache = cache.location;
const sortableCache = cache.sprites;

View File

@ -79,7 +79,7 @@ export class RoomObjectCache
{
const data = new RoomObjectSpriteData();
data.objectId = item._Str_1577;
data.objectId = item.objectId;
data.x = sprite.x;
data.y = sprite.y;
data.z = sprite.z;

View File

@ -40,12 +40,12 @@ export class RoomObjectCacheItem
}
}
public get _Str_1577(): number
public get objectId(): number
{
return this._objectId;
}
public set _Str_1577(k:number)
public set objectId(k:number)
{
this._objectId = k;
}