Fix messy typings

This commit is contained in:
Bill 2021-08-26 00:08:46 -04:00
parent da733cdaa0
commit 912c46dd03
41 changed files with 191 additions and 191 deletions

View File

@ -2,18 +2,18 @@ import { IObjectData } from '../../../../room/object/data/IObjectData';
export class MarketplaceOffer export class MarketplaceOffer
{ {
private readonly _offerId:number; private readonly _offerId: number;
private readonly _furniId:number; private readonly _furniId: number;
private readonly _furniType:number; private readonly _furniType: number;
private readonly _extraData:string; private readonly _extraData: string;
private readonly _stuffData:IObjectData; private readonly _stuffData:IObjectData;
private readonly _price:number; private readonly _price: number;
private readonly _status:number; private readonly _status: number;
private readonly _timeLeftMinutes:number = -1; private readonly _timeLeftMinutes: number = -1;
private readonly _averagePrice:number; private readonly _averagePrice: number;
private readonly _offerCount: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._offerId = offerId;
this._furniId = furniId; this._furniId = furniId;
@ -27,22 +27,22 @@ export class MarketplaceOffer
this._offerCount = offerCount; this._offerCount = offerCount;
} }
public get offerId():number public get offerId(): number
{ {
return this._offerId; return this._offerId;
} }
public get furniId():number public get furniId(): number
{ {
return this._furniId; return this._furniId;
} }
public get furniType():number public get furniType(): number
{ {
return this._furniType; return this._furniType;
} }
public get extraData():string public get extraData(): string
{ {
return this._extraData; return this._extraData;
} }
@ -52,32 +52,32 @@ export class MarketplaceOffer
return this._stuffData; return this._stuffData;
} }
public get price():number public get price(): number
{ {
return this._price; return this._price;
} }
public get status():number public get status(): number
{ {
return this._status; return this._status;
} }
public get timeLeftMinutes():number public get timeLeftMinutes(): number
{ {
return this._timeLeftMinutes; return this._timeLeftMinutes;
} }
public get averagePrice():number public get averagePrice(): number
{ {
return this._averagePrice; return this._averagePrice;
} }
public get offerCount():number public get offerCount(): number
{ {
return this._offerCount; return this._offerCount;
} }
public get isUniqueLimitedItem():boolean public get isUniqueLimitedItem(): boolean
{ {
return (!(this.stuffData == null)) && (this.stuffData.uniqueSeries > 0); return (!(this.stuffData == null)) && (this.stuffData.uniqueSeries > 0);
} }

View File

@ -2,15 +2,15 @@ import { PlayListEntry } from '.';
export class SongInfoEntry extends PlayListEntry 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); super(id, length, name, creator);
this._data = data; this._data = data;
} }
public get data():string public get data(): string
{ {
return this._data; return this._data;
} }

View File

@ -2,7 +2,7 @@ import { RenderRoomMessageComposer } from './RenderRoomMessageComposer';
export class RenderRoomThumbnailMessageComposer extends 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); super(k, _arg_2, _arg_3, _arg_4, _arg_5);
} }

View File

@ -4,7 +4,7 @@ export class BuildersClubPlaceRoomItemMessageComposer implements IMessageCompose
{ {
private _data: ConstructorParameters<typeof BuildersClubPlaceRoomItemMessageComposer>; 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]; this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6];
} }

View File

@ -4,7 +4,7 @@ export class BuildersClubPlaceWallItemMessageComposer implements IMessageCompose
{ {
private _data: ConstructorParameters<typeof BuildersClubPlaceWallItemMessageComposer>; 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]; this._data = [k, _arg_2, _arg_3, _arg_4];
} }

View File

@ -4,7 +4,7 @@ export class PurchaseRoomAdMessageComposer implements IMessageComposer<Construct
{ {
private _data: ConstructorParameters<typeof PurchaseRoomAdMessageComposer>; 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 ]; this._data = [ k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6, _arg_7 ];
} }

View File

