mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 23:16:21 +00:00
Refine mobile avatar widgets and login flow
This commit is contained in:
@@ -36,6 +36,8 @@ export class AvatarInfoFurni implements IAvatarInfo
|
||||
public allowLay: boolean = false;
|
||||
public allowWalk: boolean = false;
|
||||
public teleportTargetId: number = 0;
|
||||
public spriteId: number = -1;
|
||||
public productType: string = 's';
|
||||
|
||||
constructor(public readonly type: string)
|
||||
{}
|
||||
|
||||
@@ -118,6 +118,8 @@ export class AvatarInfoUtilities
|
||||
{
|
||||
furniInfo.name = furnitureData.name;
|
||||
furniInfo.description = furnitureData.description;
|
||||
furniInfo.spriteId = furnitureData.id;
|
||||
furniInfo.productType = ((category === RoomObjectCategory.WALL) ? 'i' : 's');
|
||||
furniInfo.purchaseOfferId = furnitureData.purchaseOfferId;
|
||||
furniInfo.purchaseCouldBeUsedForBuyout = furnitureData.purchaseCouldBeUsedForBuyout;
|
||||
furniInfo.rentOfferId = furnitureData.rentOfferId;
|
||||
|
||||
Reference in New Issue
Block a user