import { ProfileController } from "../controllers/ProfileController"; import { IEmptyRequestData } from "../models/eft/common/IEmptyRequestData"; import { IPmcData } from "../models/eft/common/IPmcData"; import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData"; import { INullResponseData } from "../models/eft/httpResponse/INullResponseData"; import { IGetMiniProfileRequestData } from "../models/eft/launcher/IGetMiniProfileRequestData"; import { GetProfileStatusResponseData } from "../models/eft/profile/GetProfileStatusResponseData"; import { IGetProfileSettingsRequest } from "../models/eft/profile/IGetProfileSettingsRequest"; import { IProfileChangeNicknameRequestData } from "../models/eft/profile/IProfileChangeNicknameRequestData"; import { IProfileChangeVoiceRequestData } from "../models/eft/profile/IProfileChangeVoiceRequestData"; import { IProfileCreateRequestData } from "../models/eft/profile/IProfileCreateRequestData"; import { ISearchFriendRequestData } from "../models/eft/profile/ISearchFriendRequestData"; import { ISearchFriendResponse } from "../models/eft/profile/ISearchFriendResponse"; import { IValidateNicknameRequestData } from "../models/eft/profile/IValidateNicknameRequestData"; import { HttpResponseUtil } from "../utils/HttpResponseUtil"; import { TimeUtil } from "../utils/TimeUtil"; /** Handle profile related client events */ export declare class ProfileCallbacks { protected httpResponse: HttpResponseUtil; protected timeUtil: TimeUtil; protected profileController: ProfileController; constructor(httpResponse: HttpResponseUtil, timeUtil: TimeUtil, profileController: ProfileController); /** * Handle client/game/profile/create */ createProfile(url: string, info: IProfileCreateRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/game/profile/list * Get the complete player profile (scav + pmc character) */ getProfileData(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/game/profile/savage/regenerate * Handle the creation of a scav profile for player * Occurs post-raid and when profile first created immediately after character details are confirmed by player * @param url * @param info empty * @param sessionID Session id * @returns Profile object */ regenerateScav(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/game/profile/voice/change event */ changeVoice(url: string, info: IProfileChangeVoiceRequestData, sessionID: string): INullResponseData; /** * Handle client/game/profile/nickname/change event * Client allows player to adjust their profile name */ changeNickname(url: string, info: IProfileChangeNicknameRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/game/profile/nickname/validate */ validateNickname(url: string, info: IValidateNicknameRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/game/profile/nickname/reserved */ getReservedNickname(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/profile/status * Called when creating a character when choosing a character face/voice */ getProfileStatus(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData; /** * Handle client/profile/settings */ getProfileSettings(url: string, info: IGetProfileSettingsRequest, sessionId: string): IGetBodyResponseData; /** * Handle client/game/profile/search */ searchFriend(url: string, info: ISearchFriendRequestData, sessionID: string): IGetBodyResponseData; /** * Handle launcher/profile/info */ getMiniProfile(url: string, info: IGetMiniProfileRequestData, sessionID: string): string; /** * Handle /launcher/profiles */ getAllMiniProfiles(url: string, info: IEmptyRequestData, sessionID: string): string; }