@ -4,7 +4,7 @@ export class SetTargetedOfferStateComposer implements IMessageComposer<Construct
{ {
private _data: ConstructorParameters<typeof SetTargetedOfferStateComposer>; private _data: ConstructorParameters<typeof SetTargetedOfferStateComposer>;
constructor(k:number, _arg_2:number) constructor(k: number, _arg_2: number)
{ {
this._data = [ k, _arg_2 ]; this._data = [ k, _arg_2 ];
} }

View File

@ -4,7 +4,7 @@ export class ShopTargetedOfferViewedComposer implements IMessageComposer<Constru
{ {
private _data: ConstructorParameters<typeof ShopTargetedOfferViewedComposer>; private _data: ConstructorParameters<typeof ShopTargetedOfferViewedComposer>;
constructor(k:number, _arg_2:number) constructor(k: number, _arg_2: number)
{ {
this._data = [ k, _arg_2 ]; this._data = [ k, _arg_2 ];
} }

View File

@ -4,7 +4,7 @@ export class CraftSecretComposer implements IMessageComposer<number[]>
{ {
private _data: 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); this._data = [k, _arg_2.length].concat(_arg_2);
} }

View File

@ -4,7 +4,7 @@ export class GetCraftingRecipesAvailableComposer implements IMessageComposer<num
{ {
private _data: 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); this._data = [k, _arg_2.length].concat(_arg_2);
} }

View File

@ -4,7 +4,7 @@ export class ModtoolSanctionBanComposer implements IMessageComposer<any>
{ {
private _data: 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(k);
this._data.push(arg2); this._data.push(arg2);

View File

@ -4,7 +4,7 @@ export class RoomDoorbellAccessComposer implements IMessageComposer<ConstructorP
{ {
private _data: ConstructorParameters<typeof RoomDoorbellAccessComposer>; private _data: ConstructorParameters<typeof RoomDoorbellAccessComposer>;
constructor(user:string, allowedEntry: boolean) constructor(user: string, allowedEntry: boolean)
{ {
this._data = [ user, allowedEntry ]; this._data = [ user, allowedEntry ];
} }

View File

@ -4,7 +4,7 @@ export class MoodlightSettingsSaveComposer implements IMessageComposer<Construct
{ {
private _data: ConstructorParameters<typeof MoodlightSettingsSaveComposer>; 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]; this._data = [k, arg2, arg3, arg4, arg5];
} }

View File

@ -4,7 +4,7 @@ export class ApplyTonerComposer implements IMessageComposer<ConstructorParameter
{ {
private _data: ConstructorParameters<typeof ApplyTonerComposer>; 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]; this._data = [k, arg2, arg3, arg4];
} }

View File

@ -4,8 +4,8 @@ import { ClubGiftData } from '../../incoming/catalog/ClubGiftData';
export class ClubGiftInfoParser implements IMessageParser export class ClubGiftInfoParser implements IMessageParser
{ {
private _daysUntilNextGift:number; private _daysUntilNextGift: number;
private _giftsAvailable:number; private _giftsAvailable: number;
private _offers: CatalogPageMessageOfferData[]; private _offers: CatalogPageMessageOfferData[];
private _giftData:Map<number, ClubGiftData>; private _giftData:Map<number, ClubGiftData>;
@ -47,12 +47,12 @@ export class ClubGiftInfoParser implements IMessageParser
return this._offers; return this._offers;
} }
public get daysUntilNextGift():number public get daysUntilNextGift(): number
{ {
return this._daysUntilNextGift; return this._daysUntilNextGift;
} }
public get giftsAvailable():number public get giftsAvailable(): number
{ {
return this._giftsAvailable; return this._giftsAvailable;
} }

View File

@ -2,7 +2,7 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
export class VoucherRedeemErrorMessageParser implements IMessageParser export class VoucherRedeemErrorMessageParser implements IMessageParser
{ {
private _errorCode:string = ''; private _errorCode: string = '';
public flush(): boolean public flush(): boolean
{ {
@ -19,7 +19,7 @@ export class VoucherRedeemErrorMessageParser implements IMessageParser
return true; return true;
} }
public get errorCode():string public get errorCode(): string
{ {
return this._errorCode; return this._errorCode;
} }

View File

@ -2,8 +2,8 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
export class VoucherRedeemOkMessageParser implements IMessageParser export class VoucherRedeemOkMessageParser implements IMessageParser
{ {
private _productName:string = ''; private _productName: string = '';
private _productDescription:string = ''; private _productDescription: string = '';
public flush(): boolean public flush(): boolean
{ {
@ -22,12 +22,12 @@ export class VoucherRedeemOkMessageParser implements IMessageParser
return true; return true;
} }
public get productName():string public get productName(): string
{ {
return this._productName; return this._productName;
} }
public get productDescription():string public get productDescription(): string
{ {
return this._productDescription; return this._productDescription;
} }

View File

@ -33,37 +33,37 @@ export class PresentOpenedMessageParser implements IMessageParser
return true; return true;
} }
public get itemType():string public get itemType(): string
{ {
return this._itemType; return this._itemType;
} }
public get classId():number public get classId(): number
{ {
return this._classId; return this._classId;
} }
public get productCode():string public get productCode(): string
{ {
return this._productCode; return this._productCode;
} }
public get placedItemId():number public get placedItemId(): number
{ {
return this._placedItemId; return this._placedItemId;
} }
public get placedItemType():string public get placedItemType(): string
{ {
return this._placedItemType; return this._placedItemType;
} }
public get placedInRoom():boolean public get placedInRoom(): boolean
{ {
return this._placedInRoom; return this._placedInRoom;
} }
public get petFigureString():string public get petFigureString(): string
{ {
return this._petFigureString; return this._petFigureString;
} }

View File

@ -121,7 +121,7 @@ export class MarketplaceOfferData
this._offerCount = count; this._offerCount = count;
} }
public get isUniqueLimitedItem():boolean public get isUniqueLimitedItem(): boolean
{ {
return (this.stuffData && (this.stuffData.uniqueSeries > 0)); return (this.stuffData && (this.stuffData.uniqueSeries > 0));
} }

View File

@ -76,7 +76,7 @@ export class MarketplaceOwnOffersParser implements IMessageParser
return this._offers; return this._offers;
} }
public get creditsWaiting():number public get creditsWaiting(): number
{ {
return this._creditsWaiting; return this._creditsWaiting;
} }

View File

@ -12,30 +12,30 @@ export class IssueInfoMessageParser implements IMessageParser
return this._issueData; return this._issueData;
} }
public flush():boolean public flush(): boolean
{ {
this._issueData = null; this._issueData = null;
return true; return true;
} }
public parse(k:IMessageDataWrapper):boolean public parse(k:IMessageDataWrapper): boolean
{ {
const _local_2:number = k.readInt(); const _local_2: number = k.readInt();
const _local_3:number = k.readInt(); const _local_3: number = k.readInt();
const _local_4:number = k.readInt(); const _local_4: number = k.readInt();
const _local_5:number = k.readInt(); const _local_5: number = k.readInt();
const _local_6:number = k.readInt(); const _local_6: number = k.readInt();
const _local_7:number = k.readInt(); const _local_7: number = k.readInt();
const _local_8:number = k.readInt(); const _local_8: number = k.readInt();
const _local_9:number = k.readInt(); const _local_9: number = k.readInt();
const _local_10:string = k.readString(); const _local_10: string = k.readString();
const _local_11:number = k.readInt(); const _local_11: number = k.readInt();
const _local_12:string = k.readString(); const _local_12: string = k.readString();
const _local_13:number = k.readInt(); const _local_13: number = k.readInt();
const _local_14:string = k.readString(); const _local_14: string = k.readString();
const _local_15:string = k.readString(); const _local_15: string = k.readString();
const _local_16:number = k.readInt(); const _local_16: number = k.readInt();
const _local_17:number = k.readInt(); const _local_17: number = k.readInt();
const _local_18:PatternMatchData[] = []; const _local_18:PatternMatchData[] = [];
let _local_19 = 0; let _local_19 = 0;
while(_local_19 < _local_17) while(_local_19 < _local_17)

View File

@ -4,16 +4,16 @@ import { IssueMessageData } from './IssueMessageData';
export class ModeratorInitData export class ModeratorInitData
{ {
private _messageTemplates:string[]; private _messageTemplates: string[];
private _roomMessageTemplates:string[]; private _roomMessageTemplates: string[];
private _issues:IssueMessageData[]; private _issues:IssueMessageData[];
private _cfhPermission:boolean; private _cfhPermission: boolean;
private _chatlogsPermission:boolean; private _chatlogsPermission: boolean;
private _alertPermission:boolean; private _alertPermission: boolean;
private _kickPermission:boolean; private _kickPermission: boolean;
private _banPermission:boolean; private _banPermission: boolean;
private _roomAlertPermission:boolean; private _roomAlertPermission: boolean;
private _roomKickPermission:boolean; private _roomKickPermission: boolean;
private _disposed: boolean = false; private _disposed: boolean = false;
@ -80,17 +80,17 @@ export class ModeratorInitData
this._issues = null; this._issues = null;
} }
public get disposed():boolean public get disposed(): boolean
{ {
return this._disposed; return this._disposed;
} }
public get messageTemplates():string[] public get messageTemplates(): string[]
{ {
return this._messageTemplates; return this._messageTemplates;
} }
public get roomMessageTemplates():string[] public get roomMessageTemplates(): string[]
{ {
return this._roomMessageTemplates; return this._roomMessageTemplates;
} }
@ -100,37 +100,37 @@ export class ModeratorInitData
return this._issues; return this._issues;
} }
public get cfhPermission():boolean public get cfhPermission(): boolean
{ {
return this._cfhPermission; return this._cfhPermission;
} }
public get chatlogsPermission():boolean public get chatlogsPermission(): boolean
{ {
return this._chatlogsPermission; return this._chatlogsPermission;
} }
public get alertPermission():boolean public get alertPermission(): boolean
{ {
return this._alertPermission; return this._alertPermission;
} }
public get kickPermission():boolean public get kickPermission(): boolean
{ {
return this._kickPermission; return this._kickPermission;
} }
public get banPermission():boolean public get banPermission(): boolean
{ {
return this._banPermission; return this._banPermission;
} }
public get roomAlertPermission():boolean public get roomAlertPermission(): boolean
{ {
return this._roomAlertPermission; return this._roomAlertPermission;
} }
public get roomKickPermission():boolean public get roomKickPermission(): boolean
{ {
return this._roomKickPermission; return this._roomKickPermission;
} }

