Skip to content

McpClashMobManager

Class in IpDrv · IpDrv.McpClashMobManager

Object › McpServiceBase › McpClashMobBase › McpClashMobManager

Using it from Lua
h7.find_all("McpClashMobManager")            -- live instances
h7.find_class("IpDrv.McpClashMobManager")   -- the class
h7.hook("IpDrv.McpClashMobManager.AcceptChallenge", fn)

Structs

McpChallengeRequest

FieldType
UniqueChallengeIdstring
HTTPRequestHttpRequestInterface

McpChallengeUserRequest

FieldType
UniqueUserIdstring
ChallengeStatusRequestsarray<McpChallengeRequest>
ChallengeAcceptRequestsarray<McpChallengeRequest>
ChallengeUpdateProgressRequestsarray<McpChallengeRequest>
ChallengeUpdateRewardRequestsarray<McpChallengeRequest>

Properties

NameTypeNotes
AcceptChallengeUrlStringconfig
ChallengeEventsarray<McpClashMobChallengeEvent>
ChallengeListUrlStringconfig
ChallengeMultiStatusUrlStringconfig
ChallengeStatusUrlStringconfig
ChallengeUserRequestsarray<McpChallengeUserRequest>
ChallengeUserStatusarray<McpClashMobChallengeUserStatus>
FileCacheOnlineTitleFileCacheInterface
FileDownloaderMcpClashMobFileDownload
HTTPRequestChallengeListHttpRequestInterface
TempChallengeUserStatusMcpClashMobChallengeUserStatus
TempChallengeUserStatusArrayarray<McpClashMobChallengeUserStatus>
UpdateChallengeProgressUrlStringconfig
UpdateRewardProgressUrlStringconfig

Functions

NameDeclaration
AcceptChallengefunction AcceptChallenge(string UniqueChallengeId, string UniqueUserId, String SaveSlotId, bool bLiked = false, bool bCommented = false, bool bRetweeted = false)
ClearCachedChallengeFilefunction ClearCachedChallengeFile(string UniqueChallengeId, string DlName)
DeleteCachedChallengeFilefunction DeleteCachedChallengeFile(string UniqueChallengeId, string DlName)
DownloadChallengeFilefunction DownloadChallengeFile(string UniqueChallengeId, string DlName)
GetChallengeFileContentsfunction GetChallengeFileContents(string UniqueChallengeId, string DlName, out array OutFileContents)
GetChallengeFileListfunction GetChallengeFileList(string UniqueChallengeId, out array<McpClashMobChallengeFile> OutChallengeFiles)
GetChallengeListfunction GetChallengeList(out array<McpClashMobChallengeEvent> OutChallengeEvents)
GetChallengeUserStatusfunction GetChallengeUserStatus(string UniqueChallengeId, string UniqueUserId, out array<McpClashMobChallengeUserStatus> OutChallengeUserStatuses)
Initprotected event Init()
OnAcceptChallengeHTTPRequestCompleteprivate function OnAcceptChallengeHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnDownloadMcpFileCompletefunction OnDownloadMcpFileComplete(bool bWasSuccessful, string DlName)
OnLoadCachedFileCompleteprivate function OnLoadCachedFileComplete(bool bWasSuccessful, string DlName)
OnQueryChallengeListHTTPRequestCompleteprivate function OnQueryChallengeListHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnQueryChallengeMultiStatusHTTPRequestCompleteprivate function OnQueryChallengeMultiStatusHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnQueryChallengeStatusHTTPRequestCompleteprivate function OnQueryChallengeStatusHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnUpdateChallengeUserProgressHTTPRequestCompleteprivate function OnUpdateChallengeUserProgressHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
OnUpdateChallengeUserRewardHTTPRequestCompleteprivate function OnUpdateChallengeUserRewardHTTPRequestComplete(HttpRequestInterface Request, HttpResponseInterface Response, bool bWasSuccessful)
QueryChallengeListfunction QueryChallengeList(String McpId)
QueryChallengeMultiUserStatusfunction QueryChallengeMultiUserStatus(string UniqueChallengeId, string UniqueUserId, const out array UserIdsToRead, optional int Ignored, optional bool Ignored2)
QueryChallengeUserStatusfunction QueryChallengeUserStatus(string UniqueChallengeId, string UniqueUserId, optional bool Ignored)
UpdateChallengeUserProgressfunction UpdateChallengeUserProgress(string UniqueChallengeId, string UniqueUserId, String SaveSlotId, bool bDidComplete, int GoalProgress)
UpdateChallengeUserRewardfunction UpdateChallengeUserReward(string UniqueChallengeId, string UniqueUserId, String SaveSlotId, int UserReward)

Inherited

FromMembers
McpClashMobBase1 properties, 25 functions
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions