mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
changes
This commit is contained in:
parent
22425e9b60
commit
28316de30f
@ -3,7 +3,7 @@ import { ChatRecordData } from './ChatRecordData';
|
||||
|
||||
export class CfhChatlogData
|
||||
{
|
||||
private _callId: number;
|
||||
private _issueId: number;
|
||||
private _callerUserId: number;
|
||||
private _reportedUserId: number;
|
||||
private _chatRecordId: number;
|
||||
@ -11,16 +11,16 @@ export class CfhChatlogData
|
||||
|
||||
constructor(k:IMessageDataWrapper)
|
||||
{
|
||||
this._callId = k.readInt();
|
||||
this._issueId = k.readInt();
|
||||
this._callerUserId = k.readInt();
|
||||
this._reportedUserId = k.readInt();
|
||||
this._chatRecordId = k.readInt();
|
||||
this._chatRecord = new ChatRecordData(k);
|
||||
}
|
||||
|
||||
public get callId(): number
|
||||
public get issueId(): number
|
||||
{
|
||||
return this._callId;
|
||||
return this._issueId;
|
||||
}
|
||||
|
||||
public get callerUserId(): number
|
||||
|
@ -1,13 +1,16 @@
|
||||
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
|
||||
|
||||
|
||||
export class CloseIssuesMessageComposer implements IMessageComposer<number[]>
|
||||
{
|
||||
public static readonly RESOLUTION_USELESS = 1;
|
||||
public static readonly RESOLUTION_ABUSIVE = 2;
|
||||
public static readonly RESOLUTION_RESOLVED = 3;
|
||||
|
||||
private _data: number[];
|
||||
|
||||
constructor(issueIds: number[], _arg_2: number)
|
||||
constructor(issueIds: number[], resolutionType: number)
|
||||
{
|
||||
this._data = [ _arg_2, issueIds.length, ...issueIds];
|
||||
this._data = [ resolutionType, issueIds.length, ...issueIds];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class PickIssuesMessageComposer implements IMessageComposer<any>
|
||||
{
|
||||
private _data: any;
|
||||
|
||||
constructor(k:number[], _arg_2:boolean, _arg_3:number, _arg_4:string)
|
||||
constructor(issueIds:number[], retryEnabled:boolean, retryCount:number, message:string)
|
||||
{
|
||||
this._data = [k.length, ...k, _arg_2, _arg_3, _arg_4];
|
||||
this._data = [issueIds.length, ...issueIds, retryEnabled, retryCount, message];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
@ -4,9 +4,9 @@ export class ReleaseIssuesMessageComposer implements IMessageComposer<number[]>
|
||||
{
|
||||
private _data: number[];
|
||||
|
||||
constructor(k: number[])
|
||||
constructor(issueIds: number[])
|
||||
{
|
||||
this._data = [k.length, ...k];
|
||||
this._data = [issueIds.length, ...issueIds];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
Loading…
Reference in New Issue
Block a user