mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Fix messy typings
This commit is contained in:
parent
da733cdaa0
commit
912c46dd03
@ -2,18 +2,18 @@ import { IObjectData } from '../../../../room/object/data/IObjectData';
|
||||
|
||||
export class MarketplaceOffer
|
||||
{
|
||||
private readonly _offerId:number;
|
||||
private readonly _furniId:number;
|
||||
private readonly _furniType:number;
|
||||
private readonly _extraData:string;
|
||||
private readonly _offerId: number;
|
||||
private readonly _furniId: number;
|
||||
private readonly _furniType: number;
|
||||
private readonly _extraData: string;
|
||||
private readonly _stuffData:IObjectData;
|
||||
private readonly _price:number;
|
||||
private readonly _status:number;
|
||||
private readonly _timeLeftMinutes:number = -1;
|
||||
private readonly _averagePrice:number;
|
||||
private readonly _offerCount:number;
|
||||
private readonly _price: number;
|
||||
private readonly _status: number;
|
||||
private readonly _timeLeftMinutes: number = -1;
|
||||
private readonly _averagePrice: number;
|
||||
private readonly _offerCount: number;
|
||||
|
||||
constructor(offerId:number, furniId:number, furniType:number, extraData:string, stuffData:IObjectData, price:number, status:number, timeLeftMinutes:number, averagePrice:number, offerCount:number=-1)
|
||||
constructor(offerId: number, furniId: number, furniType: number, extraData: string, stuffData:IObjectData, price: number, status: number, timeLeftMinutes: number, averagePrice: number, offerCount: number=-1)
|
||||
{
|
||||
this._offerId = offerId;
|
||||
this._furniId = furniId;
|
||||
@ -27,22 +27,22 @@ export class MarketplaceOffer
|
||||
this._offerCount = offerCount;
|
||||
}
|
||||
|
||||
public get offerId():number
|
||||
public get offerId(): number
|
||||
{
|
||||
return this._offerId;
|
||||
}
|
||||
|
||||
public get furniId():number
|
||||
public get furniId(): number
|
||||
{
|
||||
return this._furniId;
|
||||
}
|
||||
|
||||
public get furniType():number
|
||||
public get furniType(): number
|
||||
{
|
||||
return this._furniType;
|
||||
}
|
||||
|
||||
public get extraData():string
|
||||
public get extraData(): string
|
||||
{
|
||||
return this._extraData;
|
||||
}
|
||||
@ -52,32 +52,32 @@ export class MarketplaceOffer
|
||||
return this._stuffData;
|
||||
}
|
||||
|
||||
public get price():number
|
||||
public get price(): number
|
||||
{
|
||||
return this._price;
|
||||
}
|
||||
|
||||
public get status():number
|
||||
public get status(): number
|
||||
{
|
||||
return this._status;
|
||||
}
|
||||
|
||||
public get timeLeftMinutes():number
|
||||
public get timeLeftMinutes(): number
|
||||
{
|
||||
return this._timeLeftMinutes;
|
||||
}
|
||||
|
||||
public get averagePrice():number
|
||||
public get averagePrice(): number
|
||||
{
|
||||
return this._averagePrice;
|
||||
}
|
||||
|
||||
public get offerCount():number
|
||||
public get offerCount(): number
|
||||
{
|
||||
return this._offerCount;
|
||||
}
|
||||
|
||||
public get isUniqueLimitedItem():boolean
|
||||
public get isUniqueLimitedItem(): boolean
|
||||
{
|
||||
return (!(this.stuffData == null)) && (this.stuffData.uniqueSeries > 0);
|
||||
}
|
||||
|
@ -2,15 +2,15 @@ import { PlayListEntry } from '.';
|
||||
|
||||
export class SongInfoEntry extends PlayListEntry
|
||||
{
|
||||
private _data:string = '';
|
||||
private _data: string = '';
|
||||
|
||||
constructor(id:number, length:number, name:string, creator:string, data:string)
|
||||
constructor(id: number, length: number, name: string, creator: string, data: string)
|
||||
{
|
||||
super(id, length, name, creator);
|
||||
this._data = data;
|
||||
}
|
||||
|
||||
public get data():string
|
||||
public get data(): string
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { RenderRoomMessageComposer } from './RenderRoomMessageComposer';
|
||||
|
||||
export class RenderRoomThumbnailMessageComposer extends RenderRoomMessageComposer
|
||||
{
|
||||
constructor(k:any = '', _arg_2:string = '', _arg_3:string = '', _arg_4:number = -1, _arg_5:number = -1)
|
||||
constructor(k:any = '', _arg_2: string = '', _arg_3: string = '', _arg_4: number = -1, _arg_5: number = -1)
|
||||
{
|
||||
super(k, _arg_2, _arg_3, _arg_4, _arg_5);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class BuildersClubPlaceRoomItemMessageComposer implements IMessageCompose
|
||||
{
|
||||
private _data: ConstructorParameters<typeof BuildersClubPlaceRoomItemMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:string, _arg_4:number, _arg_5:number, _arg_6:number)
|
||||
constructor(k: number, _arg_2: number, _arg_3: string, _arg_4: number, _arg_5: number, _arg_6: number)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class BuildersClubPlaceWallItemMessageComposer implements IMessageCompose
|
||||
{
|
||||
private _data: ConstructorParameters<typeof BuildersClubPlaceWallItemMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:string, _arg_4:string)
|
||||
constructor(k: number, _arg_2: number, _arg_3: string, _arg_4: string)
|
||||
{
|
||||
this._data = [k, _arg_2, _arg_3, _arg_4];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class PurchaseRoomAdMessageComposer implements IMessageComposer<Construct
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PurchaseRoomAdMessageComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number, _arg_3:number, _arg_4:string, _arg_5:boolean, _arg_6:string, _arg_7:number)
|
||||
constructor(k: number, _arg_2: number, _arg_3: number, _arg_4: string, _arg_5: boolean, _arg_6: string, _arg_7: number)
|
||||
{
|
||||
this._data = [ k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6, _arg_7 ];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class SetTargetedOfferStateComposer implements IMessageComposer<Construct
|
||||
{
|
||||
private _data: ConstructorParameters<typeof SetTargetedOfferStateComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number)
|
||||
constructor(k: number, _arg_2: number)
|
||||
{
|
||||
this._data = [ k, _arg_2 ];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class ShopTargetedOfferViewedComposer implements IMessageComposer<Constru
|
||||
{
|
||||
private _data: ConstructorParameters<typeof ShopTargetedOfferViewedComposer>;
|
||||
|
||||
constructor(k:number, _arg_2:number)
|
||||
constructor(k: number, _arg_2: number)
|
||||
{
|
||||
this._data = [ k, _arg_2 ];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class CraftSecretComposer implements IMessageComposer<number[]>
|
||||
{
|
||||
private _data: number[];
|
||||
|
||||
constructor(k: number, _arg_2:number[])
|
||||
constructor(k: number, _arg_2: number[])
|
||||
{
|
||||
this._data = [k, _arg_2.length].concat(_arg_2);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class GetCraftingRecipesAvailableComposer implements IMessageComposer<num
|
||||
{
|
||||
private _data: number[];
|
||||
|
||||
constructor(k: number, _arg_2:number[])
|
||||
constructor(k: number, _arg_2: number[])
|
||||
{
|
||||
this._data = [k, _arg_2.length].concat(_arg_2);
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class ModtoolSanctionBanComposer implements IMessageComposer<any>
|
||||
{
|
||||
private _data: any[] = [];
|
||||
|
||||
constructor(k: number, arg2: string, arg3: number, arg4:number, arg5: boolean, arg6: number = -1)
|
||||
constructor(k: number, arg2: string, arg3: number, arg4: number, arg5: boolean, arg6: number = -1)
|
||||
{
|
||||
this._data.push(k);
|
||||
this._data.push(arg2);
|
||||
|
@ -4,7 +4,7 @@ export class RoomDoorbellAccessComposer implements IMessageComposer<ConstructorP
|
||||
{
|
||||
private _data: ConstructorParameters<typeof RoomDoorbellAccessComposer>;
|
||||
|
||||
constructor(user:string, allowedEntry: boolean)
|
||||
constructor(user: string, allowedEntry: boolean)
|
||||
{
|
||||
this._data = [ user, allowedEntry ];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class MoodlightSettingsSaveComposer implements IMessageComposer<Construct
|
||||
{
|
||||
private _data: ConstructorParameters<typeof MoodlightSettingsSaveComposer>;
|
||||
|
||||
constructor(k: number, arg2: number, arg3: string, arg4:number, arg5:boolean)
|
||||
constructor(k: number, arg2: number, arg3: string, arg4: number, arg5: boolean)
|
||||
{
|
||||
this._data = [k, arg2, arg3, arg4, arg5];
|
||||
}
|
||||
|
@ -4,7 +4,7 @@ export class ApplyTonerComposer implements IMessageComposer<ConstructorParameter
|
||||
{
|
||||
private _data: ConstructorParameters<typeof ApplyTonerComposer>;
|
||||
|
||||
constructor(k: number, arg2:number, arg3: number, arg4: number)
|
||||
constructor(k: number, arg2: number, arg3: number, arg4: number)
|
||||
{
|
||||
this._data = [k, arg2, arg3, arg4];
|
||||
}
|
||||
|
@ -4,8 +4,8 @@ import { ClubGiftData } from '../../incoming/catalog/ClubGiftData';
|
||||
|
||||
export class ClubGiftInfoParser implements IMessageParser
|
||||
{
|
||||
private _daysUntilNextGift:number;
|
||||
private _giftsAvailable:number;
|
||||
private _daysUntilNextGift: number;
|
||||
private _giftsAvailable: number;
|
||||
private _offers: CatalogPageMessageOfferData[];
|
||||
private _giftData:Map<number, ClubGiftData>;
|
||||
|
||||
@ -47,12 +47,12 @@ export class ClubGiftInfoParser implements IMessageParser
|
||||
return this._offers;
|
||||
}
|
||||
|
||||
public get daysUntilNextGift():number
|
||||
public get daysUntilNextGift(): number
|
||||
{
|
||||
return this._daysUntilNextGift;
|
||||
}
|
||||
|
||||
public get giftsAvailable():number
|
||||
public get giftsAvailable(): number
|
||||
{
|
||||
return this._giftsAvailable;
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
|
||||
|
||||
export class VoucherRedeemErrorMessageParser implements IMessageParser
|
||||
{
|
||||
private _errorCode:string = '';
|
||||
private _errorCode: string = '';
|
||||
|
||||
public flush(): boolean
|
||||
{
|
||||
@ -19,7 +19,7 @@ export class VoucherRedeemErrorMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get errorCode():string
|
||||
public get errorCode(): string
|
||||
{
|
||||
return this._errorCode;
|
||||
}
|
||||
|
@ -2,8 +2,8 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
|
||||
|
||||
export class VoucherRedeemOkMessageParser implements IMessageParser
|
||||
{
|
||||
private _productName:string = '';
|
||||
private _productDescription:string = '';
|
||||
private _productName: string = '';
|
||||
private _productDescription: string = '';
|
||||
|
||||
public flush(): boolean
|
||||
{
|
||||
@ -22,12 +22,12 @@ export class VoucherRedeemOkMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get productName():string
|
||||
public get productName(): string
|
||||
{
|
||||
return this._productName;
|
||||
}
|
||||
|
||||
public get productDescription():string
|
||||
public get productDescription(): string
|
||||
{
|
||||
return this._productDescription;
|
||||
}
|
||||
|
@ -33,37 +33,37 @@ export class PresentOpenedMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get itemType():string
|
||||
public get itemType(): string
|
||||
{
|
||||
return this._itemType;
|
||||
}
|
||||
|
||||
public get classId():number
|
||||
public get classId(): number
|
||||
{
|
||||
return this._classId;
|
||||
}
|
||||
|
||||
public get productCode():string
|
||||
public get productCode(): string
|
||||
{
|
||||
return this._productCode;
|
||||
}
|
||||
|
||||
public get placedItemId():number
|
||||
public get placedItemId(): number
|
||||
{
|
||||
return this._placedItemId;
|
||||
}
|
||||
|
||||
public get placedItemType():string
|
||||
public get placedItemType(): string
|
||||
{
|
||||
return this._placedItemType;
|
||||
}
|
||||
|
||||
public get placedInRoom():boolean
|
||||
public get placedInRoom(): boolean
|
||||
{
|
||||
return this._placedInRoom;
|
||||
}
|
||||
|
||||
public get petFigureString():string
|
||||
public get petFigureString(): string
|
||||
{
|
||||
return this._petFigureString;
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ export class MarketplaceOfferData
|
||||
this._offerCount = count;
|
||||
}
|
||||
|
||||
public get isUniqueLimitedItem():boolean
|
||||
public get isUniqueLimitedItem(): boolean
|
||||
{
|
||||
return (this.stuffData && (this.stuffData.uniqueSeries > 0));
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ export class MarketplaceOwnOffersParser implements IMessageParser
|
||||
return this._offers;
|
||||
}
|
||||
|
||||
public get creditsWaiting():number
|
||||
public get creditsWaiting(): number
|
||||
{
|
||||
return this._creditsWaiting;
|
||||
}
|
||||
|
@ -12,30 +12,30 @@ export class IssueInfoMessageParser implements IMessageParser
|
||||
return this._issueData;
|
||||
}
|
||||
|
||||
public flush():boolean
|
||||
public flush(): boolean
|
||||
{
|
||||
this._issueData = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
public parse(k:IMessageDataWrapper):boolean
|
||||
public parse(k:IMessageDataWrapper): boolean
|
||||
{
|
||||
const _local_2:number = k.readInt();
|
||||
const _local_3:number = k.readInt();
|
||||
const _local_4:number = k.readInt();
|
||||
const _local_5:number = k.readInt();
|
||||
const _local_6:number = k.readInt();
|
||||
const _local_7:number = k.readInt();
|
||||
const _local_8:number = k.readInt();
|
||||
const _local_9:number = k.readInt();
|
||||
const _local_10:string = k.readString();
|
||||
const _local_11:number = k.readInt();
|
||||
const _local_12:string = k.readString();
|
||||
const _local_13:number = k.readInt();
|
||||
const _local_14:string = k.readString();
|
||||
const _local_15:string = k.readString();
|
||||
const _local_16:number = k.readInt();
|
||||
const _local_17:number = k.readInt();
|
||||
const _local_2: number = k.readInt();
|
||||
const _local_3: number = k.readInt();
|
||||
const _local_4: number = k.readInt();
|
||||
const _local_5: number = k.readInt();
|
||||
const _local_6: number = k.readInt();
|
||||
const _local_7: number = k.readInt();
|
||||
const _local_8: number = k.readInt();
|
||||
const _local_9: number = k.readInt();
|
||||
const _local_10: string = k.readString();
|
||||
const _local_11: number = k.readInt();
|
||||
const _local_12: string = k.readString();
|
||||
const _local_13: number = k.readInt();
|
||||
const _local_14: string = k.readString();
|
||||
const _local_15: string = k.readString();
|
||||
const _local_16: number = k.readInt();
|
||||
const _local_17: number = k.readInt();
|
||||
const _local_18:PatternMatchData[] = [];
|
||||
let _local_19 = 0;
|
||||
while(_local_19 < _local_17)
|
||||
|
@ -4,16 +4,16 @@ import { IssueMessageData } from './IssueMessageData';
|
||||
|
||||
export class ModeratorInitData
|
||||
{
|
||||
private _messageTemplates:string[];
|
||||
private _roomMessageTemplates:string[];
|
||||
private _messageTemplates: string[];
|
||||
private _roomMessageTemplates: string[];
|
||||
private _issues:IssueMessageData[];
|
||||
private _cfhPermission:boolean;
|
||||
private _chatlogsPermission:boolean;
|
||||
private _alertPermission:boolean;
|
||||
private _kickPermission:boolean;
|
||||
private _banPermission:boolean;
|
||||
private _roomAlertPermission:boolean;
|
||||
private _roomKickPermission:boolean;
|
||||
private _cfhPermission: boolean;
|
||||
private _chatlogsPermission: boolean;
|
||||
private _alertPermission: boolean;
|
||||
private _kickPermission: boolean;
|
||||
private _banPermission: boolean;
|
||||
private _roomAlertPermission: boolean;
|
||||
private _roomKickPermission: boolean;
|
||||
|
||||
private _disposed: boolean = false;
|
||||
|
||||
@ -80,17 +80,17 @@ export class ModeratorInitData
|
||||
this._issues = null;
|
||||
}
|
||||
|
||||
public get disposed():boolean
|
||||
public get disposed(): boolean
|
||||
{
|
||||
return this._disposed;
|
||||
}
|
||||
|
||||
public get messageTemplates():string[]
|
||||
public get messageTemplates(): string[]
|
||||
{
|
||||
return this._messageTemplates;
|
||||
}
|
||||
|
||||
public get roomMessageTemplates():string[]
|
||||
public get roomMessageTemplates(): string[]
|
||||
{
|
||||
return this._roomMessageTemplates;
|
||||
}
|
||||
@ -100,37 +100,37 @@ export class ModeratorInitData
|
||||
return this._issues;
|
||||
}
|
||||
|
||||
public get cfhPermission():boolean
|
||||
public get cfhPermission(): boolean
|
||||
{
|
||||
return this._cfhPermission;
|
||||
}
|
||||
|
||||
public get chatlogsPermission():boolean
|
||||
public get chatlogsPermission(): boolean
|
||||
{
|
||||
return this._chatlogsPermission;
|
||||
}
|
||||
|
||||
public get alertPermission():boolean
|
||||
public get alertPermission(): boolean
|
||||
{
|
||||
return this._alertPermission;
|
||||
}
|
||||
|
||||
public get kickPermission():boolean
|
||||
public get kickPermission(): boolean
|
||||
{
|
||||
return this._kickPermission;
|
||||
}
|
||||
|
||||
public get banPermission():boolean
|
||||
public get banPermission(): boolean
|
||||
{
|
||||
return this._banPermission;
|
||||
}
|
||||
|
||||
public get roomAlertPermission():boolean
|
||||
public get roomAlertPermission(): boolean
|
||||
{
|
||||
return this._roomAlertPermission;
|
||||
}
|
||||
|
||||
public get roomKickPermission():boolean
|
||||
public get roomKickPermission(): boolean
|
||||
{
|
||||
return this._roomKickPermission;
|
||||
}
|
||||
|
@ -2,25 +2,25 @@ import { IMessageDataWrapper } from '../../../../../../core';
|
||||
|
||||
export class ModeratorUserInfoData
|
||||
{
|
||||
private _userId:number;
|
||||
private _userName:string;
|
||||
private _registrationAgeInMinutes:number;
|
||||
private _minutesSinceLastLogin:number;
|
||||
private _online:boolean;
|
||||
private _cfhCount:number;
|
||||
private _abusiveCfhCount:number;
|
||||
private _cautionCount:number;
|
||||
private _banCount:number;
|
||||
private _tradingLockCount:number;
|
||||
private _tradingExpiryDate:string;
|
||||
private _lastPurchaseDate:string;
|
||||
private _identityId:number;
|
||||
private _identityRelatedBanCount:number;
|
||||
private _primaryEmailAddress:string;
|
||||
private _figure:string;
|
||||
private _userClassification:string;
|
||||
private _lastSanctionTime:string = '';
|
||||
private _sanctionAgeHours:number = 0;
|
||||
private _userId: number;
|
||||
private _userName: string;
|
||||
private _registrationAgeInMinutes: number;
|
||||
private _minutesSinceLastLogin: number;
|
||||
private _online: boolean;
|
||||
private _cfhCount: number;
|
||||
private _abusiveCfhCount: number;
|
||||
private _cautionCount: number;
|
||||
private _banCount: number;
|
||||
private _tradingLockCount: number;
|
||||
private _tradingExpiryDate: string;
|
||||
private _lastPurchaseDate: string;
|
||||
private _identityId: number;
|
||||
private _identityRelatedBanCount: number;
|
||||
private _primaryEmailAddress: string;
|
||||
private _figure: string;
|
||||
private _userClassification: string;
|
||||
private _lastSanctionTime: string = '';
|
||||
private _sanctionAgeHours: number = 0;
|
||||
|
||||
constructor(wrapper: IMessageDataWrapper)
|
||||
{
|
||||
@ -48,97 +48,97 @@ export class ModeratorUserInfoData
|
||||
}
|
||||
}
|
||||
|
||||
public get userId():number
|
||||
public get userId(): number
|
||||
{
|
||||
return this._userId;
|
||||
}
|
||||
|
||||
public get userName():string
|
||||
public get userName(): string
|
||||
{
|
||||
return this._userName;
|
||||
}
|
||||
|
||||
public get figure():string
|
||||
public get figure(): string
|
||||
{
|
||||
return this._figure;
|
||||
}
|
||||
|
||||
public get registrationAgeInMinutes():number
|
||||
public get registrationAgeInMinutes(): number
|
||||
{
|
||||
return this._registrationAgeInMinutes;
|
||||
}
|
||||
|
||||
public get minutesSinceLastLogin():number
|
||||
public get minutesSinceLastLogin(): number
|
||||
{
|
||||
return this._minutesSinceLastLogin;
|
||||
}
|
||||
|
||||
public get online():boolean
|
||||
public get online(): boolean
|
||||
{
|
||||
return this._online;
|
||||
}
|
||||
|
||||
public get cfhCount():number
|
||||
public get cfhCount(): number
|
||||
{
|
||||
return this._cfhCount;
|
||||
}
|
||||
|
||||
public get abusiveCfhCount():number
|
||||
public get abusiveCfhCount(): number
|
||||
{
|
||||
return this._abusiveCfhCount;
|
||||
}
|
||||
|
||||
public get cautionCount():number
|
||||
public get cautionCount(): number
|
||||
{
|
||||
return this._cautionCount;
|
||||
}
|
||||
|
||||
public get banCount():number
|
||||
public get banCount(): number
|
||||
{
|
||||
return this._banCount;
|
||||
}
|
||||
|
||||
public get tradingLockCount():number
|
||||
public get tradingLockCount(): number
|
||||
{
|
||||
return this._tradingLockCount;
|
||||
}
|
||||
|
||||
public get tradingExpiryDate():string
|
||||
public get tradingExpiryDate(): string
|
||||
{
|
||||
return this._tradingExpiryDate;
|
||||
}
|
||||
|
||||
public get lastPurchaseDate():string
|
||||
public get lastPurchaseDate(): string
|
||||
{
|
||||
return this._lastPurchaseDate;
|
||||
}
|
||||
|
||||
public get identityId():number
|
||||
public get identityId(): number
|
||||
{
|
||||
return this._identityId;
|
||||
}
|
||||
|
||||
public get identityRelatedBanCount():number
|
||||
public get identityRelatedBanCount(): number
|
||||
{
|
||||
return this._identityRelatedBanCount;
|
||||
}
|
||||
|
||||
public get primaryEmailAddress():string
|
||||
public get primaryEmailAddress(): string
|
||||
{
|
||||
return this._primaryEmailAddress;
|
||||
}
|
||||
|
||||
public get userClassification():string
|
||||
public get userClassification(): string
|
||||
{
|
||||
return this._userClassification;
|
||||
}
|
||||
|
||||
public get lastSanctionTime():string
|
||||
public get lastSanctionTime(): string
|
||||
{
|
||||
return this._lastSanctionTime;
|
||||
}
|
||||
|
||||
public get sanctionAgeHours():number
|
||||
public get sanctionAgeHours(): number
|
||||
{
|
||||
return this._sanctionAgeHours;
|
||||
}
|
||||
|
@ -4,8 +4,8 @@ import { RoomVisitData } from './RoomVisitData';
|
||||
|
||||
export class ModtoolRoomVisitedData
|
||||
{
|
||||
private _userId:number;
|
||||
private _userName:string;
|
||||
private _userId: number;
|
||||
private _userName: string;
|
||||
private _rooms:RoomVisitData[];
|
||||
|
||||
constructor(k:IMessageDataWrapper)
|
||||
@ -22,12 +22,12 @@ export class ModtoolRoomVisitedData
|
||||
}
|
||||
}
|
||||
|
||||
public get userId():number
|
||||
public get userId(): number
|
||||
{
|
||||
return this._userId;
|
||||
}
|
||||
|
||||
public get userName():string
|
||||
public get userName(): string
|
||||
{
|
||||
return this._userName;
|
||||
}
|
||||
|
@ -3,10 +3,10 @@ import { IDisposable } from '../../../../../../core/common/disposable/IDisposabl
|
||||
|
||||
export class PatternMatchData implements IDisposable
|
||||
{
|
||||
private _pattern:string;
|
||||
private _startIndex:number;
|
||||
private _endIndex:number;
|
||||
private _disposed:boolean = false;
|
||||
private _pattern: string;
|
||||
private _startIndex: number;
|
||||
private _endIndex: number;
|
||||
private _disposed: boolean = false;
|
||||
|
||||
constructor(k:IMessageDataWrapper)
|
||||
{
|
||||
@ -23,22 +23,22 @@ export class PatternMatchData implements IDisposable
|
||||
this._endIndex = -1;
|
||||
}
|
||||
|
||||
public get disposed():boolean
|
||||
public get disposed(): boolean
|
||||
{
|
||||
return this._disposed;
|
||||
}
|
||||
|
||||
public get pattern():string
|
||||
public get pattern(): string
|
||||
{
|
||||
return this._pattern;
|
||||
}
|
||||
|
||||
public get startIndex():number
|
||||
public get startIndex(): number
|
||||
{
|
||||
return this._startIndex;
|
||||
}
|
||||
|
||||
public get endIndex():number
|
||||
public get endIndex(): number
|
||||
{
|
||||
return this._endIndex;
|
||||
}
|
||||
|
@ -2,10 +2,10 @@ import { IMessageDataWrapper } from '../../../../../../core';
|
||||
|
||||
export class RoomVisitData
|
||||
{
|
||||
private _roomId:number;
|
||||
private _roomName:string;
|
||||
private _enterHour:number;
|
||||
private _enterMinute:number;
|
||||
private _roomId: number;
|
||||
private _roomName: string;
|
||||
private _enterHour: number;
|
||||
private _enterMinute: number;
|
||||
|
||||
constructor(k:IMessageDataWrapper)
|
||||
{
|
||||
@ -15,22 +15,22 @@ export class RoomVisitData
|
||||
this._enterMinute = k.readInt();
|
||||
}
|
||||
|
||||
public get roomId():number
|
||||
public get roomId(): number
|
||||
{
|
||||
return this._roomId;
|
||||
}
|
||||
|
||||
public get roomName():string
|
||||
public get roomName(): string
|
||||
{
|
||||
return this._roomName;
|
||||
}
|
||||
|
||||
public get enterHour():number
|
||||
public get enterHour(): number
|
||||
{
|
||||
return this._enterHour;
|
||||
}
|
||||
|
||||
public get enterMinute():number
|
||||
public get enterMinute(): number
|
||||
{
|
||||
return this._enterMinute;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ export class EpicPopupMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get imageUri():string
|
||||
public get imageUri(): string
|
||||
{
|
||||
return this._imageUri;
|
||||
}
|
||||
|
@ -5,8 +5,8 @@ import { IMessageParser } from './../../../../../core';
|
||||
export class QuestDailyMessageParser implements IMessageParser
|
||||
{
|
||||
private _quest:QuestMessageData;
|
||||
private _easyQuestCount:number;
|
||||
private _hardQuestCount:number;
|
||||
private _easyQuestCount: number;
|
||||
private _hardQuestCount: number;
|
||||
|
||||
public flush(): boolean
|
||||
{
|
||||
|
@ -2,7 +2,7 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
|
||||
|
||||
export class RoomMutedParser implements IMessageParser
|
||||
{
|
||||
private _isMuted:boolean;
|
||||
private _isMuted: boolean;
|
||||
|
||||
public flush(): boolean
|
||||
{
|
||||
|
@ -2,11 +2,11 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
|
||||
|
||||
export class NowPlayingMessageParser implements IMessageParser
|
||||
{
|
||||
private _currentSongId:number;
|
||||
private _currentPosition:number;
|
||||
private _nextSongId:number;
|
||||
private _nextPosition:number;
|
||||
private _syncCount:number;
|
||||
private _currentSongId: number;
|
||||
private _currentPosition: number;
|
||||
private _nextSongId: number;
|
||||
private _nextPosition: number;
|
||||
private _syncCount: number;
|
||||
|
||||
flush(): boolean
|
||||
{
|
||||
@ -28,27 +28,27 @@ export class NowPlayingMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get currentSongId():number
|
||||
public get currentSongId(): number
|
||||
{
|
||||
return this._currentSongId;
|
||||
}
|
||||
|
||||
public get currentPosition():number
|
||||
public get currentPosition(): number
|
||||
{
|
||||
return this._currentPosition;
|
||||
}
|
||||
|
||||
public get nextSongId():number
|
||||
public get nextSongId(): number
|
||||
{
|
||||
return this._nextSongId;
|
||||
}
|
||||
|
||||
public get nextPosition():number
|
||||
public get nextPosition(): number
|
||||
{
|
||||
return this._nextPosition;
|
||||
}
|
||||
|
||||
public get syncCount():number
|
||||
public get syncCount(): number
|
||||
{
|
||||
return this._syncCount;
|
||||
}
|
||||
|
@ -2,8 +2,8 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
|
||||
|
||||
export class OfficialSongIdMessageParser implements IMessageParser
|
||||
{
|
||||
private _songId:number;
|
||||
private _officialSongId:string;
|
||||
private _songId: number;
|
||||
private _officialSongId: string;
|
||||
|
||||
flush(): boolean
|
||||
{
|
||||
@ -19,12 +19,12 @@ export class OfficialSongIdMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get songId():number
|
||||
public get songId(): number
|
||||
{
|
||||
return this._songId;
|
||||
}
|
||||
|
||||
public get officialSongId():string
|
||||
public get officialSongId(): string
|
||||
{
|
||||
return this._officialSongId;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { PlayListEntry } from '../../incoming/sound';
|
||||
|
||||
export class PlayListMessageParser implements IMessageParser
|
||||
{
|
||||
private _synchronizationCount:number;
|
||||
private _synchronizationCount: number;
|
||||
private _playlist:PlayListEntry[];
|
||||
|
||||
flush(): boolean
|
||||
@ -27,7 +27,7 @@ export class PlayListMessageParser implements IMessageParser
|
||||
return true;
|
||||
}
|
||||
|
||||
public get synchronizationCount():number
|
||||
public get synchronizationCount(): number
|
||||
{
|
||||
return this._synchronizationCount;
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ export class BadgeBaseAndLevel
|
||||
return this._level;
|
||||
}
|
||||
|
||||
public set level(k :number)
|
||||
public set level(k : number)
|
||||
{
|
||||
this._level = Math.max(1, k);
|
||||
}
|
||||
|
@ -951,7 +951,7 @@ export class RoomMessageHandler extends Disposable
|
||||
|
||||
// public _SafeStr_10580(event:_SafeStr_2242): void
|
||||
// {
|
||||
// var arrayIndex:int;
|
||||
// var arrayIndex: number;
|
||||
// var discoColours:Array;
|
||||
// var discoTimer:Timer;
|
||||
// var eventParser:_SafeStr_4576 = (event.parser as _SafeStr_4576);
|
||||
|
@ -1,8 +1,8 @@
|
||||
export class FriendFurniEngravingWidgetType
|
||||
{
|
||||
public static readonly LOVE_LOCK:number = 0;
|
||||
public static readonly CARVE_A_TREE:number = 1;
|
||||
public static readonly FRIENDS_PORTRAIT:number = 2;
|
||||
public static readonly WILD_WEST_WANTED:number = 3;
|
||||
public static readonly HABBOWEEN:number = 4;
|
||||
public static readonly LOVE_LOCK: number = 0;
|
||||
public static readonly CARVE_A_TREE: number = 1;
|
||||
public static readonly FRIENDS_PORTRAIT: number = 2;
|
||||
public static readonly WILD_WEST_WANTED: number = 3;
|
||||
public static readonly HABBOWEEN: number = 4;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { RoomObjectUpdateMessage } from '../../../room/messages/RoomObjectUpdate
|
||||
export class ObjectModelDataUpdateMessage extends RoomObjectUpdateMessage
|
||||
{
|
||||
private _numberKey: string;
|
||||
private _numberValue:number;
|
||||
private _numberValue: number;
|
||||
|
||||
constructor(numberKey: string, numberValue: number)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ import { Vector3d } from '../../../room/utils/Vector3d';
|
||||
export class RoomPlaneBitmapMaskData
|
||||
{
|
||||
public static WINDOW: string = 'window';
|
||||
public static HOLE:string = 'hole';
|
||||
public static HOLE: string = 'hole';
|
||||
|
||||
private _loc: Vector3d;
|
||||
private _type: string;
|
||||
@ -53,4 +53,4 @@ export class RoomPlaneBitmapMaskData
|
||||
{
|
||||
this._loc = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,8 +8,8 @@ export class FurnitureGiftWrappedFireworksVisualization extends FurnitureFirewor
|
||||
private static MAX_PACKET_TYPE_VALUE: number = 9;
|
||||
private static MAX_RIBBON_TYPE_VALUE: number = 11;
|
||||
|
||||
private _packetType:number = 0;
|
||||
private _ribbonType:number = 0;
|
||||
private _packetType: number = 0;
|
||||
private _ribbonType: number = 0;
|
||||
private _lastAnimationId: number = 0;
|
||||
|
||||
public update(geometry: IRoomGeometry, time: number, update: boolean, skipUpdate: boolean)
|
||||
|
@ -254,7 +254,7 @@ export class SpriteDataCollector
|
||||
// }
|
||||
// }
|
||||
|
||||
// var _local_8:String = _arg_4.configuration.getProperty('image.library.url');
|
||||
// var _local_8: string = _arg_4.configuration.getProperty('image.library.url');
|
||||
// _local_6 = _local_6.replace('%image.library.url%', _local_8);
|
||||
// if (_local_6.indexOf('%group.badge.url%') != -1)
|
||||
// {
|
||||
|
@ -45,7 +45,7 @@ export class RoomObjectCacheItem
|
||||
return this._objectId;
|
||||
}
|
||||
|
||||
public set objectId(k:number)
|
||||
public set objectId(k: number)
|
||||
{
|
||||
this._objectId = k;
|
||||
}
|
||||
|
@ -7,14 +7,14 @@ export class Rasterizer
|
||||
{
|
||||
// public static line(k:BitmapData, _arg_2: Point, _arg_3: Point, _arg_4: number): void
|
||||
// {
|
||||
// var _local_5:int;
|
||||
// var _local_6:int;
|
||||
// var _local_7:int;
|
||||
// var _local_8:int;
|
||||
// var _local_9:int;
|
||||
// var _local_10:int;
|
||||
// var _local_11:int = _arg_2.x;
|
||||
// var _local_12:int = _arg_2.y;
|
||||
// var _local_5: number;
|
||||
// var _local_6: number;
|
||||
// var _local_7: number;
|
||||
// var _local_8: number;
|
||||
// var _local_9: number;
|
||||
// var _local_10: number;
|
||||
// var _local_11: number = _arg_2.x;
|
||||
// var _local_12: number = _arg_2.y;
|
||||
// _local_5 = (_arg_3.x - _arg_2.x);
|
||||
// _local_6 = (_arg_3.y - _arg_2.y);
|
||||
// _local_8 = ((_local_5 > 0) ? 1 : -1);
|
||||
|
Loading…
Reference in New Issue
Block a user