19#ifndef __HIVE_RESULTAPI_H__
20#define __HIVE_RESULTAPI_H__
28 #define NS_HIVE_BEGIN namespace hive {
30 #define USING_NS_HIVE using namespace hive
31 #define NS_HIVE ::hive
43#define HIVESDK_DLLEXPORT __declspec(dllexport)
44#pragma warning(disable : 4251)
47#define HIVESDK_DLLEXPORT HIVESDK_API
49#define HIVESDK_DLLEXPORT
69 RESTORE_NOT_OWNED = 10,
76 ITEM_DELIVERY_DELAYED = 11,
100 INVALID_SESSION = -9,
107 CONFLICT_PLAYER = -11,
120 DEVELOPER_ERROR = -13,
126 DUPLICATED_PROMOTION_CODE = -14,
150 RealNameVerification = 2100,
152 CommonHTTPConnectionException = -1,
153 CommonHTTPConnectionOpenException = -2,
154 CommonHTTPContentEncodingNotSupported = -3,
155 CommonHTTPDecryptionFailed = -4,
156 CommonHTTPResponseException = -5,
157 CommonHTTPInvalidBody = -6,
158 CommonHTTPInvalidJSON = -7,
159 CommonHTTPInvalidURLRequest = -8,
160 CommonHTTPInvalidURL = -9,
161 CommonHTTPGzipDecodeFailed = -10,
162 CommonHTTPNetworkError = -11,
163 CommonLibraryMissing = -12,
164 CommonNotSupported = -13,
165 CommonInProgress = -14,
167 TestWithNSError = -801,
168 TestWithNSString = -802,
169 TestWithNSDictionary = -803,
170 CommonUnknown = -999,
171 AuthNotInitialized = -1100001,
172 AuthInvalidServerResponse = -1100002,
173 AuthServerResponseNotSuccessful = -1100003,
174 AuthInvalidUser = -1100004,
175 AuthUserCanceled = -1100005,
176 AuthInProgressLoginLogout = -1100006,
177 AuthInvalidSelectedAccountURL = -1100007,
178 AuthInvalidSelectedVID = -1100008,
179 AuthOnRunningV4 = -1100009,
180 AuthInvalidConfigurationXml = -1100010,
181 AuthInvalidParamLoginType = -1100011,
182 AuthInvalidParamVID = -1100012,
183 AuthInvalidParamSessionKey = -1100013,
184 AuthInvalidGuestSession = -1100014,
185 AuthUserInBlacklist = -1100015,
186 AuthInvalidAccountSession = -1100016,
187 AuthJsonException = -1100017,
188 AuthCanceled = -1100018,
189 AuthDialogAlreadyUsing = -1100019,
190 AuthNetworkErrorShowLoginSelection = -1100020,
191 AuthNetworkErrorCheckMaintenance = -1100021,
192 AuthResponseFailCheckMaintenance = -1100022,
193 AuthResponseFailMaintenanceDialog = -1100023,
194 AuthNetworkErrorProcessLoginType = -1100024,
195 AuthNetworkErrorGuestLogin = -1100025,
196 AuthHIVESocialLoginCancelled = -1100026,
197 AuthNetworkErrorLoginCenterLogin = -1100027,
198 AuthNetworkErrorRequestUpdate = -1100028,
199 AuthNetworkErrorRequestAdultConfirm = -1100029,
200 AuthInvalidParamVIDList = -1100030,
201 AuthAgreementFail_DoExit = -1100031,
202 AuthMaintenanceActionDefault_DoExit = -1100032,
203 AuthMaintenanceActionOpenURL_DoExit = -1100033,
204 AuthMaintenanceActionExit_DoExit = -1100034,
205 AuthMaintenanceActionDone = -1100035,
206 AuthMaintenanceTimeover_DoExit = -1100036,
207 AuthUserInBlacklistActionDefault_DoExit = -1100037,
208 AuthUserInBlacklistActionOpenURL_DoExit = -1100038,
209 AuthUserInBlacklistActionExit_DoExit = -1100039,
210 AuthUserInBlacklistActionDone = -1100040,
211 AuthUserInBlacklistTimeover_DoExit = -1100041,
212 AuthInProgressInitialize = -1100042,
213 AuthSkipPermissionView = -1100043,
214 AuthInProgressRequestPermissionViewData = -1100044,
215 AuthNetworkErrorRequestPermissionViewData = -1100045,
216 AuthProviderMissingKey = -1100046,
217 AuthResponseFailLogoutOnlyPGSConnectedUser = -1100047,
218 AuthNetworkErrorLoginCenterSignOut = -1100048,
219 AuthV4InvalidServerResponse = -1200001,
220 AuthV4OnRunningV1 = -1200002,
221 AuthV4InProgressSignIn = -1200003,
222 AuthV4InvalidConfigurationXml = -1200004,
223 AuthV4InvalidSavedPlayerInfo = -1200005,
224 AuthV4AlreadyAuthorized = -1200006,
225 AuthV4ConflictPlayer = -1200007,
226 AuthV4UserInBlacklist = -1200008,
227 AuthV4InvalidSession = -1200009,
228 AuthV4ConflictPlayerHandlingFail = -1200010,
229 AuthV4InvalidParamDid = -1200011,
230 AuthV4NotInitialized = -1200012,
231 AuthV4SessionExist = -1200013,
232 AuthV4SessionNotExist = -1200014,
233 AuthV4InvalidProviderType = -1200015,
234 AuthV4SigninFirst = -1200016,
235 AuthV4ProviderAlreadyConnected = -1200017,
236 AuthV4ProviderAlreadyDisconnected = -1200018,
237 AuthV4InvalidParamSelectedPlayerid = -1200019,
238 AuthV4InvalidConflictInfo = -1200020,
239 AuthV4InvalidPlayeridList = -1200021,
240 AuthV4JsonException = -1200022,
241 AuthV4InvalidSigninSelection = -1200023,
242 AuthV4NotSupportedProviderType = -1200024,
243 AuthV4WebviewDialogError = -1200025,
244 AuthV4InProgressAuthDialog = -1200026,
245 AuthV4InvalidParamViewID = -1200027,
246 AuthV4InvalidParamPlayerID = -1200028,
247 AuthV4NetworkErrorSigninGuest = -1200029,
248 AuthV4ResponseFailProviderUserID = -1200030,
249 AuthV4ResponseFailSelectedPlayerID = -1200031,
250 AuthV4CancelDialog = -1200032,
251 AuthV4ResponseFailSocialDialog = -1200033,
252 AuthV4ProfileNetworkError = -1200034,
253 AuthV4ProfileResponseFail = -1200035,
254 AuthV4MembershipNetworkError = -1200036,
255 AuthV4MembershipResponseFail = -1200037,
256 AuthV4ResponseFailSigninProvider = -1200038,
257 AuthV4ResponseFailCheckProvider = -1200039,
258 AuthV4ResponseFailGetFriendList = -1200040,
259 AuthV4ResponseFailSigninGuest = -1200041,
260 AuthV4InProgressConnect = -1200042,
261 AuthV4InProgressShowLeaderboard = -1200043,
262 AuthV4InProgressShowAchievements = -1200044,
263 AuthV4PlayerChange = -1200045,
264 AuthV4HelperImplifiedLoginFail = -1200046,
265 AuthV4PlayerResolved = -1200047,
266 AuthV4AgreementFail_DoExit = -1200048,
267 AuthV4AgreementFailWithWebviewError_DoExit = -1200049,
268 AuthV4MaintenanceActionDefault_DoExit = -1200050,
269 AuthV4MaintenanceActionOpenURL_DoExit = -1200051,
270 AuthV4MaintenanceActionExit_DoExit = -1200052,
271 AuthV4MaintenanceActionDone = -1200053,
272 AuthV4MaintenanceTimeover_DoExit = -1200054,
273 AuthV4NetworkError = -1200055,
274 AuthV4InvalidResponseData = -1200056,
275 AuthV4ServerResponseError = -1200057,
276 AuthV4NeedSignIn = -1200058,
277 AuthV4InProgress = -1200059,
278 AuthV4InvalidParam = -1200060,
279 AuthV4SkipPermissionView = -1200061,
280 AuthV4InvalidCertification = -1200062,
281 AuthV4LastProviderCantDisconnect = -1200063,
282 AuthV4ServiceShutdown = -1200064,
283 AuthV4SignOutNotAllowGuestLogout = -1200065,
284 AuthV4SessionProcessingFail = -1200066,
285 AuthV4ProviderLoginError = -1200101,
286 AuthV4ProviderLogoutError = -1200102,
287 AuthV4ProviderNotSupportGetFriends = -1200103,
288 AuthV4ProviderLoginCancel = -1200104,
289 AuthV4ProviderMissingKey = -1200105,
290 authV4ProviderNotSupportedMyInquiry = -1200106,
291 AuthV4FacebookUserCanceled = -1200201,
292 AuthV4FacebookResponseFailGetFriends = -1200202,
293 AuthV4FacebookNetworkErrorUploadProfile = -1200203,
294 AuthV4FacebookResponseFailUploadProfile = -1200204,
295 AuthV4FacebookResponseError = -1200205,
296 AuthV4FacebookInvalidResponseData = -1200206,
297 AuthV4FacebookNetworkError = -1200207,
298 AuthV4FacebookCancel = -1200208,
299 AuthV4GoogleResponseFailLogin = -1200301,
300 AuthV4GoogleResponseFailLogout = -1200302,
301 AuthV4GoogleNetworkErrorUploadProfile = -1200303,
302 AuthV4GoogleResponseFailUploadProfile = -1200304,
303 AuthV4GoogleResponseFailShowAchievements = -1200305,
304 AuthV4GoogleResponseFailShowLeaderboards = -1200306,
305 AuthV4GoogleNotSupported = -1200307,
306 AuthV4GoogleLoginCancel = -1200308,
307 AuthV4GoogleNetworkError = -1200309,
308 AuthV4GoogleLogout = -1200310,
309 AuthV4GoogleResponseFailAchievementsReveal = -1200311,
310 AuthV4GoogleResponseFailAchievementsUnlock = -1200312,
311 AuthV4GoogleResponseFailAchievementsIncrement = -1200313,
312 AuthV4GoogleResponseFailLeaderboardsSubmitScore = -1200314,
313 AuthV4GoogleNeedSignIn = -1200315,
314 AuthV4GoogleNeedSettingOption = -1200316,
315 AuthV4GoogleResponseFailPGSGetServerAccessToken = -1200317,
316 AuthV4GoogleResponseFailPGSGetPlayerId = -1200318,
317 AuthV4GoogleObjectNotReady = -1200319,
318 AuthV4AppleLoginCancel = -1200401,
319 AuthV4AppleResponseFailLogin = -1200402,
320 AuthV4AppleTimeOut = -1200403,
321 AuthV4AppleResponseFailReportScore = -1200404,
322 AuthV4AppleInProgressGameCenterVC = -1200405,
323 AuthV4AppleResponseFailLoadAchievements = -1200406,
324 AuthV4AppleResponseFailReportAchievements = -1200407,
325 AuthV4AppleResponseFailResetAchievements = -1200408,
326 AuthV4AppleNotSupported = -1200409,
327 AuthV4AppleInProgress = -1200410,
328 AuthV4AppleResponseError = -1200411,
329 AuthV4AppleCancel = -1200412,
330 AuthV4VKResponseFailLogin = -1200501,
331 AuthV4VKInvalidParamSDK = -1200502,
332 AuthV4VKNotInitialized = -1200503,
333 AuthV4VKCancelLogin = -1200504,
334 AuthV4VKInvalidSession = -1200505,
335 AuthV4VKResponseFailGetFriends = -1200506,
336 AuthV4VKResponseFailLogout = -1200507,
337 AuthV4VKResponseFailUploadProfile = -1200508,
338 AuthV4VKNetworkErrorUploadProfile = -1200509,
339 AuthV4VKInProgress = -1200510,
340 AuthV4VKResponseError = -1200511,
341 AuthV4VKNetworkError = -1200512,
342 AuthV4VKInvalidParam = -1200513,
343 AuthV4VKCancel = -1200514,
344 AuthV4VKTokenResponseError = -1200515,
345 AuthV4WechatInProgressLoginLogout = -1200601,
346 AuthV4WechatResponseFailLogin = -1200602,
347 AuthV4WechatNotSupportedRequest = -1200603,
348 AuthV4WechatResponseFailUserInfo = -1200604,
349 AuthV4WechatNetworkErrorUserInfo = -1200605,
350 AuthV4WechatNetworkError = -1200606,
351 AuthV4WechatResponseFail = -1200607,
352 AuthV4WechatNetworkErrorLogin = -1200608,
353 AuthV4WechatLoginCancel = -1200609,
354 AuthV4WechatInProgress = -1200610,
355 AuthV4WechatResponseError = -1200611,
356 AuthV4WechatInvalidResponseData = -1200612,
357 AuthV4WechatInvalidAppKey = -1200613,
358 AuthV4HIVEDialogCancel = -1200701,
359 AuthV4HIVENetworkErrorUploadProfile = -1200702,
360 AuthV4HIVEResponseFailUploadProfile = -1200703,
361 AuthV4HIVEInProgress = -1200704,
362 AuthV4HIVEResponseError = -1200705,
363 AuthV4HIVENetworkError = -1200706,
364 AuthV4HIVEInvalidParam = -1200707,
365 AuthV4HIVECancel = -1200708,
366 AuthV4QQInProgressLoginLogout = -1200801,
367 AuthV4QQResponseFailLogin = -1200802,
368 AuthV4QQCancelLogin = -1200803,
369 AuthV4QQNetworkError = -1200804,
370 AuthV4QQNetworkErrorUploadProfile = -1200805,
371 AuthV4QQResponseFailUploadProfile = -1200806,
372 AuthV4QQCancelUploadProfile = -1200807,
373 AuthV4QQResponseFailLogout = -1200808,
374 AuthV4QQNotInitialized = -1200809,
375 AuthV4QQInProgress = -1200810,
376 AuthV4QQResponseError = -1200811,
377 AuthV4QQInvalidResponseData = -1200812,
378 AuthV4QQInvalidParam = -1200813,
379 AuthV4QQCancel = -1200814,
380 AuthV4SignInAppleUnknown = -1200901,
381 AuthV4SignInAppleCanceled = -1200902,
382 AuthV4SignInAppleFailed = -1200903,
383 AuthV4SignInAppleInvalidResponse = -1200904,
384 AuthV4SignInAppleNotHandled = -1200905,
385 AuthV4SignInAppleNotSupported = -1200906,
386 AuthV4LineInvalidParam = -1201001,
387 AuthV4LineCancel = -1201002,
388 AuthV4LineResponseError = -1201003,
389 AuthV4LineNetworkError = -1201004,
390 AuthV4TwitterResponseError = -1201101,
391 AuthV4TwitterInvalidParam = -1201102,
392 AuthV4WeverseInProgressLoginLogout = -1201201,
393 AuthV4WeverseResponseFailLogin = -1201202,
394 AuthV4WeverseNotSupported = -1201203,
395 AuthV4WeverseNetworkError = -1201204,
396 AuthV4WeverseLoginCancel = -1201205,
397 AuthV4WeverseResponseError = -1201206,
398 AuthV4NotRegisteredDevice = -1201300,
399 AuthV4HuaweiNotInitialized = -1201401,
400 AuthV4HuaweiInProgress = -1201402,
401 AuthV4HuaweiInvalidParam = -1201403,
402 AuthV4HuaweiLoginCancel = -1201404,
403 AuthV4HuaweiNetworkError = -1201405,
404 AuthV4HuaweiResponseError = -1201406,
405 SocialResponseFailDismissDialog = -2000001,
406 SocialCancelDismissDialog = -2000002,
407 SocialCancelConnect = -2000003,
408 SocialResponseFailConnect = -2000004,
409 SocialCancelGetPictureFromGallery = -2000005,
410 SocialResponseFailGetPictureFromGallery = -2000006,
411 SocialCancelSharePhoto = -2000007,
412 SocialResponseFailSharePhoto = -2000008,
413 SocialInvalidParam = -2000009,
414 SocialProviderNotInitialized = -2000010,
415 SocialNeedSignIn = -2000011,
416 SocialGoogleNotInitialized = -2000101,
417 SocialGoogleResponseFailGetProfile = -2000102,
418 SocialGoogleInProgressConnect = -2000103,
419 SocialGoogleResponseFailConnect = -2000104,
420 SocialGoogleCancelGetProfile = -2000105,
421 SocialGoogleCancelConnect = -2000106,
422 SocialGoogleNetworkErrorUpdateServerFlag = -2000107,
423 SocialGoogleResponseFailUpdateServerFlag = -2000108,
424 SocialFacebookNotInitialized = -2000201,
425 SocialFacebookResponseFailGetProfile = -2000202,
426 SocialFacebookCancelGetProfile = -2000203,
427 SocialFacebookResponseFailGetFriends = -2000204,
428 SocialFacebookCancelGetFriends = -2000205,
429 SocialFacebookResponseFailSendMessage = -2000206,
430 SocialFacebookCancelSendMessage = -2000207,
431 SocialFacebookMessageDialogShowFail = -2000208,
432 SocialFacebookResponseFailShowInvitation = -2000209,
433 SocialFacebookCancelShowInvitation = -2000210,
434 SocialFacebookInvalidParamPost = -2000211,
435 SocialFacebookPostDialogShowFail = -2000212,
436 SocialFacebookShareFail = -2000213,
437 SocialFacebookShareCancelled = -2000214,
438 SocialFacebookSendInvitationFail = -2000215,
439 SocialFacebookSendInvitationCancelled = -2000216,
440 SocialFacebookCancelPost = -2000217,
441 SocialFacebookResponseFailPost = -2000218,
442 SocialFacebookOperationException = -2000219,
443 SocialFacebookServiceException = -2000220,
444 SocialFacebookException = -2000221,
445 SocialHIVENotInitialized = -2000301,
446 SocialHIVENetworkErrorGetMyProfile = -2000302,
447 SocialHIVEInvalidParamSetMyProfile = -2000303,
448 SocialHIVENetworkErrorSetMyProfile = -2000304,
449 SocialHIVENetworkErrorGetFriends = -2000305,
450 SocialHIVEInvalidSession = -2000306,
451 SocialHIVEInvalidParamVID = -2000307,
452 SocialHIVENetworkErrorGetVIDByUIDList = -2000308,
453 SocialHIVENetworkErrorGetUIDByVIDList = -2000309,
454 SocialHIVEInvalidParamContentSendMessage = -2000310,
455 SocialHIVENetworkErrorSendMessage = -2000311,
456 SocialHIVEInvalidParamReceiptSendMessage = -2000312,
457 SocialHIVEInvalidParamUID = -2000313,
458 SocialHIVEInProgressSocialDialog = -2000314,
459 SocialHIVESocialDialogClosed = -2000315,
460 SocialHIVENetworkErrorGetBadgeInfo = -2000316,
461 SocialHIVEResponseFailGetMyProfile = -2000317,
462 SocialHIVEResponseFailSetMyProfile = -2000318,
463 SocialHIVEResponseFailGetFriends = -2000319,
464 SocialHIVEResponseFailGetVID = -2000320,
465 SocialHIVEResponseFailInvalidVIDList = -2000321,
466 SocialHIVEResponseFailGetUID = -2000322,
467 SocialHIVEResponseFailInvalidUIDList = -2000323,
468 SocialHIVEResponseFailSendMessage = -2000324,
469 SocialHIVEResponseFailGetBadgeInfo = -2000325,
470 SocialHIVEResponseFailDialogWebView = -2000326,
471 SocialHIVEResponseFailSocialDialog = -2000327,
472 SocialHIVEInvalidParamFriendType = -2000328,
473 SocialHIVEResponseFailGetProfiles = -2000329,
474 SocialHIVEInvalidParamGetProfiles = -2000330,
475 SocialHIVEResponseFail = -2000331,
476 SocialHIVEInvalidParamSendMessage = -2000332,
477 SocialHIVEInvalidParamSendInvitationMessage = -2000333,
478 SocialHIVEResponseFailGetPictureFromGallery = -2000334,
479 SocialHIVEResponseFailGetPictureFromCamera = -2000335,
480 SocialHIVENetworkErrorSendInvitationMessage = -2000336,
481 PromotionNotInitialized = -3000001,
482 PromotionAlreadyShowing = -3000002,
483 PromotionNetworkErrorShowCustomContents = -3000003,
484 PromotionNetworkErrorShowOfferwall = -3000004,
485 PromotionShowDialogFail = -3000005,
486 PromotionResponseFailGetViewInfo = -3000006,
487 PromotionNetworkError = -3000007,
488 PromotionServerResponseError = -3000008,
489 PromotionInvalidResponseData = -3000009,
490 PromotionShareFailed = -3000010,
491 UserEngagementResponseFail = -3200001,
492 UserEngagementAlreadySetReady = -3200002,
493 UserEngagementHandlerNotRegistered = -3200003,
494 UserEngagementNotLogined = -3200004,
495 UserEngagementEmptyCouponId = -3200005,
496 UserEngagementEmptyMarketPid = -3200006,
497 UserEngagementListenerNotRegistered = -3200007,
498 PromotionStartPlayback = -3300001,
499 PromotionFinishPlayback = -3300002,
500 PromotionYTPlayerError = -3300003,
501 PromotionCancelPlayback = -3300004,
502 PushNotInitialized = -4000001,
503 PushInvalidParamLocalPush = -4000002,
504 PushInvalidParamRemotePush = -4000003,
505 PushNetworkError = -4000004,
506 PushAgeGateUnder13 = -4000005,
507 PushInvalidResponseData = -4000006,
508 PushServerResponseError = -4000007,
509 PushNeedSignIn = -4000008,
510 IAPNotInitialize = -6000001,
511 IAPAlreadyInInitialize = -6000002,
512 IAPNetworkError = -6000003,
513 IAPNotSupportedMarket = -6000004,
514 IAPNeedLogin = -6000005,
515 IAPNeedShopInitialize = -6000006,
516 IAPNotSupportedOSVersion = -6000007,
517 IAPNeedRestore = -6000008,
518 IAPNothingToRestore = -6000010,
519 IAPFailRestore = -6000011,
520 IAPRestrictPayments = -6000012,
521 IAPNetworkJsonException = -6000013,
522 IAPMarketNotSupportedAPI = -6000014,
523 IAPFailMarketInitialize = -6000015,
524 IAPResponseError = -6000016,
525 IAPDialogActionDefault_DoExit = -6000017,
526 IAPDialogActionOpenURL_DoExit = -6000018,
527 IAPDialogActionExit_DoExit = -6000019,
528 IAPDialogActionDone = -6000020,
529 IAPDialogTimeover_DoExit = -6000021,
530 IAPInProgressPurchasing = -6000101,
531 IAPInProgressRestoring = -6000102,
532 IAPInProgressCheckPromotePurchase = -6000103,
533 IAPInProgressConnectingAppStore = -6000104,
534 IAPInProgressMarketSelection = -6000105,
535 IAPAppStoreError = -6000201,
536 IAPAppStoreResponseEmpty = -6000202,
537 IAPCannotFindGamePID = -6000301,
538 IAPProductNotExist = -6000302,
539 IAPEmptyMarketPID = -6000303,
540 IAPFailCreateSKPayment = -6000304,
541 IAPEmptyTransaction = -6000305,
542 IAPEmptyProduct = -6000306,
543 IAPCancelPayment = -6000307,
544 IAPFailPayment = -6000308,
545 IAPInvalidMarketPID = -6000309,
546 IAPPurchaseParamJsonException = -6000310,
547 IAPShopInfoParamJsonException = -6000311,
548 IAPBadgeParamJsonException = -6000312,
549 IAPInvalidParamEmptyMarketPID = -6000401,
550 IAPInvalidParamLocationCode = -6000402,
551 IAPBlockedUser = -6000501,
552 IAPPromoCodeMatchMultiMarketPID = -6000502,
553 IAPPromoCodeNotMatchMarketPID = -6000503,
554 IAPPromoCodeAlreadyUsed = -6000504,
555 IAPAppleReceiptNotConnected = -6000505,
556 IAPServerDefaultError = -6000506,
557 IAPInitializeMarketListIsEmpty = -6000601,
558 IAPInitializeMarketURLISEmpty = -6000602,
559 IAPEmptyMarketURL = -6000603,
560 IAPNotSelectedMarket = -6000604,
561 IAPPlayStoreLaunchPurchaseFlowException = -6000701,
562 IAPPlayStoreSetupFail = -6000702,
563 IAPPlayStoreQueryInventoryFail = -6000703,
564 IAPPlayStorePending = -6000704,
565 IAPOneStoreProductListEmpty = -6000801,
566 IAPOneStoreProductNetworkError = -6000802,
567 IAPOneStoreProductInfoError = -6000803,
568 IAPOneStoreInvalidRequestID = -6000804,
569 IAPOneStorePurchaseError = -6000805,
570 IAPOneStoreNetworkNullError = -6000806,
571 IAPOneStoreNetworkInvalidError = -6000807,
572 IAPLebiInitializeNetworkError = -6000901,
573 IAPLebiInitializeJsonException = -6000902,
574 IAPLebiPurchaseNetworkError = -6000903,
575 IAPLebiPurchaseJsonException = -6000904,
576 IAPLebiVerifyOrderNetworkError = -6000905,
577 IAPLebiVerifyOrderJsonException = -6000906,
578 IAPLebiBalanceNetworkError = -6000907,
579 IAPLebiBalanceParamJsonException = -6000908,
580 IAPLebiPostException = -6000909,
581 IAPLebiInternalRequestException = -6000910,
582 IAPLebiRestoreNetworkError = -6000911,
583 IAPV4NotInitialize = -6100001,
584 IAPV4NetworkError = -6100002,
585 IAPV4NotSupportedMarket = -6100003,
586 IAPV4NeedSignIn = -6100004,
587 IAPV4NeedMarketConnect = -6100005,
588 IAPV4NeedRestore = -6100006,
589 IAPV4NothingToRestore = -6100007,
590 IAPV4FailToRestore = -6100008,
591 IAPV4RestrictPayments = -6100009,
592 IAPV4FailMarketConnect = -6100010,
593 IAPV4ResponseError = -6100011,
594 IAPV4MarketNotSupportedAPI = -6100012,
595 IAPV4PendingPurchase = -6100013,
596 IAPV4InProgressMarketConnect = -6100101,
597 IAPV4InProgressPurchasing = -6100102,
598 IAPV4InProgressRestoring = -6100103,
599 IAPV4InProgressCheckPromote = -6100104,
600 IAPV4InProgressConnectAppStore = -6100105,
601 IAPV4InProgressMarketSelect = -6100106,
602 IAPV4AppStoreError = -6100201,
603 IAPV4AppStoreResponseEmpty = -6100202,
604 IAPV4ProductNotExsitInAppStore = -6100203,
605 IAPV4FinishMarketPidEmpty = -6100301,
606 IAPV4PromoteMarketPidEmpty = -6100302,
607 IAPV4FailCreateSKPayment = -6100303,
608 IAPV4FailToConvertNSSet = -6100304,
609 IAPV4InvalidLogType = -6100305,
610 IAPV4ProductNotExist = -6100306,
611 IAPV4RequestProductJsonException = -6100307,
612 IAPV4PurchaseParamJsonException = -6100308,
613 IAPV4RequestMarketJsonException = -6100309,
614 IAPV4ProductInfoJsonException = -6100310,
615 IAPV4CancelPayment = -6100311,
616 IAPV4FailPayment = -6100312,
617 IAPV4EmptyParamMarketPID = -6100401,
618 IAPV4EmptyMarketList = -6100501,
619 IAPV4EmptyMarketURL = -6100502,
620 IAPV4MarketPidListEmptyInIAPServer = -6100503,
621 IAPV4EmptyProductList = -6100504,
622 IAPV4ProductNotExistInIAPServer = -6100505,
623 IAPV4PlayStoreLaunchPurchaseFlowException = -6100701,
624 IAPV4PlayStoreSetupFail = -6100702,
625 IAPV4PlayStoreQueryInventoryFail = -6100703,
626 IAPV4PlayStoreFinishFail = -6100704,
627 IAPV4PlayStorePending = -6100705,
628 IAPV4OneStoreV5RemoteException = -6100801,
629 IAPV4OneStoreV5SecurityException = -6100802,
630 IAPV4OneStoreV5NeedUpdateException = -6100803,
631 IAPV4OneStoreCancelPayment = -6100804,
632 IAPV4OneStoreNetworkError = -6100805,
633 IAPV4OneStoreResponseError = -6100806,
634 IAPV4OneStoreProductNotExist = -6100807,
635 IAPV4OneStoreFailPayment = -6100808,
636 IAPV4OneStoreError = -6100809,
637 IAPV4OneStoreNeedRestore = -6100810,
638 IAPV4OneStoreNothingToRestore = -6100811,
639 IAPV4OneStoreUnablePayment = -6100812,
640 IAPV4OneStoreNeedSignIn = -6100813,
641 IAPV4OneStoreException = -6100814,
642 IAPV4OneStoreInvalidResponseData = -6100815,
643 IAPV4OneStoreInvalidParam = -6100816,
644 IAPV4LebiInitializeNetworkError = -6100901,
645 IAPV4LebiInitializeJsonException = -6100902,
646 IAPV4LebiPurchaseNetworkError = -6100903,
647 IAPV4LebiPurchaseJsonException = -6100904,
648 IAPV4LebiVerifyOrderNetworkError = -6100905,
649 IAPV4LebiVerifyOrderJsonException = -6100906,
650 IAPV4LebiBalanceNetworkError = -6100907,
651 IAPV4LebiBalanceParamJsonException = -6100908,
652 IAPV4LebiPostException = -6100909,
653 IAPV4LebiInternalRequestException = -6100910,
654 IAPV4LebiRestoreNetworkError = -6100911,
655 IAPV4LebiCancel = -6100912,
656 IAPV4LebiFinishFail = -6100913,
657 IAPV4CancelMarketSelect = -6100914,
658 IAPV4ServerResponseError = -6100915,
659 IAPV4HiveStoreSuccess = -6110000,
660 PlatformHelperOSNotSupported = -7000001,
661 PlatformHelperOSVersionNotSupported = -7000002,
662 PlatformHelperEmptyPermissions = -7000003,
663 PlatformHelperNotSupported = -7000004,
664 PlatformHelperInvalidParam = -7000005,
665 DataStoreNotExistKey = -8000001,
666 DataStoreNotExistColumn = -8000002,
667 DataStoreNotExistPublicKey = -8000003,
668 DataStoreNotInitialized = -8000004,
669 DataStoreNeedSignIn = -8000005,
670 DataStoreDisabled = -8000006,
671 DataStoreResponseError = -8000007,
672 DataStoreInvalidParam = -8000008,
673 DataStoreGameIsBeingInspected = -8000009,
674 AnalyticsConsentModeCanceled = -9000001,
675 MatchMakingNotInitialized = -10000001,
676 MatchMakingNeedSignIn = -10000002,
677 MatchMakingResponseError = -10000003,
678 ChatNotConnected = -11000001,
679 ChatNeedSignIn = -11000002,
680 ChatInvalidParam = -11000003,
681 ChatResponseError = -11000004,
688 std::string errorMessage;
698 ResultAPI(
int errorCode, std::string errorMessage);
699 ResultAPI(
int errorCode, Code code, std::string errorMessage);
704 bool isSuccess()
const;
705 ErrorCode getErrorCode()
const;
708 picojson::object toJson()
const;
710 std::string toString()
const;
712 bool needExit()
const;
721 HIVESDK_DLLEXPORT
const char* ResultAPIToString(
void* resultAPIPtr);
Definition: HIVE_ResultAPI.h:64