Update typings

This commit is contained in:
Bill 2021-07-22 00:29:43 -04:00
parent 432c649ee1
commit f513a0f431

View File

@ -3,7 +3,7 @@ import { IMessageParser } from '../../../../../../core/communication/messages/IM
export class UserWardrobePageParser implements IMessageParser export class UserWardrobePageParser implements IMessageParser
{ {
private _looks: Map<number, string[]>; private _looks: Map<number, [ string, string ]>;
public flush(): boolean public flush(): boolean
{ {
@ -26,7 +26,7 @@ export class UserWardrobePageParser implements IMessageParser
const look = wrapper.readString(); const look = wrapper.readString();
const gender = wrapper.readString(); const gender = wrapper.readString();
this._looks.set(slotId, [look, gender]); this._looks.set(slotId, [ look, gender ]);
totalLooks--; totalLooks--;
} }