mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-02-18 19:02:35 +01:00
Renaming
This commit is contained in:
parent
6b8833041a
commit
47f1b47416
@ -13,6 +13,7 @@ export * from './friendlist';
|
||||
export * from './game';
|
||||
export * from './generic';
|
||||
export * from './group';
|
||||
export * from './groupforums';
|
||||
export * from './handshake';
|
||||
export * from './help';
|
||||
export * from './IncomingHeader';
|
||||
|
@ -4,7 +4,7 @@ import { GuildForumThread } from './GuildForumThread';
|
||||
export class GuildForumThreadsParser implements IMessageParser
|
||||
{
|
||||
private _groupId: number;
|
||||
private _startIndex; number;
|
||||
private _startIndex: number;
|
||||
private _amount: number;
|
||||
private _threads: GuildForumThread[];
|
||||
|
||||
|
@ -17,7 +17,7 @@ export class MessageData
|
||||
private _adminOperationTimeAsSeccondsAgo: number;
|
||||
private _authorPostCount: number;
|
||||
|
||||
public static _Str_4933(wrapper: IMessageDataWrapper):MessageData
|
||||
public static parse(wrapper: IMessageDataWrapper): MessageData
|
||||
{
|
||||
const messageData = new MessageData();
|
||||
|
||||
|
@ -22,7 +22,7 @@ export class PostMessageMessageParser implements IMessageParser
|
||||
|
||||
this._groupId = wrapper.readInt();
|
||||
this._threadId = wrapper.readInt();
|
||||
this._message = MessageData._Str_4933(wrapper);
|
||||
this._message = MessageData.parse(wrapper);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ export class ThreadMessagesMessageParser implements IMessageParser
|
||||
|
||||
while(i < this._amount)
|
||||
{
|
||||
const message = MessageData._Str_4933(wrapper);
|
||||
const message = MessageData.parse(wrapper);
|
||||
|
||||
message.groupID = this._groupId;
|
||||
message.threadId = this._threadId;
|
||||
|
@ -22,7 +22,7 @@ export class UpdateMessageMessageParser implements IMessageParser
|
||||
|
||||
this._groupId = wrapper.readInt();
|
||||
this._threadId = wrapper.readInt();
|
||||
this._message = MessageData._Str_4933(wrapper);
|
||||
this._message = MessageData.parse(wrapper);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user