added outgoing help packets

This commit is contained in:
dank074 2021-11-11 21:23:41 -06:00
parent 91bf769348
commit 62ac80cab2
32 changed files with 697 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -343,4 +343,33 @@ export class OutgoingHeader
public static GET_YOUTUBE_DISPLAY_STATUS = 336; public static GET_YOUTUBE_DISPLAY_STATUS = 336;
public static SET_YOUTUBE_DISPLAY_PLAYLIST = 2069; public static SET_YOUTUBE_DISPLAY_PLAYLIST = 2069;
public static GO_TO_FLAT = 685; public static GO_TO_FLAT = 685;
public static CALL_FOR_HELP_FROM_FORUM_MESSAGE = 1412;
public static CALL_FOR_HELP_FROM_FORUM_THREAD = 534;
public static CALL_FOR_HELP_FROM_IM = 2950;
public static CALL_FOR_HELP_FROM_PHOTO = 2492;
public static CALL_FOR_HELP_FROM_SELFIE = 2755;
public static CHAT_REVIEW_GUIDE_DECIDES = 3365;
public static CHAT_REVIEW_GUIDE_DETACHED = 2501;
public static CHAT_REVIEW_GUIDE_VOTE = 3961;
public static CHAT_REVIEW_SESSION_CREATE = 3060;
public static DELETE_PENDING_CALLS_FOR_HELP = 3605;
public static GET_CFH_STATUS = 2746;
public static GET_FAQ_CATEGORY = 3445;
public static GET_FAQ_TEXT = 1849;
public static GET_GUIDE_REPORTING_STATUS = 3786;
public static GET_PENDING_CALLS_FOR_HELP = 3267;
public static GET_QUIZ_QUESTIONS = 1296;
public static GUIDE_SESSION_CREATE = 3338;
public static GUIDE_SESSION_FEEDBACK = 477;
public static GUIDE_SESSION_GET_REQUESTER_ROOM = 1052;
public static GUIDE_SESSION_GUIDE_DECIDES = 1424;
public static GUIDE_SESSION_INVITE_REQUESTER = 234;
public static GUIDE_SESSION_IS_TYPING = 519;
public static GUIDE_SESSION_MESSAGE = 3899
public static GUIDE_SESSION_ON_DUTY_UPDATE = 1922;
public static GUIDE_SESSION_REPORT = 3969;
public static GUIDE_SESSION_REQUESTER_CANCELS = 291;
public static GUIDE_SESSION_RESOLVED = 887;
public static POST_QUIZ_ANSWERS = 3720;
public static SEARCH_FAQS = 2031;
} }

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class CallForHelpFromForumMessageMessageComposer implements IMessageComposer<ConstructorParameters<typeof CallForHelpFromForumMessageMessageComposer>>
{
private _data: ConstructorParameters<typeof CallForHelpFromForumMessageMessageComposer>;
constructor(k:number, _arg_2:number, _arg_3:number, _arg_4:number, _arg_5:string)
{
this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class CallForHelpFromForumThreadMessageComposer implements IMessageComposer<ConstructorParameters<typeof CallForHelpFromForumThreadMessageComposer>>
{
private _data: ConstructorParameters<typeof CallForHelpFromForumThreadMessageComposer>;
constructor(k:number, _arg_2:number, _arg_3:number, _arg_4:string)
{
this._data = [k, _arg_2, _arg_3, _arg_4];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class CallForHelpFromIMMessageComposer implements IMessageComposer<any>
{
private _data: any;
constructor(message:string, topicId:number, reportedUserId:number, chatEntries:(string|number)[])
{
this._data = [message, topicId, reportedUserId, chatEntries.length / 2, ...chatEntries];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class CallForHelpFromPhotoMessageComposer implements IMessageComposer<ConstructorParameters<typeof CallForHelpFromPhotoMessageComposer>>
{
private _data: ConstructorParameters<typeof CallForHelpFromPhotoMessageComposer>;
constructor(k:string, _arg_2:number, _arg_3:number, _arg_4:number, _arg_5:number)
{
this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class CallForHelpFromSelfieMessageComposer implements IMessageComposer<ConstructorParameters<typeof CallForHelpFromSelfieMessageComposer>>
{
private _data: ConstructorParameters<typeof CallForHelpFromSelfieMessageComposer>;
constructor(k:string, _arg_2:number, _arg_3:number, _arg_4:string, _arg_5:number)
{
this._data = [k, _arg_2, _arg_3, _arg_4, _arg_5];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class ChatReviewGuideDecidesOnOfferMessageComposer implements IMessageComposer<ConstructorParameters<typeof ChatReviewGuideDecidesOnOfferMessageComposer>>
{
private _data: ConstructorParameters<typeof ChatReviewGuideDecidesOnOfferMessageComposer>;
constructor(k:boolean)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class ChatReviewGuideDetachedMessageComposer implements IMessageComposer<ConstructorParameters<typeof ChatReviewGuideDetachedMessageComposer>>
{
private _data: ConstructorParameters<typeof ChatReviewGuideDetachedMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class ChatReviewGuideVoteMessageComposer implements IMessageComposer<ConstructorParameters<typeof ChatReviewGuideVoteMessageComposer>>
{
private _data: ConstructorParameters<typeof ChatReviewGuideVoteMessageComposer>;
constructor(k:number)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class ChatReviewSessionCreateMessageComposer implements IMessageComposer<ConstructorParameters<typeof ChatReviewSessionCreateMessageComposer>>
{
private _data: ConstructorParameters<typeof ChatReviewSessionCreateMessageComposer>;
constructor(k:number, _arg_2:number)
{
this._data = [k, _arg_2];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class DeletePendingCallsForHelpMessageComposer implements IMessageComposer<ConstructorParameters<typeof DeletePendingCallsForHelpMessageComposer>>
{
private _data: ConstructorParameters<typeof DeletePendingCallsForHelpMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetCfhStatusMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetCfhStatusMessageComposer>>
{
private _data: ConstructorParameters<typeof GetCfhStatusMessageComposer>;
constructor(k:boolean)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetFaqCategoryMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetFaqCategoryMessageComposer>>
{
private _data: ConstructorParameters<typeof GetFaqCategoryMessageComposer>;
constructor(categoryId:number)
{
this._data = [categoryId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetFaqTextMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetFaqTextMessageComposer>>
{
private _data: ConstructorParameters<typeof GetFaqTextMessageComposer>;
constructor(questionId:number)
{
this._data = [questionId];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetGuideReportingStatusMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetGuideReportingStatusMessageComposer>>
{
private _data: ConstructorParameters<typeof GetGuideReportingStatusMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetPendingCallsForHelpMessageComposer implements IMessageComposer<ConstructorParameters<typeof GetPendingCallsForHelpMessageComposer>>
{
private _data: ConstructorParameters<typeof GetPendingCallsForHelpMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GetQuizQuestionsComposer implements IMessageComposer<ConstructorParameters<typeof GetQuizQuestionsComposer>>
{
private _data: ConstructorParameters<typeof GetQuizQuestionsComposer>;
constructor(k:string)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionCreateMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionCreateMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionCreateMessageComposer>;
constructor(k:number, _arg_2:string)
{
this._data = [k, _arg_2];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionFeedbackMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionFeedbackMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionFeedbackMessageComposer>;
constructor(k:boolean)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionGetRequesterRoomMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionGetRequesterRoomMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionGetRequesterRoomMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionGuideDecidesMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionGuideDecidesMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionGuideDecidesMessageComposer>;
constructor(k:boolean)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionInviteRequesterMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionInviteRequesterMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionInviteRequesterMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionIsTypingMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionIsTypingMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionIsTypingMessageComposer>;
constructor(k:boolean)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionMessageMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionMessageMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionMessageMessageComposer>;
constructor(k:string)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionOnDutyUpdateMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionOnDutyUpdateMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionOnDutyUpdateMessageComposer>;
constructor(k:boolean, _arg_2:boolean, _arg_3:boolean, _arg_4:boolean)
{
this._data = [k, _arg_2, _arg_3, _arg_4];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionReportMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionReportMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionReportMessageComposer>;
constructor(k:string)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionRequesterCancelsMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionRequesterCancelsMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionRequesterCancelsMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class GuideSessionResolvedMessageComposer implements IMessageComposer<ConstructorParameters<typeof GuideSessionResolvedMessageComposer>>
{
private _data: ConstructorParameters<typeof GuideSessionResolvedMessageComposer>;
constructor()
{
this._data = [];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class PostQuizAnswersComposer implements IMessageComposer<any>
{
private _data: any;
constructor(quizCode:string, answerIds:number[])
{
this._data = [quizCode, answerIds.length, ...answerIds];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -0,0 +1,21 @@
import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer';
export class SearchFaqsMessageComposer implements IMessageComposer<ConstructorParameters<typeof SearchFaqsMessageComposer>>
{
private _data: ConstructorParameters<typeof SearchFaqsMessageComposer>;
constructor(k:string)
{
this._data = [k];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}

View File

@ -1 +1,30 @@
export * from './CallForHelpFromForumMessageMessageComposer';
export * from './CallForHelpFromForumThreadMessageComposer';
export * from './CallForHelpFromIMMessageComposer';
export * from './CallForHelpFromPhotoMessageComposer';
export * from './CallForHelpFromSelfieMessageComposer';
export * from './CallForHelpMessageComposer'; export * from './CallForHelpMessageComposer';
export * from './ChatReviewGuideDecidesOnOfferMessageComposer';
export * from './ChatReviewGuideDetachedMessageComposer';
export * from './ChatReviewGuideVoteMessageComposer';
export * from './ChatReviewSessionCreateMessageComposer';
export * from './DeletePendingCallsForHelpMessageComposer';
export * from './GetCfhStatusMessageComposer';
export * from './GetFaqCategoryMessageComposer';
export * from './GetFaqTextMessageComposer';
export * from './GetGuideReportingStatusMessageComposer';
export * from './GetPendingCallsForHelpMessageComposer';
export * from './GetQuizQuestionsComposer';
export * from './GuideSessionCreateMessageComposer';
export * from './GuideSessionFeedbackMessageComposer';
export * from './GuideSessionGetRequesterRoomMessageComposer';
export * from './GuideSessionGuideDecidesMessageComposer';
export * from './GuideSessionInviteRequesterMessageComposer';
export * from './GuideSessionIsTypingMessageComposer';
export * from './GuideSessionMessageMessageComposer';
export * from './GuideSessionOnDutyUpdateMessageComposer';
export * from './GuideSessionReportMessageComposer';
export * from './GuideSessionRequesterCancelsMessageComposer';
export * from './GuideSessionResolvedMessageComposer';
export * from './PostQuizAnswersComposer';
export * from './SearchFaqsMessageComposer';