View File

@ -2,25 +2,25 @@ import { IMessageDataWrapper } from '../../../../../../core';
export class ModeratorUserInfoData export class ModeratorUserInfoData
{ {
private _userId:number; private _userId: number;
private _userName:string; private _userName: string;
private _registrationAgeInMinutes:number; private _registrationAgeInMinutes: number;
private _minutesSinceLastLogin:number; private _minutesSinceLastLogin: number;
private _online:boolean; private _online: boolean;
private _cfhCount:number; private _cfhCount: number;
private _abusiveCfhCount:number; private _abusiveCfhCount: number;
private _cautionCount:number; private _cautionCount: number;
private _banCount:number; private _banCount: number;
private _tradingLockCount:number; private _tradingLockCount: number;
private _tradingExpiryDate:string; private _tradingExpiryDate: string;
private _lastPurchaseDate:string; private _lastPurchaseDate: string;
private _identityId:number; private _identityId: number;
private _identityRelatedBanCount:number; private _identityRelatedBanCount: number;
private _primaryEmailAddress:string; private _primaryEmailAddress: string;
private _figure:string; private _figure: string;
private _userClassification:string; private _userClassification: string;
private _lastSanctionTime:string = ''; private _lastSanctionTime: string = '';
private _sanctionAgeHours:number = 0; private _sanctionAgeHours: number = 0;
constructor(wrapper: IMessageDataWrapper) constructor(wrapper: IMessageDataWrapper)
{ {
@ -48,97 +48,97 @@ export class ModeratorUserInfoData
} }
} }
public get userId():number public get userId(): number
{ {
return this._userId; return this._userId;
} }
public get userName():string public get userName(): string
{ {
return this._userName; return this._userName;
} }
public get figure():string public get figure(): string
{ {
return this._figure; return this._figure;
} }
public get registrationAgeInMinutes():number public get registrationAgeInMinutes(): number
{ {
return this._registrationAgeInMinutes; return this._registrationAgeInMinutes;
} }
public get minutesSinceLastLogin():number public get minutesSinceLastLogin(): number
{ {
return this._minutesSinceLastLogin; return this._minutesSinceLastLogin;
} }
public get online():boolean public get online(): boolean
{ {
return this._online; return this._online;
} }
public get cfhCount():number public get cfhCount(): number
{ {
return this._cfhCount; return this._cfhCount;
} }
public get abusiveCfhCount():number public get abusiveCfhCount(): number
{ {
return this._abusiveCfhCount; return this._abusiveCfhCount;
} }
public get cautionCount():number public get cautionCount(): number
{ {
return this._cautionCount; return this._cautionCount;
} }
public get banCount():number public get banCount(): number
{ {
return this._banCount; return this._banCount;
} }
public get tradingLockCount():number public get tradingLockCount(): number
{ {
return this._tradingLockCount; return this._tradingLockCount;
} }
public get tradingExpiryDate():string public get tradingExpiryDate(): string
{ {
return this._tradingExpiryDate; return this._tradingExpiryDate;
} }
public get lastPurchaseDate():string public get lastPurchaseDate(): string
{ {
return this._lastPurchaseDate; return this._lastPurchaseDate;
} }
public get identityId():number public get identityId(): number
{ {
return this._identityId; return this._identityId;
} }
public get identityRelatedBanCount():number public get identityRelatedBanCount(): number
{ {
return this._identityRelatedBanCount; return this._identityRelatedBanCount;
} }
public get primaryEmailAddress():string public get primaryEmailAddress(): string
{ {
return this._primaryEmailAddress; return this._primaryEmailAddress;
} }
public get userClassification():string public get userClassification(): string
{ {
return this._userClassification; return this._userClassification;
} }
public get lastSanctionTime():string public get lastSanctionTime(): string
{ {
return this._lastSanctionTime; return this._lastSanctionTime;
} }
public get sanctionAgeHours():number public get sanctionAgeHours(): number
{ {
return this._sanctionAgeHours; return this._sanctionAgeHours;
} }

View File

@ -4,8 +4,8 @@ import { RoomVisitData } from './RoomVisitData';
export class ModtoolRoomVisitedData export class ModtoolRoomVisitedData
{ {
private _userId:number; private _userId: number;
private _userName:string; private _userName: string;
private _rooms:RoomVisitData[]; private _rooms:RoomVisitData[];
constructor(k:IMessageDataWrapper) constructor(k:IMessageDataWrapper)
@ -22,12 +22,12 @@ export class ModtoolRoomVisitedData
} }
} }
public get userId():number public get userId(): number
{ {
return this._userId; return this._userId;
} }
public get userName():string public get userName(): string
{ {
return this._userName; return this._userName;
} }

View File

@ -3,10 +3,10 @@ import { IDisposable } from '../../../../../../core/common/disposable/IDisposabl
export class PatternMatchData implements IDisposable export class PatternMatchData implements IDisposable
{ {
private _pattern:string; private _pattern: string;
private _startIndex:number; private _startIndex: number;
private _endIndex:number; private _endIndex: number;
private _disposed:boolean = false; private _disposed: boolean = false;
constructor(k:IMessageDataWrapper) constructor(k:IMessageDataWrapper)
{ {
@ -23,22 +23,22 @@ export class PatternMatchData implements IDisposable
this._endIndex = -1; this._endIndex = -1;
} }
public get disposed():boolean public get disposed(): boolean
{ {
return this._disposed; return this._disposed;
} }
public get pattern():string public get pattern(): string
{ {
return this._pattern; return this._pattern;
} }
public get startIndex():number public get startIndex(): number
{ {
return this._startIndex; return this._startIndex;
} }
public get endIndex():number public get endIndex(): number
{ {
return this._endIndex; return this._endIndex;
} }

View File

@ -2,10 +2,10 @@ import { IMessageDataWrapper } from '../../../../../../core';
export class RoomVisitData export class RoomVisitData
{ {
private _roomId:number; private _roomId: number;
private _roomName:string; private _roomName: string;
private _enterHour:number; private _enterHour: number;
private _enterMinute:number; private _enterMinute: number;
constructor(k:IMessageDataWrapper) constructor(k:IMessageDataWrapper)
{ {
@ -15,22 +15,22 @@ export class RoomVisitData
this._enterMinute = k.readInt(); this._enterMinute = k.readInt();
} }
public get roomId():number public get roomId(): number
{ {
return this._roomId; return this._roomId;
} }
public get roomName():string public get roomName(): string
{ {
return this._roomName; return this._roomName;
} }
public get enterHour():number public get enterHour(): number
{ {
return this._enterHour; return this._enterHour;
} }
public get enterMinute():number public get enterMinute(): number
{ {
return this._enterMinute; return this._enterMinute;
} }

View File

@ -19,7 +19,7 @@ export class EpicPopupMessageParser implements IMessageParser
return true; return true;
} }
public get imageUri():string public get imageUri(): string
{ {
return this._imageUri; return this._imageUri;
} }

View File

@ -5,8 +5,8 @@ import { IMessageParser } from './../../../../../core';
export class QuestDailyMessageParser implements IMessageParser export class QuestDailyMessageParser implements IMessageParser
{ {
private _quest:QuestMessageData; private _quest:QuestMessageData;
private _easyQuestCount:number; private _easyQuestCount: number;
private _hardQuestCount:number; private _hardQuestCount: number;
public flush(): boolean public flush(): boolean
{ {

View File

@ -2,7 +2,7 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
export class RoomMutedParser implements IMessageParser export class RoomMutedParser implements IMessageParser
{ {
private _isMuted:boolean; private _isMuted: boolean;
public flush(): boolean public flush(): boolean
{ {

View File

@ -2,11 +2,11 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
export class NowPlayingMessageParser implements IMessageParser export class NowPlayingMessageParser implements IMessageParser
{ {
private _currentSongId:number; private _currentSongId: number;
private _currentPosition:number; private _currentPosition: number;
private _nextSongId:number; private _nextSongId: number;
private _nextPosition:number; private _nextPosition: number;
private _syncCount:number; private _syncCount: number;
flush(): boolean flush(): boolean
{ {
@ -28,27 +28,27 @@ export class NowPlayingMessageParser implements IMessageParser
return true; return true;
} }
public get currentSongId():number public get currentSongId(): number
{ {
return this._currentSongId; return this._currentSongId;
} }
public get currentPosition():number public get currentPosition(): number
{ {
return this._currentPosition; return this._currentPosition;
} }
public get nextSongId():number public get nextSongId(): number
{ {
return this._nextSongId; return this._nextSongId;
} }
public get nextPosition():number public get nextPosition(): number
{ {
return this._nextPosition; return this._nextPosition;
} }
public get syncCount():number public get syncCount(): number
{ {
return this._syncCount; return this._syncCount;
} }

View File

@ -2,8 +2,8 @@ import { IMessageDataWrapper, IMessageParser } from '../../../../../core';
export class OfficialSongIdMessageParser implements IMessageParser export class OfficialSongIdMessageParser implements IMessageParser
{ {
private _songId:number; private _songId: number;
private _officialSongId:string; private _officialSongId: string;
flush(): boolean flush(): boolean
{ {
@ -19,12 +19,12 @@ export class OfficialSongIdMessageParser implements IMessageParser
return true; return true;
} }
public get songId():number public get songId(): number
{ {
return this._songId; return this._songId;
} }
public get officialSongId():string public get officialSongId(): string
{ {
return this._officialSongId; return this._officialSongId;
} }

View File

@ -3,7 +3,7 @@ import { PlayListEntry } from '../../incoming/sound';
export class PlayListMessageParser implements IMessageParser export class PlayListMessageParser implements IMessageParser
{ {
private _synchronizationCount:number; private _synchronizationCount: number;
private _playlist:PlayListEntry[]; private _playlist:PlayListEntry[];
flush(): boolean flush(): boolean
@ -27,7 +27,7 @@ export class PlayListMessageParser implements IMessageParser
return true; return true;
} }
public get synchronizationCount():number public get synchronizationCount(): number
{ {
return this._synchronizationCount; return this._synchronizationCount;
} }

View File

@ -36,7 +36,7 @@ export class BadgeBaseAndLevel
return this._level; return this._level;
} }
public set level(k :number) public set level(k : number)
{ {
this._level = Math.max(1, k); this._level = Math.max(1, k);
} }

View File

@ -951,7 +951,7 @@ export class RoomMessageHandler extends Disposable
// public _SafeStr_10580(event:_SafeStr_2242): void // public _SafeStr_10580(event:_SafeStr_2242): void
// { // {
// var arrayIndex:int; // var arrayIndex: number;
// var discoColours:Array; // var discoColours:Array;
// var discoTimer:Timer; // var discoTimer:Timer;
// var eventParser:_SafeStr_4576 = (event.parser as _SafeStr_4576); // var eventParser:_SafeStr_4576 = (event.parser as _SafeStr_4576);

View File

@ -1,8 +1,8 @@
export class FriendFurniEngravingWidgetType export class FriendFurniEngravingWidgetType
{ {
public static readonly LOVE_LOCK:number = 0; public static readonly LOVE_LOCK: number = 0;
public static readonly CARVE_A_TREE:number = 1; public static readonly CARVE_A_TREE: number = 1;
public static readonly FRIENDS_PORTRAIT:number = 2; public static readonly FRIENDS_PORTRAIT: number = 2;
public static readonly WILD_WEST_WANTED:number = 3; public static readonly WILD_WEST_WANTED: number = 3;
public static readonly HABBOWEEN:number = 4; public static readonly HABBOWEEN: number = 4;
} }

View File

@ -3,7 +3,7 @@ import { RoomObjectUpdateMessage } from '../../../room/messages/RoomObjectUpdate
export class ObjectModelDataUpdateMessage extends RoomObjectUpdateMessage export class ObjectModelDataUpdateMessage extends RoomObjectUpdateMessage
{ {
private _numberKey: string; private _numberKey: string;
private _numberValue:number; private _numberValue: number;
constructor(numberKey: string, numberValue: number) constructor(numberKey: string, numberValue: number)
{ {

View File

@ -4,7 +4,7 @@ import { Vector3d } from '../../../room/utils/Vector3d';
export class RoomPlaneBitmapMaskData export class RoomPlaneBitmapMaskData
{ {
public static WINDOW: string = 'window'; public static WINDOW: string = 'window';
public static HOLE:string = 'hole'; public static HOLE: string = 'hole';
private _loc: Vector3d; private _loc: Vector3d;
private _type: string; private _type: string;
@ -53,4 +53,4 @@ export class RoomPlaneBitmapMaskData
{ {
this._loc = null; this._loc = null;
} }
} }

View File

@ -8,8 +8,8 @@ export class FurnitureGiftWrappedFireworksVisualization extends FurnitureFirewor
private static MAX_PACKET_TYPE_VALUE: number = 9; private static MAX_PACKET_TYPE_VALUE: number = 9;
private static MAX_RIBBON_TYPE_VALUE: number = 11; private static MAX_RIBBON_TYPE_VALUE: number = 11;
private _packetType:number = 0; private _packetType: number = 0;
private _ribbonType:number = 0; private _ribbonType: number = 0;
private _lastAnimationId: number = 0; private _lastAnimationId: number = 0;
public update(geometry: IRoomGeometry, time: number, update: boolean, skipUpdate: boolean) public update(geometry: IRoomGeometry, time: number, update: boolean, skipUpdate: boolean)

View File

@ -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); // _local_6 = _local_6.replace('%image.library.url%', _local_8);
// if (_local_6.indexOf('%group.badge.url%') != -1) // if (_local_6.indexOf('%group.badge.url%') != -1)
// { // {

View File

@ -45,7 +45,7 @@ export class RoomObjectCacheItem
return this._objectId; return this._objectId;
} }
public set objectId(k:number) public set objectId(k: number)
{ {
this._objectId = k; this._objectId = k;
} }

View File

@ -7,14 +7,14 @@ export class Rasterizer
{ {
// public static line(k:BitmapData, _arg_2: Point, _arg_3: Point, _arg_4: number): void // public static line(k:BitmapData, _arg_2: Point, _arg_3: Point, _arg_4: number): void
// { // {
// var _local_5:int; // var _local_5: number;
// var _local_6:int; // var _local_6: number;
// var _local_7:int; // var _local_7: number;
// var _local_8:int; // var _local_8: number;
// var _local_9:int; // var _local_9: number;
// var _local_10:int; // var _local_10: number;
// var _local_11:int = _arg_2.x; // var _local_11: number = _arg_2.x;
// var _local_12:int = _arg_2.y; // var _local_12: number = _arg_2.y;
// _local_5 = (_arg_3.x - _arg_2.x); // _local_5 = (_arg_3.x - _arg_2.x);
// _local_6 = (_arg_3.y - _arg_2.y); // _local_6 = (_arg_3.y - _arg_2.y);
// _local_8 = ((_local_5 > 0) ? 1 : -1); // _local_8 = ((_local_5 > 0) ? 1 : -1);