mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 13:13:43 +00:00
Huge SceNp header additions and splitting
TUS, SNS, Commerce and Clans modules are now in seperate files. Added a lot of headers and structures.
This commit is contained in:
parent
27403162ad
commit
d36580f1dc
@ -15,11 +15,6 @@ extern void cellFont_unload();
|
||||
extern Module *cellFont;
|
||||
extern void sys_net_init();
|
||||
extern Module *sys_net;
|
||||
extern void sceNpTrophy_unload();
|
||||
extern void sceNpTrophy_init();
|
||||
extern Module *sceNpTrophy;
|
||||
extern void sceNp_init();
|
||||
extern Module *sceNp;
|
||||
extern void cellUserInfo_init();
|
||||
extern Module *cellUserInfo;
|
||||
extern void cellSysutil_init();
|
||||
@ -70,6 +65,23 @@ extern void cellVpost_init();
|
||||
extern Module *cellVpost;
|
||||
extern void libmixer_init();
|
||||
extern Module *libmixer;
|
||||
extern void sceNp_init();
|
||||
extern Module *sceNp;
|
||||
extern void sceNpClans_unload();
|
||||
extern void sceNpClans_init();
|
||||
extern Module *sceNpClans;
|
||||
extern void sceNpCommerce2_unload();
|
||||
extern void sceNpCommerce2_init();
|
||||
extern Module *sceNpCommerce2;
|
||||
extern void sceNpSns_unload();
|
||||
extern void sceNpSns_init();
|
||||
extern Module *sceNpSns;
|
||||
extern void sceNpTrophy_unload();
|
||||
extern void sceNpTrophy_init();
|
||||
extern Module *sceNpTrophy;
|
||||
extern void sceNpTus_unload();
|
||||
extern void sceNpTus_init();
|
||||
extern Module *sceNpTus;
|
||||
extern void sysPrxForUser_init();
|
||||
extern Module *sysPrxForUser;
|
||||
extern void sys_fs_init();
|
||||
|
@ -1471,844 +1471,6 @@ int sceNpLookupUserProfileAsync()
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendInvitationResponse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateClanInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrieveChallenges()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSearchByProfile()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetMemberInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCancelMembershipRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetAutoAcceptStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansTerm()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansDisbandClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansAddBlacklistEntry()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansLeaveClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetBlacklist()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendMembershipRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemoveBlacklistEntry()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateAutoAcceptStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanListByNpId()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCancelInvitation()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrieveAnnouncements()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansPostChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetMemberList()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrievePostedChallenges()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendMembershipResponse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCreateRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansInit()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansChangeMemberRole()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCreateClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansKickMember()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSearchByName()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
int sceNpClansPostAnnouncement()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendInvitation()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanList()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
int sceNpClansRemoveChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemovePostedChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansDestroyRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansJoinClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemoveAnnouncement()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansAbortRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateMemberInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoCheckoutStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingDescriptor()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetBGDLAvailability()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetStoreBrowseUserdata()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2Init()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoDlListFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2Term()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionAbort()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoDlListStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2AbortReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionFinish()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductBrowseStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetCategoryContentsResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2SetBGDLAvailability()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductCodeFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingInfoFromCategoryInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductBrowseFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoCheckoutFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetCategoryContentsResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetPrice()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameSkuInfoFromGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductCodeStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfoFromContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingInfoFromGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2ExecuteStoreBrowse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetProductInfoResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetProductInfoResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryInfoFromContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusCreateTransactionCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusPollAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTerm()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDestroyTitleCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAbortTransaction()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDestroyTransactionCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetTimeout()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusCreateTitleCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusInit()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusWaitAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpUtilBandwidthTestShutdown()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNp);
|
||||
@ -2562,146 +1724,6 @@ void sceNp_init()
|
||||
sceNp->AddFunc(0xfd39ae13, sceNpBasicGetFriendPresenceByNpId);
|
||||
sceNp->AddFunc(0xfe37a7f4, sceNpManagerGetNpId);
|
||||
sceNp->AddFunc(0xff0a2378, sceNpLookupUserProfileAsync);
|
||||
sceNp->AddFunc(0x095e12c6, sceNpClansSendInvitationResponse);
|
||||
sceNp->AddFunc(0x09f9e1a9, sceNpClansUpdateClanInfo);
|
||||
sceNp->AddFunc(0x0df25834, sceNpClansRetrieveChallenges);
|
||||
sceNp->AddFunc(0x1221a1bf, sceNpClansSearchByProfile);
|
||||
sceNp->AddFunc(0x20472da0, sceNpClansGetMemberInfo);
|
||||
sceNp->AddFunc(0x299ccc9b, sceNpClansCancelMembershipRequest);
|
||||
sceNp->AddFunc(0x38dadf1f, sceNpClansGetAutoAcceptStatus);
|
||||
sceNp->AddFunc(0x42332cb7, sceNpClansTerm);
|
||||
sceNp->AddFunc(0x4826f6d5, sceNpClansDisbandClan);
|
||||
sceNp->AddFunc(0x487de998, sceNpClansGetClanInfo);
|
||||
sceNp->AddFunc(0x4d06aef7, sceNpClansAddBlacklistEntry);
|
||||
sceNp->AddFunc(0x560f717b, sceNpClansLeaveClan);
|
||||
sceNp->AddFunc(0x56bc5a7c, sceNpClansGetBlacklist);
|
||||
sceNp->AddFunc(0x59743b2b, sceNpClansSendMembershipRequest);
|
||||
sceNp->AddFunc(0x5bff9da1, sceNpClansRemoveBlacklistEntry);
|
||||
sceNp->AddFunc(0x5da94854, sceNpClansUpdateAutoAcceptStatus);
|
||||
sceNp->AddFunc(0x672399a8, sceNpClansGetClanListByNpId);
|
||||
sceNp->AddFunc(0x726dffd5, sceNpClansCancelInvitation);
|
||||
sceNp->AddFunc(0x727aa7f8, sceNpClansRetrieveAnnouncements);
|
||||
sceNp->AddFunc(0x83d65529, sceNpClansPostChallenge);
|
||||
sceNp->AddFunc(0x856ff5c0, sceNpClansGetMemberList);
|
||||
sceNp->AddFunc(0x8e785b97, sceNpClansRetrievePostedChallenges);
|
||||
sceNp->AddFunc(0x942dbdc4, sceNpClansSendMembershipResponse);
|
||||
sceNp->AddFunc(0x9a72232d, sceNpClansCreateRequest);
|
||||
sceNp->AddFunc(0x9b820047, sceNpClansInit);
|
||||
sceNp->AddFunc(0x9cac2085, sceNpClansChangeMemberRole);
|
||||
sceNp->AddFunc(0xa6a31a38, sceNpClansCreateClan);
|
||||
sceNp->AddFunc(0xaa7912b5, sceNpClansKickMember);
|
||||
sceNp->AddFunc(0xace0cfba, sceNpClansSearchByName);
|
||||
sceNp->AddFunc(0xada45b84, sceNpClansPostAnnouncement);
|
||||
sceNp->AddFunc(0xbc05ef31, sceNpClansSendInvitation);
|
||||
sceNp->AddFunc(0xca4181b4, sceNpClansGetClanList);
|
||||
sceNp->AddFunc(0xce6dc0f0, sceNpClansRemoveChallenge);
|
||||
sceNp->AddFunc(0xd3346dc4, sceNpClansRemovePostedChallenge);
|
||||
sceNp->AddFunc(0xd6551cd1, sceNpClansDestroyRequest);
|
||||
sceNp->AddFunc(0xdbf300ca, sceNpClansJoinClan);
|
||||
sceNp->AddFunc(0xe2590f60, sceNpClansRemoveAnnouncement);
|
||||
sceNp->AddFunc(0xe82969e2, sceNpClansAbortRequest);
|
||||
sceNp->AddFunc(0xf4a2d52b, sceNpClansUpdateMemberInfo);
|
||||
sceNp->AddFunc(0x104551a6, sceNpCommerce2DoCheckoutStartAsync);
|
||||
sceNp->AddFunc(0x146618df, sceNpCommerce2GetProductInfoListGetResult);
|
||||
sceNp->AddFunc(0x150fdca3, sceNpCommerce2GetContentRatingDescriptor);
|
||||
sceNp->AddFunc(0x1fa1b312, sceNpCommerce2GetStoreBrowseUserdata);
|
||||
sceNp->AddFunc(0x2a910f05, sceNpCommerce2DestroyReq);
|
||||
sceNp->AddFunc(0x3539d233, sceNpCommerce2Init);
|
||||
sceNp->AddFunc(0x371a2edd, sceNpCommerce2GetCategoryContentsStart);
|
||||
sceNp->AddFunc(0x3d627d81, sceNpCommerce2GetBGDLAvailability);
|
||||
sceNp->AddFunc(0x410d42be, sceNpCommerce2DoDlListFinishAsync);
|
||||
sceNp->AddFunc(0x4d4a094c, sceNpCommerce2Term);
|
||||
sceNp->AddFunc(0x62023e98, sceNpCommerce2CreateSessionAbort);
|
||||
sceNp->AddFunc(0x6ca9efd4, sceNpCommerce2DoDlListStartAsync);
|
||||
sceNp->AddFunc(0x6f67ea80, sceNpCommerce2DestroyCtx);
|
||||
sceNp->AddFunc(0x7370d8d0, sceNpCommerce2GetCategoryContentsCreateReq);
|
||||
sceNp->AddFunc(0x8df0057f, sceNpCommerce2AbortReq);
|
||||
sceNp->AddFunc(0x8f46325b, sceNpCommerce2GetProductInfoStart);
|
||||
sceNp->AddFunc(0x91f8843d, sceNpCommerce2CreateSessionFinish);
|
||||
sceNp->AddFunc(0x972ab46c, sceNpCommerce2GetContentInfo);
|
||||
sceNp->AddFunc(0x9825a0fc, sceNpCommerce2DoProductBrowseStartAsync);
|
||||
sceNp->AddFunc(0x9cde07cc, sceNpCommerce2GetProductInfoListStart);
|
||||
sceNp->AddFunc(0x9d9cb96b, sceNpCommerce2DestroyGetCategoryContentsResult);
|
||||
sceNp->AddFunc(0xa5a863fe, sceNpCommerce2SetBGDLAvailability);
|
||||
sceNp->AddFunc(0xa975ebb4, sceNpCommerce2GetProductInfoCreateReq);
|
||||
sceNp->AddFunc(0xa9f945b3, sceNpCommerce2DoProductCodeFinishAsync);
|
||||
sceNp->AddFunc(0xac78c1f3, sceNpCommerce2GetContentRatingInfoFromCategoryInfo);
|
||||
sceNp->AddFunc(0xb23e3bd1, sceNpCommerce2DoProductBrowseFinishAsync);
|
||||
sceNp->AddFunc(0xbd49eab2, sceNpCommerce2GetCategoryInfo);
|
||||
sceNp->AddFunc(0xbf5f58ea, sceNpCommerce2GetProductInfoGetResult);
|
||||
sceNp->AddFunc(0xca0ea996, sceNpCommerce2GetCategoryContentsGetResult);
|
||||
sceNp->AddFunc(0xcc18cd2c, sceNpCommerce2CreateSessionStart);
|
||||
sceNp->AddFunc(0xd43a130e, sceNpCommerce2DoCheckoutFinishAsync);
|
||||
sceNp->AddFunc(0xd8a473a3, sceNpCommerce2InitGetCategoryContentsResult);
|
||||
sceNp->AddFunc(0xd9956ce7, sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult);
|
||||
sceNp->AddFunc(0xd9fdcec2, sceNpCommerce2CreateCtx);
|
||||
sceNp->AddFunc(0xda8e322d, sceNpCommerce2GetPrice);
|
||||
sceNp->AddFunc(0xdb19194c, sceNpCommerce2GetGameSkuInfoFromGameProductInfo);
|
||||
sceNp->AddFunc(0xde7ab33d, sceNpCommerce2DoProductCodeStartAsync);
|
||||
sceNp->AddFunc(0xe0f90e44, sceNpCommerce2InitGetProductInfoListResult);
|
||||
sceNp->AddFunc(0xe1e7b5ac, sceNpCommerce2GetProductInfoListCreateReq);
|
||||
sceNp->AddFunc(0xe51a4944, sceNpCommerce2GetGameProductInfoFromContentInfo);
|
||||
sceNp->AddFunc(0xec324c8f, sceNpCommerce2GetContentRatingInfoFromGameProductInfo);
|
||||
sceNp->AddFunc(0xeef51be0, sceNpCommerce2ExecuteStoreBrowse);
|
||||
sceNp->AddFunc(0xef645654, sceNpCommerce2GetGameProductInfo);
|
||||
sceNp->AddFunc(0xef8eafcd, sceNpCommerce2DestroyGetProductInfoResult);
|
||||
sceNp->AddFunc(0xf6139b58, sceNpCommerce2DestroyGetProductInfoListResult);
|
||||
sceNp->AddFunc(0xf798f5e3, sceNpCommerce2InitGetProductInfoResult);
|
||||
sceNp->AddFunc(0xfc216890, sceNpCommerce2GetCategoryInfoFromContentInfo);
|
||||
sceNp->AddFunc(0x01711e81, sceNpTusDeleteMultiSlotDataVUser);
|
||||
sceNp->AddFunc(0x0423e622, sceNpTusGetMultiSlotVariable);
|
||||
sceNp->AddFunc(0x065b610d, sceNpTusSetMultiSlotVariableAsync);
|
||||
sceNp->AddFunc(0x0835deb2, sceNpTusSetDataVUser);
|
||||
sceNp->AddFunc(0x0d15043b, sceNpTusGetMultiUserVariable);
|
||||
sceNp->AddFunc(0x17db7aa7, sceNpTusTryAndSetVariableVUserAsync);
|
||||
sceNp->AddFunc(0x1904435e, sceNpTusCreateTransactionCtx);
|
||||
sceNp->AddFunc(0x19bce18c, sceNpTusPollAsync);
|
||||
sceNp->AddFunc(0x1fa5c87d, sceNpTusAddAndGetVariableAsync);
|
||||
sceNp->AddFunc(0x225aed26, sceNpTusTerm);
|
||||
sceNp->AddFunc(0x2357ba9e, sceNpTusGetMultiSlotVariableVUser);
|
||||
sceNp->AddFunc(0x2ab21ea9, sceNpTusGetMultiSlotDataStatusVUserAsync);
|
||||
sceNp->AddFunc(0x2d1b9f1a, sceNpTusGetMultiUserDataStatusVUser);
|
||||
sceNp->AddFunc(0x2e162a62, sceNpTusDestroyTitleCtx);
|
||||
sceNp->AddFunc(0x3175af23, sceNpTusDeleteMultiSlotDataAsync);
|
||||
sceNp->AddFunc(0x325c6284, sceNpTusAbortTransaction);
|
||||
sceNp->AddFunc(0x348dbcb4, sceNpTusGetMultiUserDataStatus);
|
||||
sceNp->AddFunc(0x3602bc80, sceNpTusTryAndSetVariableVUser);
|
||||
sceNp->AddFunc(0x368fec59, sceNpTusGetMultiUserDataStatusVUserAsync);
|
||||
sceNp->AddFunc(0x38f364b0, sceNpTusGetDataVUserAsync);
|
||||
sceNp->AddFunc(0x44eca8b4, sceNpTusDestroyTransactionCtx);
|
||||
sceNp->AddFunc(0x47e9424a, sceNpTusTryAndSetVariable);
|
||||
sceNp->AddFunc(0x5175abb9, sceNpTusGetDataAsync);
|
||||
sceNp->AddFunc(0x59432970, sceNpTusSetTimeout);
|
||||
sceNp->AddFunc(0x651fd79f, sceNpTusGetMultiSlotDataStatusAsync);
|
||||
sceNp->AddFunc(0x6c511024, sceNpTusGetMultiUserVariableVUser);
|
||||
sceNp->AddFunc(0x7caf58ee, sceNpTusCreateTitleCtx);
|
||||
sceNp->AddFunc(0x7d5f0f0e, sceNpTusSetData);
|
||||
sceNp->AddFunc(0x8ddd0d85, sceNpTusGetData);
|
||||
sceNp->AddFunc(0x8f87a06b, sceNpTusInit);
|
||||
sceNp->AddFunc(0x94989003, sceNpTusAddAndGetVariable);
|
||||
sceNp->AddFunc(0x9549d22c, sceNpTusGetMultiUserVariableVUserAsync);
|
||||
sceNp->AddFunc(0x96a06212, sceNpTusSetMultiSlotVariableVUserAsync);
|
||||
sceNp->AddFunc(0x9cc0cf44, sceNpTusSetDataVUserAsync);
|
||||
sceNp->AddFunc(0xa3abfadb, sceNpTusGetMultiSlotDataStatusVUser);
|
||||
sceNp->AddFunc(0xa7993bf3, sceNpTusAddAndGetVariableVUserAsync);
|
||||
sceNp->AddFunc(0xae4e590e, sceNpTusGetDataVUser);
|
||||
sceNp->AddFunc(0xaf985783, sceNpTusDeleteMultiSlotVariable);
|
||||
sceNp->AddFunc(0xb8e8ff22, sceNpTusWaitAsync);
|
||||
sceNp->AddFunc(0xbb2877f2, sceNpTusGetMultiSlotVariableAsync);
|
||||
sceNp->AddFunc(0xbbb244b7, sceNpTusTryAndSetVariableAsync);
|
||||
sceNp->AddFunc(0xc2e18da8, sceNpTusDeleteMultiSlotVariableVUserAsync);
|
||||
sceNp->AddFunc(0xc4e51fbf, sceNpTusDeleteMultiSlotVariableVUser);
|
||||
sceNp->AddFunc(0xc66ba67e, sceNpTusGetMultiUserDataStatusAsync);
|
||||
sceNp->AddFunc(0xc815b219, sceNpTusDeleteMultiSlotDataVUserAsync);
|
||||
sceNp->AddFunc(0xc848d425, sceNpTusGetMultiSlotDataStatus);
|
||||
sceNp->AddFunc(0xcc7a31cd, sceNpTusGetMultiUserVariableAsync);
|
||||
sceNp->AddFunc(0xcc86a8f6, sceNpTusSetMultiSlotVariable);
|
||||
sceNp->AddFunc(0xe0719847, sceNpTusDeleteMultiSlotData);
|
||||
sceNp->AddFunc(0xe847341f, sceNpTusSetDataAsync);
|
||||
sceNp->AddFunc(0xf5363608, sceNpTusDeleteMultiSlotVariableAsync);
|
||||
sceNp->AddFunc(0xf60be06f, sceNpTusAddAndGetVariableVUser);
|
||||
sceNp->AddFunc(0xf819be91, sceNpTusSetMultiSlotVariableVUser);
|
||||
sceNp->AddFunc(0xfc7d346e, sceNpTusGetMultiSlotVariableVUserAsync);
|
||||
sceNp->AddFunc(0x432b3cbf, sceNpUtilBandwidthTestShutdown);
|
||||
sceNp->AddFunc(0xc2ced2b7, sceNpUtilBandwidthTestInitStart);
|
||||
sceNp->AddFunc(0xc880f37d, sceNpUtilBandwidthTestGetStatus);
|
||||
|
File diff suppressed because it is too large
Load Diff
293
rpcs3/Emu/SysCalls/Modules/sceNpClans.cpp
Normal file
293
rpcs3/Emu/SysCalls/Modules/sceNpClans.cpp
Normal file
@ -0,0 +1,293 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/System.h"
|
||||
#include "cellRtc.h"
|
||||
#include "sceNp.h"
|
||||
#include "sceNpClans.h"
|
||||
|
||||
//void sceNpClans_unload();
|
||||
//void sceNpClans_init();
|
||||
//Module sceNpClans(0x003a, sceNpClans_init, nullptr, sceNpClans_unload);
|
||||
Module *sceNpClans = nullptr;
|
||||
|
||||
int sceNpClansInit()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansTerm()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCreateRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansDestroyRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansAbortRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCreateClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansDisbandClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanList()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanListByNpId()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSearchByProfile()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSearchByName()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetClanInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateClanInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetMemberList()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetMemberInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateMemberInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansChangeMemberRole()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetAutoAcceptStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansUpdateAutoAcceptStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansJoinClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansLeaveClan()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansKickMember()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendInvitation()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCancelInvitation()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendInvitationResponse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendMembershipRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansCancelMembershipRequest()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansSendMembershipResponse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansGetBlacklist()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansAddBlacklistEntry()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemoveBlacklistEntry()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrieveAnnouncements()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansPostAnnouncement()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemoveAnnouncement()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansPostChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrievePostedChallenges()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemovePostedChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRetrieveChallenges()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpClansRemoveChallenge()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpClans);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
void sceNpClans_unload()
|
||||
{
|
||||
// TODO: Unload Clans module
|
||||
}
|
||||
|
||||
void sceNpClans_init()
|
||||
{
|
||||
sceNpClans->AddFunc(0x9b820047, sceNpClansInit);
|
||||
sceNpClans->AddFunc(0x42332cb7, sceNpClansTerm);
|
||||
sceNpClans->AddFunc(0x9a72232d, sceNpClansCreateRequest);
|
||||
sceNpClans->AddFunc(0xd6551cd1, sceNpClansDestroyRequest);
|
||||
sceNpClans->AddFunc(0xe82969e2, sceNpClansAbortRequest);
|
||||
sceNpClans->AddFunc(0xa6a31a38, sceNpClansCreateClan);
|
||||
sceNpClans->AddFunc(0x4826f6d5, sceNpClansDisbandClan);
|
||||
sceNpClans->AddFunc(0xca4181b4, sceNpClansGetClanList);
|
||||
sceNpClans->AddFunc(0x672399a8, sceNpClansGetClanListByNpId);
|
||||
sceNpClans->AddFunc(0x1221a1bf, sceNpClansSearchByProfile);
|
||||
sceNpClans->AddFunc(0xace0cfba, sceNpClansSearchByName);
|
||||
sceNpClans->AddFunc(0x487de998, sceNpClansGetClanInfo);
|
||||
sceNpClans->AddFunc(0x09f9e1a9, sceNpClansUpdateClanInfo);
|
||||
sceNpClans->AddFunc(0x856ff5c0, sceNpClansGetMemberList);
|
||||
sceNpClans->AddFunc(0x20472da0, sceNpClansGetMemberInfo);
|
||||
sceNpClans->AddFunc(0xf4a2d52b, sceNpClansUpdateMemberInfo);
|
||||
sceNpClans->AddFunc(0x9cac2085, sceNpClansChangeMemberRole);
|
||||
sceNpClans->AddFunc(0x38dadf1f, sceNpClansGetAutoAcceptStatus);
|
||||
sceNpClans->AddFunc(0x5da94854, sceNpClansUpdateAutoAcceptStatus);
|
||||
sceNpClans->AddFunc(0xdbf300ca, sceNpClansJoinClan);
|
||||
sceNpClans->AddFunc(0x560f717b, sceNpClansLeaveClan);
|
||||
sceNpClans->AddFunc(0xaa7912b5, sceNpClansKickMember);
|
||||
sceNpClans->AddFunc(0xbc05ef31, sceNpClansSendInvitation);
|
||||
sceNpClans->AddFunc(0x726dffd5, sceNpClansCancelInvitation);
|
||||
sceNpClans->AddFunc(0x095e12c6, sceNpClansSendInvitationResponse);
|
||||
sceNpClans->AddFunc(0x59743b2b, sceNpClansSendMembershipRequest);
|
||||
sceNpClans->AddFunc(0x299ccc9b, sceNpClansCancelMembershipRequest);
|
||||
sceNpClans->AddFunc(0x942dbdc4, sceNpClansSendMembershipResponse);
|
||||
sceNpClans->AddFunc(0x56bc5a7c, sceNpClansGetBlacklist);
|
||||
sceNpClans->AddFunc(0x4d06aef7, sceNpClansAddBlacklistEntry);
|
||||
sceNpClans->AddFunc(0x5bff9da1, sceNpClansRemoveBlacklistEntry);
|
||||
sceNpClans->AddFunc(0x727aa7f8, sceNpClansRetrieveAnnouncements);
|
||||
sceNpClans->AddFunc(0xada45b84, sceNpClansPostAnnouncement);
|
||||
sceNpClans->AddFunc(0xe2590f60, sceNpClansRemoveAnnouncement);
|
||||
sceNpClans->AddFunc(0x83d65529, sceNpClansPostChallenge);
|
||||
sceNpClans->AddFunc(0x8e785b97, sceNpClansRetrievePostedChallenges);
|
||||
sceNpClans->AddFunc(0xd3346dc4, sceNpClansRemovePostedChallenge);
|
||||
sceNpClans->AddFunc(0x0df25834, sceNpClansRetrieveChallenges);
|
||||
sceNpClans->AddFunc(0xce6dc0f0, sceNpClansRemoveChallenge);
|
||||
}
|
253
rpcs3/Emu/SysCalls/Modules/sceNpClans.h
Normal file
253
rpcs3/Emu/SysCalls/Modules/sceNpClans.h
Normal file
@ -0,0 +1,253 @@
|
||||
#pragma once
|
||||
|
||||
// Return codes
|
||||
enum
|
||||
{
|
||||
SCE_NP_CLANS_ERROR_ALREADY_INITIALIZED = 0x80022701,
|
||||
SCE_NP_CLANS_ERROR_NOT_INITIALIZED = 0x80022702,
|
||||
SCE_NP_CLANS_ERROR_NOT_SUPPORTED = 0x80022703,
|
||||
SCE_NP_CLANS_ERROR_OUT_OF_MEMORY = 0x80022704,
|
||||
SCE_NP_CLANS_ERROR_INVALID_ARGUMENT = 0x80022705,
|
||||
SCE_NP_CLANS_ERROR_EXCEEDS_MAX = 0x80022706,
|
||||
SCE_NP_CLANS_ERROR_BAD_RESPONSE = 0x80022707,
|
||||
SCE_NP_CLANS_ERROR_BAD_DATA = 0x80022708,
|
||||
SCE_NP_CLANS_ERROR_BAD_REQUEST = 0x80022709,
|
||||
SCE_NP_CLANS_ERROR_INVALID_SIGNATURE = 0x8002270a,
|
||||
SCE_NP_CLANS_ERROR_INSUFFICIENT = 0x8002270b,
|
||||
SCE_NP_CLANS_ERROR_INTERNAL_BUFFER = 0x8002270c,
|
||||
SCE_NP_CLANS_ERROR_SERVER_MAINTENANCE = 0x8002270d,
|
||||
SCE_NP_CLANS_ERROR_SERVER_END_OF_SERVICE = 0x8002270e,
|
||||
SCE_NP_CLANS_ERROR_SERVER_BEFORE_START_OF_SERVICE = 0x8002270f,
|
||||
SCE_NP_CLANS_ERROR_ABORTED = 0x80022710,
|
||||
SCE_NP_CLANS_ERROR_SERVICE_UNAVAILABLE = 0x80022711,
|
||||
SCE_NP_CLANS_SERVER_ERROR_BAD_REQUEST = 0x80022801,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_TICKET = 0x80022802,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_SIGNATURE = 0x80022803,
|
||||
SCE_NP_CLANS_SERVER_ERROR_TICKET_EXPIRED = 0x80022804,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_NPID = 0x80022805,
|
||||
SCE_NP_CLANS_SERVER_ERROR_FORBIDDEN = 0x80022806,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INTERNAL_SERVER_ERROR = 0x80022807,
|
||||
SCE_NP_CLANS_SERVER_ERROR_BANNED = 0x8002280a,
|
||||
SCE_NP_CLANS_SERVER_ERROR_BLACKLISTED = 0x80022811,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_ENVIRONMENT = 0x8002281d,
|
||||
SCE_NP_CLANS_SERVER_ERROR_NO_SUCH_CLAN_SERVICE = 0x8002282f,
|
||||
SCE_NP_CLANS_SERVER_ERROR_NO_SUCH_CLAN = 0x80022830,
|
||||
SCE_NP_CLANS_SERVER_ERROR_NO_SUCH_CLAN_MEMBER = 0x80022831,
|
||||
SCE_NP_CLANS_SERVER_ERROR_BEFORE_HOURS = 0x80022832,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLOSED_SERVICE = 0x80022833,
|
||||
SCE_NP_CLANS_SERVER_ERROR_PERMISSION_DENIED = 0x80022834,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_LIMIT_REACHED = 0x80022835,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_LEADER_LIMIT_REACHED = 0x80022836,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_MEMBER_LIMIT_REACHED = 0x80022837,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_JOINED_LIMIT_REACHED = 0x80022838,
|
||||
SCE_NP_CLANS_SERVER_ERROR_MEMBER_STATUS_INVALID = 0x80022839,
|
||||
SCE_NP_CLANS_SERVER_ERROR_DUPLICATED_CLAN_NAME = 0x8002283a,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_LEADER_CANNOT_LEAVE = 0x8002283b,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_ROLE_PRIORITY = 0x8002283c,
|
||||
SCE_NP_CLANS_SERVER_ERROR_ANNOUNCEMENT_LIMIT_REACHED = 0x8002283d,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_CONFIG_MASTER_NOT_FOUND = 0x8002283e,
|
||||
SCE_NP_CLANS_SERVER_ERROR_DUPLICATED_CLAN_TAG = 0x8002283f,
|
||||
SCE_NP_CLANS_SERVER_ERROR_EXCEEDS_CREATE_CLAN_FREQUENCY = 0x80022840,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CLAN_PASSPHRASE_INCORRECT = 0x80022841,
|
||||
SCE_NP_CLANS_SERVER_ERROR_CANNOT_RECORD_BLACKLIST_ENTRY = 0x80022842,
|
||||
SCE_NP_CLANS_SERVER_ERROR_NO_SUCH_CLAN_ANNOUNCEMENT = 0x80022843,
|
||||
SCE_NP_CLANS_SERVER_ERROR_VULGAR_WORDS_POSTED = 0x80022844,
|
||||
SCE_NP_CLANS_SERVER_ERROR_BLACKLIST_LIMIT_REACHED = 0x80022845,
|
||||
SCE_NP_CLANS_SERVER_ERROR_NO_SUCH_BLACKLIST_ENTRY = 0x80022846,
|
||||
SCE_NP_CLANS_SERVER_ERROR_INVALID_NP_MESSAGE_FORMAT = 0x8002284b,
|
||||
SCE_NP_CLANS_SERVER_ERROR_FAILED_TO_SEND_NP_MESSAGE = 0x8002284c,
|
||||
};
|
||||
|
||||
// Clan roles
|
||||
enum
|
||||
{
|
||||
SCE_NP_CLANS_ROLE_UNKNOWN = 0,
|
||||
SCE_NP_CLANS_ROLE_NON_MEMBER = 1,
|
||||
SCE_NP_CLANS_ROLE_MEMBER = 2,
|
||||
SCE_NP_CLANS_ROLE_SUB_LEADER = 3,
|
||||
SCE_NP_CLANS_ROLE_LEADER = 4,
|
||||
};
|
||||
|
||||
// Clan member status
|
||||
enum
|
||||
{
|
||||
SCE_NP_CLANS_MEMBER_STATUS_UNKNOWN = 0,
|
||||
SCE_NP_CLANS_MEMBER_STATUS_NORMAL = 1,
|
||||
SCE_NP_CLANS_MEMBER_STATUS_INVITED = 2,
|
||||
SCE_NP_CLANS_MEMBER_STATUS_PENDING = 3,
|
||||
};
|
||||
|
||||
// Clan search operators
|
||||
enum
|
||||
{
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_EQUAL_TO = 0,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_NOT_EQUAL_TO = 1,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_GREATER_THAN = 2,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_GREATER_THAN_OR_EQUAL_TO = 3,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_LESS_THAN = 4,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_LESS_THAN_OR_EQUAL_TO = 5,
|
||||
SCE_NP_CLANS_SEARCH_OPERATOR_SIMILAR_TO = 6,
|
||||
};
|
||||
|
||||
// Constants for clan functions and structures
|
||||
enum
|
||||
{
|
||||
SCE_NP_CLANS_ANNOUNCEMENT_MESSAGE_BODY_MAX_LENGTH = 1536,
|
||||
SCE_NP_CLANS_CLAN_BINARY_ATTRIBUTE1_MAX_SIZE = 190,
|
||||
SCE_NP_CLANS_CLAN_BINARY_DATA_MAX_SIZE = 10240,
|
||||
SCE_NP_CLANS_MEMBER_BINARY_ATTRIBUTE1_MAX_SIZE = 16,
|
||||
SCE_NP_CLANS_MEMBER_DESCRIPTION_MAX_LENGTH = 255,
|
||||
SCE_NP_CLANS_MEMBER_BINARY_DATA_MAX_SIZE = 1024,
|
||||
SCE_NP_CLANS_MESSAGE_BODY_MAX_LENGTH = 1536,
|
||||
SCE_NP_CLANS_MESSAGE_SUBJECT_MAX_LENGTH = 54,
|
||||
SCE_NP_CLANS_MESSAGE_BODY_CHARACTER_MAX = 512,
|
||||
SCE_NP_CLANS_MESSAGE_SUBJECT_CHARACTER_MAX = 18,
|
||||
SCE_NP_CLANS_MESSAGE_BINARY_DATA_MAX_SIZE = 1024,
|
||||
SCE_NP_CLANS_PAGING_REQUEST_START_POSITION_MAX = 1000000,
|
||||
SCE_NP_CLANS_PAGING_REQUEST_PAGE_MAX = 100,
|
||||
};
|
||||
|
||||
// Request handle for clan API
|
||||
struct SceNpClansRequest;
|
||||
typedef SceNpClansRequest* SceNpClansRequestHandle;
|
||||
|
||||
// Paging request structure
|
||||
struct SceNpClansPagingRequest
|
||||
{
|
||||
be_t<u32> startPos;
|
||||
be_t<u32> max;
|
||||
};
|
||||
|
||||
// Paging result structure
|
||||
struct SceNpClansPagingResult
|
||||
{
|
||||
be_t<u32> count;
|
||||
be_t<u32> total;
|
||||
};
|
||||
|
||||
// Basic clan information
|
||||
struct SceNpClansClanBasicInfo
|
||||
{
|
||||
be_t<u32> clanId;
|
||||
be_t<u32> numMembers;
|
||||
s8 name[SCE_NP_CLANS_CLAN_NAME_MAX_LENGTH + 1];
|
||||
s8 tag[SCE_NP_CLANS_CLAN_TAG_MAX_LENGTH + 1];
|
||||
//u8 reserved[2];
|
||||
};
|
||||
|
||||
// Clan entry structure
|
||||
struct SceNpClansEntry
|
||||
{
|
||||
SceNpClansClanBasicInfo info;
|
||||
be_t<u32> role;
|
||||
be_t<s32> status;
|
||||
bool allowMsg;
|
||||
//u8 reserved[3];
|
||||
};
|
||||
|
||||
// Clan search attribute structure
|
||||
struct SceNpClansSearchableAttr
|
||||
{
|
||||
be_t<u32> fields;
|
||||
be_t<u32> intAttr1;
|
||||
be_t<u32> intAttr2;
|
||||
be_t<u32> intAttr3;
|
||||
u8 binAttr1[SCE_NP_CLANS_CLAN_BINARY_ATTRIBUTE1_MAX_SIZE];
|
||||
//u8 reserved[2];
|
||||
};
|
||||
|
||||
// Clan search profile structure
|
||||
struct SceNpClansSearchableProfile
|
||||
{
|
||||
SceNpClansSearchableAttr attr;
|
||||
be_t<u32> fields;
|
||||
be_t<u32> numMembers;
|
||||
be_t<s32> tagSearchOp;
|
||||
be_t<s32> numMemberSearchOp;
|
||||
be_t<s32> intAttr1SearchOp;
|
||||
be_t<s32> intAttr2SearchOp;
|
||||
be_t<s32> intAttr3SearchOp;
|
||||
be_t<s32> binAttr1SearchOp;
|
||||
s8 tag[SCE_NP_CLANS_CLAN_TAG_MAX_LENGTH + 1];
|
||||
//u8 reserved[3];
|
||||
};
|
||||
|
||||
// Clan search name structure
|
||||
struct SceNpClansSearchableName
|
||||
{
|
||||
be_t<s32> nameSearchOp;
|
||||
s8 name[SCE_NP_CLANS_CLAN_NAME_MAX_LENGTH + 1];
|
||||
//u8 reserved[3];
|
||||
};
|
||||
|
||||
// Updatable clan information structure
|
||||
struct SceNpClansUpdatableClanInfo
|
||||
{
|
||||
be_t<u32> fields;
|
||||
s8 description[SCE_NP_CLANS_CLAN_DESCRIPTION_MAX_LENGTH + 1];
|
||||
SceNpClansSearchableAttr attr;
|
||||
u8 binData1;
|
||||
be_t<u32> binData1Size;
|
||||
};
|
||||
|
||||
// Clan information structure
|
||||
struct SceNpClansClanInfo
|
||||
{
|
||||
CellRtcTick dateCreated;
|
||||
SceNpClansClanBasicInfo info;
|
||||
SceNpClansUpdatableClanInfo updatable;
|
||||
};
|
||||
|
||||
// Updatable member information structure
|
||||
struct SceNpClansUpdatableMemberInfo
|
||||
{
|
||||
be_t<u32> fields;
|
||||
u8 binData1;
|
||||
be_t<u32> binData1Size;
|
||||
u8 binAttr1[SCE_NP_CLANS_CLAN_BINARY_ATTRIBUTE1_MAX_SIZE + 1];
|
||||
s8 description[SCE_NP_CLANS_MEMBER_DESCRIPTION_MAX_LENGTH + 1];
|
||||
bool allowMsg;
|
||||
//u8 reserved[3];
|
||||
};
|
||||
|
||||
// Member entry structure
|
||||
struct SceNpClansMemberEntry
|
||||
{
|
||||
SceNpId npid;
|
||||
be_t<u32> role;
|
||||
be_t<s32> status;
|
||||
SceNpClansUpdatableMemberInfo updatable;
|
||||
};
|
||||
|
||||
// Clan message structure
|
||||
struct SceNpClansMessage
|
||||
{
|
||||
s8 subject[SCE_NP_CLANS_MESSAGE_SUBJECT_MAX_LENGTH + 1];
|
||||
s8 body[SCE_NP_CLANS_MESSAGE_BODY_MAX_LENGTH + 1];
|
||||
be_t<u32> options;
|
||||
};
|
||||
|
||||
// Clan message data structure
|
||||
struct SceNpClansMessageData
|
||||
{
|
||||
u8 binData1;
|
||||
be_t<u32> binData1Size;
|
||||
};
|
||||
|
||||
// Clan message entry structure
|
||||
struct SceNpClansMessageEntry
|
||||
{
|
||||
CellRtcTick postDate;
|
||||
be_t<u32> mId;
|
||||
SceNpClansMessage message;
|
||||
SceNpClansMessageData data;
|
||||
SceNpId npid;
|
||||
u8 reserved[4];
|
||||
};
|
||||
|
||||
// Blacklist entry structure
|
||||
struct SceNpClansBlacklistEntry
|
||||
{
|
||||
SceNpId entry;
|
||||
SceNpId registeredBy;
|
||||
};
|
347
rpcs3/Emu/SysCalls/Modules/sceNpCommerce2.cpp
Normal file
347
rpcs3/Emu/SysCalls/Modules/sceNpCommerce2.cpp
Normal file
@ -0,0 +1,347 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellRtc.h"
|
||||
#include "sceNpCommerce2.h"
|
||||
|
||||
//void sceNpCommerce2_unload();
|
||||
//void sceNpCommerce2_init();
|
||||
//Module sceNpCommerce2(0x0044, sceNpCommerce2_init, nullptr, sceNpCommerce2_unload);
|
||||
Module *sceNpCommerce2 = nullptr;
|
||||
|
||||
int sceNpCommerce2ExecuteStoreBrowse()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetStoreBrowseUserdata()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2Init()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2Term()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionAbort()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2CreateSessionFinish()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryContentsGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetCategoryContentsResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetCategoryInfoFromContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfoFromContentInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetCategoryContentsResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetProductInfoResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetProductInfoResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListCreateReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListStart()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetProductInfoListGetResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2InitGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyGetProductInfoListResult()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingInfoFromGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingInfoFromCategoryInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetContentRatingDescriptor()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetGameSkuInfoFromGameProductInfo()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetPrice()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoCheckoutStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoCheckoutFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductBrowseStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductBrowseFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoDlListStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoDlListFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductCodeStartAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DoProductCodeFinishAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2GetBGDLAvailability()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2SetBGDLAvailability()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2AbortReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpCommerce2DestroyReq()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpCommerce2);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
void sceNpCommerce2_unload()
|
||||
{
|
||||
// TODO: Unload SNS module
|
||||
}
|
||||
|
||||
void sceNpCommerce2_init()
|
||||
{
|
||||
sceNpCommerce2->AddFunc(0xeef51be0, sceNpCommerce2ExecuteStoreBrowse);
|
||||
sceNpCommerce2->AddFunc(0x1fa1b312, sceNpCommerce2GetStoreBrowseUserdata);
|
||||
sceNpCommerce2->AddFunc(0x3539d233, sceNpCommerce2Init);
|
||||
sceNpCommerce2->AddFunc(0x4d4a094c, sceNpCommerce2Term);
|
||||
sceNpCommerce2->AddFunc(0xd9fdcec2, sceNpCommerce2CreateCtx);
|
||||
sceNpCommerce2->AddFunc(0x6f67ea80, sceNpCommerce2DestroyCtx);
|
||||
sceNpCommerce2->AddFunc(0xcc18cd2c, sceNpCommerce2CreateSessionStart);
|
||||
sceNpCommerce2->AddFunc(0x62023e98, sceNpCommerce2CreateSessionAbort);
|
||||
sceNpCommerce2->AddFunc(0x91f8843d, sceNpCommerce2CreateSessionFinish);
|
||||
sceNpCommerce2->AddFunc(0x7370d8d0, sceNpCommerce2GetCategoryContentsCreateReq);
|
||||
sceNpCommerce2->AddFunc(0x371a2edd, sceNpCommerce2GetCategoryContentsStart);
|
||||
sceNpCommerce2->AddFunc(0xca0ea996, sceNpCommerce2GetCategoryContentsGetResult);
|
||||
sceNpCommerce2->AddFunc(0xd8a473a3, sceNpCommerce2InitGetCategoryContentsResult);
|
||||
sceNpCommerce2->AddFunc(0xbd49eab2, sceNpCommerce2GetCategoryInfo);
|
||||
sceNpCommerce2->AddFunc(0x972ab46c, sceNpCommerce2GetContentInfo);
|
||||
sceNpCommerce2->AddFunc(0xfc216890, sceNpCommerce2GetCategoryInfoFromContentInfo);
|
||||
sceNpCommerce2->AddFunc(0xe51a4944, sceNpCommerce2GetGameProductInfoFromContentInfo);
|
||||
sceNpCommerce2->AddFunc(0x9d9cb96b, sceNpCommerce2DestroyGetCategoryContentsResult);
|
||||
sceNpCommerce2->AddFunc(0xa975ebb4, sceNpCommerce2GetProductInfoCreateReq);
|
||||
sceNpCommerce2->AddFunc(0x8f46325b, sceNpCommerce2GetProductInfoStart);
|
||||
sceNpCommerce2->AddFunc(0xbf5f58ea, sceNpCommerce2GetProductInfoGetResult);
|
||||
sceNpCommerce2->AddFunc(0xf798f5e3, sceNpCommerce2InitGetProductInfoResult);
|
||||
sceNpCommerce2->AddFunc(0xef645654, sceNpCommerce2GetGameProductInfo);
|
||||
sceNpCommerce2->AddFunc(0xef8eafcd, sceNpCommerce2DestroyGetProductInfoResult);
|
||||
sceNpCommerce2->AddFunc(0xe1e7b5ac, sceNpCommerce2GetProductInfoListCreateReq);
|
||||
sceNpCommerce2->AddFunc(0x9cde07cc, sceNpCommerce2GetProductInfoListStart);
|
||||
sceNpCommerce2->AddFunc(0x146618df, sceNpCommerce2GetProductInfoListGetResult);
|
||||
sceNpCommerce2->AddFunc(0xe0f90e44, sceNpCommerce2InitGetProductInfoListResult);
|
||||
sceNpCommerce2->AddFunc(0xd9956ce7, sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult);
|
||||
sceNpCommerce2->AddFunc(0xf6139b58, sceNpCommerce2DestroyGetProductInfoListResult);
|
||||
sceNpCommerce2->AddFunc(0xec324c8f, sceNpCommerce2GetContentRatingInfoFromGameProductInfo);
|
||||
sceNpCommerce2->AddFunc(0xac78c1f3, sceNpCommerce2GetContentRatingInfoFromCategoryInfo);
|
||||
sceNpCommerce2->AddFunc(0x150fdca3, sceNpCommerce2GetContentRatingDescriptor);
|
||||
sceNpCommerce2->AddFunc(0xdb19194c, sceNpCommerce2GetGameSkuInfoFromGameProductInfo);
|
||||
sceNpCommerce2->AddFunc(0xda8e322d, sceNpCommerce2GetPrice);
|
||||
sceNpCommerce2->AddFunc(0x104551a6, sceNpCommerce2DoCheckoutStartAsync);
|
||||
sceNpCommerce2->AddFunc(0xd43a130e, sceNpCommerce2DoCheckoutFinishAsync);
|
||||
sceNpCommerce2->AddFunc(0x9825a0fc, sceNpCommerce2DoProductBrowseStartAsync);
|
||||
sceNpCommerce2->AddFunc(0xb23e3bd1, sceNpCommerce2DoProductBrowseFinishAsync);
|
||||
sceNpCommerce2->AddFunc(0x6ca9efd4, sceNpCommerce2DoDlListStartAsync);
|
||||
sceNpCommerce2->AddFunc(0x410d42be, sceNpCommerce2DoDlListFinishAsync);
|
||||
sceNpCommerce2->AddFunc(0xde7ab33d, sceNpCommerce2DoProductCodeStartAsync);
|
||||
sceNpCommerce2->AddFunc(0xa9f945b3, sceNpCommerce2DoProductCodeFinishAsync);
|
||||
sceNpCommerce2->AddFunc(0x3d627d81, sceNpCommerce2GetBGDLAvailability);
|
||||
sceNpCommerce2->AddFunc(0xa5a863fe, sceNpCommerce2SetBGDLAvailability);
|
||||
sceNpCommerce2->AddFunc(0x8df0057f, sceNpCommerce2AbortReq);
|
||||
sceNpCommerce2->AddFunc(0x2a910f05, sceNpCommerce2DestroyReq);
|
||||
}
|
275
rpcs3/Emu/SysCalls/Modules/sceNpCommerce2.h
Normal file
275
rpcs3/Emu/SysCalls/Modules/sceNpCommerce2.h
Normal file
@ -0,0 +1,275 @@
|
||||
#pragma once
|
||||
|
||||
// Return codes
|
||||
enum
|
||||
{
|
||||
SCE_NP_COMMERCE2_ERROR_NOT_INITIALIZED = 0x80023001,
|
||||
SCE_NP_COMMERCE2_ERROR_ALREADY_INITIALIZED = 0x80023002,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_ARGUMENT = 0x80023003,
|
||||
SCE_NP_COMMERCE2_ERROR_UNSUPPORTED_VERSION = 0x80023004,
|
||||
SCE_NP_COMMERCE2_ERROR_CTX_MAX = 0x80023005,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_INDEX = 0x80023006,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_SKUID = 0x80023007,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_SKU_NUM = 0x80023008,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_MEMORY_CONTAINER = 0x80023009,
|
||||
SCE_NP_COMMERCE2_ERROR_INSUFFICIENT_MEMORY_CONTAINER = 0x8002300a,
|
||||
SCE_NP_COMMERCE2_ERROR_OUT_OF_MEMORY = 0x8002300b,
|
||||
SCE_NP_COMMERCE2_ERROR_CTX_NOT_FOUND = 0x8002300c,
|
||||
SCE_NP_COMMERCE2_ERROR_CTXID_NOT_AVAILABLE = 0x8002300d,
|
||||
SCE_NP_COMMERCE2_ERROR_REQ_NOT_FOUND = 0x8002300e,
|
||||
SCE_NP_COMMERCE2_ERROR_REQID_NOT_AVAILABLE = 0x8002300f,
|
||||
SCE_NP_COMMERCE2_ERROR_ABORTED = 0x80023010,
|
||||
SCE_NP_COMMERCE2_ERROR_RESPONSE_BUF_TOO_SMALL = 0x80023012,
|
||||
SCE_NP_COMMERCE2_ERROR_COULD_NOT_RECV_WHOLE_RESPONSE_DATA = 0x80023013,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_RESULT_DATA = 0x80023014,
|
||||
SCE_NP_COMMERCE2_ERROR_UNKNOWN = 0x80023015,
|
||||
SCE_NP_COMMERCE2_ERROR_SERVER_MAINTENANCE = 0x80023016,
|
||||
SCE_NP_COMMERCE2_ERROR_SERVER_UNKNOWN = 0x80023017,
|
||||
SCE_NP_COMMERCE2_ERROR_INSUFFICIENT_BUF_SIZE = 0x80023018,
|
||||
SCE_NP_COMMERCE2_ERROR_REQ_MAX = 0x80023019,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_TARGET_TYPE = 0x8002301a,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_TARGET_ID = 0x8002301b,
|
||||
SCE_NP_COMMERCE2_ERROR_INVALID_SIZE = 0x8002301c,
|
||||
SCE_NP_COMMERCE2_ERROR_DATA_NOT_FOUND = 0x80023087,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_BAD_REQUEST = 0x80023101,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_UNKNOWN_ERROR = 0x80023102,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_SESSION_EXPIRED = 0x80023105,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_ACCESS_PERMISSION_DENIED = 0x80023107,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_NO_SUCH_CATEGORY = 0x80023110,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_NO_SUCH_PRODUCT = 0x80023111,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_NOT_ELIGIBILITY = 0x80023113,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_INVALID_SKU = 0x8002311a,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_ACCOUNT_SUSPENDED1 = 0x8002311b,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_ACCOUNT_SUSPENDED2 = 0x8002311c,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_OVER_SPENDING_LIMIT = 0x80023120,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_INVALID_VOUCHER = 0x8002312f,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_VOUCHER_ALREADY_CONSUMED = 0x80023130,
|
||||
SCE_NP_COMMERCE2_SERVER_ERROR_EXCEEDS_AGE_LIMIT_IN_BROWSING = 0x80023139,
|
||||
SCE_NP_COMMERCE2_SYSTEM_UTIL_ERROR_INVALID_VOUCHER = 0x80024002,
|
||||
SCE_NP_COMMERCE_ERROR_REQ_BUSY = 0x8002940d,
|
||||
};
|
||||
|
||||
// Event types
|
||||
enum
|
||||
{
|
||||
SCE_NP_COMMERCE2_EVENT_REQUEST_ERROR = 0x0001,
|
||||
SCE_NP_COMMERCE2_EVENT_CREATE_SESSION_DONE = 0x0011,
|
||||
SCE_NP_COMMERCE2_EVENT_CREATE_SESSION_ABORT = 0x0012,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_CHECKOUT_STARTED = 0x0021,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_CHECKOUT_SUCCESS = 0x0022,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_CHECKOUT_BACK = 0x0023,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_CHECKOUT_FINISHED = 0x0024,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_DL_LIST_STARTED = 0x0031,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_DL_LIST_SUCCESS = 0x0032,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_DL_LIST_FINISHED = 0x0034,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PROD_BROWSE_STARTED = 0x0041,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PROD_BROWSE_SUCCESS = 0x0042,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PROD_BROWSE_BACK = 0x0043,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PROD_BROWSE_FINISHED = 0x0044,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PROD_BROWSE_OPENED = 0x0045,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PRODUCT_CODE_STARTED = 0x0051,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PRODUCT_CODE_SUCCESS = 0x0052,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PRODUCT_CODE_BACK = 0x0053,
|
||||
SCE_NP_COMMERCE2_EVENT_DO_PRODUCT_CODE_FINISHED = 0x0054,
|
||||
SCE_NP_COMMERCE2_EVENT_EMPTY_STORE_CHECK_DONE = 0x0061,
|
||||
SCE_NP_COMMERCE2_EVENT_EMPTY_STORE_CHECK_ABORT = 0x0062,
|
||||
};
|
||||
|
||||
// Category data type
|
||||
enum SceNpCommerce2CategoryDataType
|
||||
{
|
||||
SCE_NP_COMMERCE2_CAT_DATA_TYPE_THIN = 0,
|
||||
SCE_NP_COMMERCE2_CAT_DATA_TYPE_NORMAL,
|
||||
SCE_NP_COMMERCE2_CAT_DATA_TYPE_MAX
|
||||
};
|
||||
|
||||
// Game product data type
|
||||
enum SceNpCommerce2GameProductDataType
|
||||
{
|
||||
SCE_NP_COMMERCE2_GAME_PRODUCT_DATA_TYPE_THIN = 0,
|
||||
SCE_NP_COMMERCE2_GAME_PRODUCT_DATA_TYPE_NORMAL,
|
||||
SCE_NP_COMMERCE2_GAME_PRODUCT_DATA_TYPE_MAX
|
||||
};
|
||||
|
||||
// SKU data type
|
||||
enum SceNpCommerce2GameSkuDataType
|
||||
{
|
||||
SCE_NP_COMMERCE2_GAME_SKU_DATA_TYPE_THIN = 0,
|
||||
SCE_NP_COMMERCE2_GAME_SKU_DATA_TYPE_NORMAL,
|
||||
SCE_NP_COMMERCE2_GAME_SKU_DATA_TYPE_MAX
|
||||
};
|
||||
|
||||
// Constanc for commerce functions and structures
|
||||
enum
|
||||
{
|
||||
SCE_NP_COMMERCE2_CURRENCY_CODE_LEN = 3,
|
||||
SCE_NP_COMMERCE2_CURRENCY_SYMBOL_LEN = 3,
|
||||
SCE_NP_COMMERCE2_THOUSAND_SEPARATOR_LEN = 4,
|
||||
SCE_NP_COMMERCE2_DECIMAL_LETTER_LEN = 4,
|
||||
SCE_NP_COMMERCE2_SP_NAME_LEN = 256,
|
||||
SCE_NP_COMMERCE2_CATEGORY_ID_LEN = 56,
|
||||
SCE_NP_COMMERCE2_CATEGORY_NAME_LEN = 256,
|
||||
SCE_NP_COMMERCE2_CATEGORY_DESCRIPTION_LEN = 1024,
|
||||
SCE_NP_COMMERCE2_PRODUCT_ID_LEN = 48,
|
||||
SCE_NP_COMMERCE2_PRODUCT_NAME_LEN = 256,
|
||||
SCE_NP_COMMERCE2_PRODUCT_SHORT_DESCRIPTION_LEN = 1024,
|
||||
SCE_NP_COMMERCE2_PRODUCT_LONG_DESCRIPTION_LEN = 4000,
|
||||
SCE_NP_COMMERCE2_SKU_ID_LEN = 56,
|
||||
SCE_NP_COMMERCE2_SKU_NAME_LEN = 180,
|
||||
SCE_NP_COMMERCE2_URL_LEN = 256,
|
||||
SCE_NP_COMMERCE2_RATING_SYSTEM_ID_LEN = 16,
|
||||
SCE_NP_COMMERCE2_RATING_DESCRIPTION_LEN = 60,
|
||||
SCE_NP_COMMERCE2_RECV_BUF_SIZE = 262144,
|
||||
SCE_NP_COMMERCE2_PRODUCT_CODE_BLOCK_LEN = 4,
|
||||
SCE_NP_COMMERCE2_GETCAT_MAX_COUNT = 60,
|
||||
SCE_NP_COMMERCE2_DO_CHECKOUT_MEMORY_CONTAINER_SIZE = 10485760,
|
||||
SCE_NP_COMMERCE2_DO_PROD_BROWSE_MEMORY_CONTAINER_SIZE = 16777216,
|
||||
SCE_NP_COMMERCE2_DO_DL_LIST_MEMORY_CONTAINER_SIZE = 10485760,
|
||||
SCE_NP_COMMERCE2_DO_PRODUCT_CODE_MEMORY_CONTAINER_SIZE = 16777216,
|
||||
};
|
||||
|
||||
// Common structure used when receiving data
|
||||
struct SceNpCommerce2CommonData
|
||||
{
|
||||
be_t<u32> version;
|
||||
be_t<u32> buf_head;
|
||||
be_t<u32> buf_size;
|
||||
be_t<u32> data;
|
||||
be_t<u32> data_size;
|
||||
be_t<u32> data2;
|
||||
//be_t<u32> reserved[4];
|
||||
};
|
||||
|
||||
// Structure indicating the range of results obtained
|
||||
struct SceNpCommerce2Range
|
||||
{
|
||||
be_t<u32> startPosition;
|
||||
be_t<u32> count;
|
||||
be_t<u32> totalCountOfResults;
|
||||
};
|
||||
|
||||
// Structure for session information
|
||||
struct SceNpCommerce2SessionInfo
|
||||
{
|
||||
s8 currencyCode[SCE_NP_COMMERCE2_CURRENCY_CODE_LEN + 1];
|
||||
be_t<u32> decimals;
|
||||
s8 currencySymbol[SCE_NP_COMMERCE2_CURRENCY_SYMBOL_LEN + 1];
|
||||
be_t<u32> symbolPosition;
|
||||
bool symbolWithSpace;
|
||||
u8 padding1[3];
|
||||
s8 thousandSeparator[SCE_NP_COMMERCE2_THOUSAND_SEPARATOR_LEN + 1];
|
||||
s8 decimalLetter[SCE_NP_COMMERCE2_DECIMAL_LETTER_LEN + 1];
|
||||
u8 padding2[1];
|
||||
//be_t<u32> reserved[4];
|
||||
};
|
||||
|
||||
// Structure for category information
|
||||
struct SceNpCommerce2CategoryInfo
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
SceNpCommerce2CategoryDataType dataType;
|
||||
s8 categoryId;
|
||||
CellRtcTick releaseDate;
|
||||
s8 categoryName;
|
||||
s8 categoryDescription;
|
||||
s8 imageUrl;
|
||||
s8 spName;
|
||||
be_t<u32> countOfSubCategory;
|
||||
be_t<u32> countOfProduct;
|
||||
};
|
||||
|
||||
// Structure for content information within the category
|
||||
struct SceNpCommerce2ContentInfo
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
be_t<u32> contentType;
|
||||
};
|
||||
|
||||
// Structure for initialized product data
|
||||
struct SceNpCommerce2GetProductInfoResult
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
};
|
||||
|
||||
// Structure for game product information
|
||||
struct SceNpCommerce2GameProductInfo
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
SceNpCommerce2GameProductDataType dataType;
|
||||
s8 productId;
|
||||
be_t<u32> countOfSku;
|
||||
u8 padding[4];
|
||||
CellRtcTick releaseDate;
|
||||
s8 productName;
|
||||
s8 productShortDescription;
|
||||
s8 imageUrl;
|
||||
s8 spName;
|
||||
s8 productLongDescription;
|
||||
s8 legalDescription;
|
||||
};
|
||||
|
||||
// Structure for initialized product info list
|
||||
struct SceNpCommerce2GetProductInfoListResult
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
};
|
||||
|
||||
// Structure for rating information
|
||||
struct SceNpCommerce2ContentRatingInfo
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
s8 ratingSystemId;
|
||||
s8 imageUrl;
|
||||
be_t<u32> countOfContentRatingDescriptor;
|
||||
};
|
||||
|
||||
// Structure for a rating descriptor
|
||||
struct SceNpCommerce2ContentRatingDescriptor
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
be_t<u32> descriptorType;
|
||||
s8 imageUrl;
|
||||
s8 contentRatingDescription;
|
||||
};
|
||||
|
||||
// Structure for SKU information
|
||||
struct SceNpCommerce2GameSkuInfo
|
||||
{
|
||||
SceNpCommerce2CommonData commonData;
|
||||
SceNpCommerce2GameSkuDataType dataType;
|
||||
s8 skuId;
|
||||
be_t<u32> skuType;
|
||||
be_t<u32> countUntilExpiration;
|
||||
be_t<u32> timeUntilExpiration;
|
||||
be_t<u32> purchasabilityFlag;
|
||||
be_t<u32> annotation;
|
||||
bool downloadable;
|
||||
u8 padding[3];
|
||||
be_t<u32> price;
|
||||
s8 skuName;
|
||||
s8 productId;
|
||||
s8 contentLinkUrl;
|
||||
be_t<u32> countOfRewardInfo;
|
||||
//be_t<u32> reserved[8];
|
||||
};
|
||||
|
||||
// Structure of parameters for in-game product browsing
|
||||
struct SceNpCommerce2ProductBrowseParam
|
||||
{
|
||||
be_t<u32> size;
|
||||
};
|
||||
|
||||
// Structure of parameters for promotion code input
|
||||
struct SceNpCommerce2ProductCodeParam
|
||||
{
|
||||
be_t<u32> size;
|
||||
be_t<u32> inputMode; // Unsigned ints go into be_t<u32>, right?
|
||||
s8 code1[SCE_NP_COMMERCE2_PRODUCT_CODE_BLOCK_LEN + 1];
|
||||
//s8 padding1[3];
|
||||
s8 code2[SCE_NP_COMMERCE2_PRODUCT_CODE_BLOCK_LEN + 1];
|
||||
//s8 padding2[3];
|
||||
s8 code3[SCE_NP_COMMERCE2_PRODUCT_CODE_BLOCK_LEN + 1];
|
||||
//s8 padding3[3];
|
||||
};
|
||||
|
||||
typedef void(*SceNpCommerce2Handler)(u32 ctx_id, u32 subject_id, s32 event, s32 error_code, u32 arg);
|
18
rpcs3/Emu/SysCalls/Modules/sceNpSns.cpp
Normal file
18
rpcs3/Emu/SysCalls/Modules/sceNpSns.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "sceNpSns.h"
|
||||
|
||||
//void sceNpSns_unload();
|
||||
//void sceNpSns_init();
|
||||
//Module sceNpSns(0x0059, sceNpSns_init, nullptr, sceNpSns_unload);
|
||||
Module *sceNpSns = nullptr;
|
||||
|
||||
void sceNpSns_unload()
|
||||
{
|
||||
// TODO: Unload SNS module
|
||||
}
|
||||
|
||||
void sceNpSns_init()
|
||||
{
|
||||
// TODO: Register SNS module functions here
|
||||
}
|
38
rpcs3/Emu/SysCalls/Modules/sceNpSns.h
Normal file
38
rpcs3/Emu/SysCalls/Modules/sceNpSns.h
Normal file
@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
// Return codes
|
||||
enum
|
||||
{
|
||||
SCE_NP_SNS_ERROR_UNKNOWN = 0x80024501,
|
||||
SCE_NP_SNS_ERROR_NOT_SIGN_IN = 0x80024502,
|
||||
SCE_NP_SNS_ERROR_INVALID_ARGUMENT = 0x80024503,
|
||||
SCE_NP_SNS_ERROR_OUT_OF_MEMORY = 0x80024504,
|
||||
SCE_NP_SNS_ERROR_SHUTDOWN = 0x80024505,
|
||||
SCE_NP_SNS_ERROR_BUSY = 0x80024506,
|
||||
SCE_NP_SNS_FB_ERROR_ALREADY_INITIALIZED = 0x80024511,
|
||||
SCE_NP_SNS_FB_ERROR_NOT_INITIALIZED = 0x80024512,
|
||||
SCE_NP_SNS_FB_ERROR_EXCEEDS_MAX = 0x80024513,
|
||||
SCE_NP_SNS_FB_ERROR_UNKNOWN_HANDLE = 0x80024514,
|
||||
SCE_NP_SNS_FB_ERROR_ABORTED = 0x80024515,
|
||||
SCE_NP_SNS_FB_ERROR_ALREADY_ABORTED = 0x80024516,
|
||||
SCE_NP_SNS_FB_ERROR_CONFIG_DISABLED = 0x80024517,
|
||||
SCE_NP_SNS_FB_ERROR_FBSERVER_ERROR_RESPONSE = 0x80024518,
|
||||
SCE_NP_SNS_FB_ERROR_THROTTLE_CLOSED = 0x80024519,
|
||||
SCE_NP_SNS_FB_ERROR_OPERATION_INTERVAL_VIOLATION = 0x8002451a,
|
||||
SCE_NP_SNS_FB_ERROR_UNLOADED_THROTTLE = 0x8002451b,
|
||||
SCE_NP_SNS_FB_ERROR_ACCESS_NOT_ALLOWED = 0x8002451c,
|
||||
};
|
||||
|
||||
// Constants for SNS functions
|
||||
enum
|
||||
{
|
||||
SCE_NP_SNS_FB_INVALID_HANDLE = 0,
|
||||
SCE_NP_SNS_FB_HANDLE_SLOT_MAX = 4,
|
||||
};
|
||||
|
||||
// Intilization parameters for functionalities coordinated with Facebook
|
||||
struct SceNpSnsFbInitParams
|
||||
{
|
||||
be_t<u32> pool;
|
||||
be_t<u32> poolSize;
|
||||
};
|
@ -8,6 +8,7 @@
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "Emu/FS/vfsDir.h"
|
||||
|
||||
#include "cellRtc.h"
|
||||
#include "sceNp.h"
|
||||
#include "sceNpTrophy.h"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
#include "cellRtc.h"
|
||||
|
||||
// Error codes
|
||||
enum
|
||||
{
|
||||
SCE_NP_TROPHY_ERROR_ALREADY_INITIALIZED = 0x80022901,
|
||||
|
397
rpcs3/Emu/SysCalls/Modules/sceNpTus.cpp
Normal file
397
rpcs3/Emu/SysCalls/Modules/sceNpTus.cpp
Normal file
@ -0,0 +1,397 @@
|
||||
#include "stdafx.h"
|
||||
#include "Emu/SysCalls/Modules.h"
|
||||
#include "cellRtc.h"
|
||||
#include "sceNp.h"
|
||||
#include "sceNpTus.h"
|
||||
|
||||
//void sceNpTus_unload();
|
||||
//void sceNpTus_init();
|
||||
//Module sceNpTus(0x0045, sceNpTus_init, nullptr, sceNpTus_unload);
|
||||
Module *sceNpTus = nullptr;
|
||||
|
||||
int sceNpTusInit()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTerm()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusCreateTitleCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDestroyTitleCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusCreateTransactionCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDestroyTransactionCtx()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetTimeout()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAbortTransaction()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusWaitAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusPollAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusAddAndGetVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusTryAndSetVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariable()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotVariableVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusSetDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiSlotDataStatusVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatus()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusGetMultiUserDataStatusVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotData()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataVUser()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int sceNpTusDeleteMultiSlotDataVUserAsync()
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(sceNpTus);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
void sceNpTus_unload()
|
||||
{
|
||||
// TODO: Unload Tus module
|
||||
}
|
||||
|
||||
void sceNpTus_init()
|
||||
{
|
||||
sceNpTus->AddFunc(0x8f87a06b, sceNpTusInit);
|
||||
sceNpTus->AddFunc(0x225aed26, sceNpTusTerm);
|
||||
sceNpTus->AddFunc(0x7caf58ee, sceNpTusCreateTitleCtx);
|
||||
sceNpTus->AddFunc(0x2e162a62, sceNpTusDestroyTitleCtx);
|
||||
sceNpTus->AddFunc(0x1904435e, sceNpTusCreateTransactionCtx);
|
||||
sceNpTus->AddFunc(0x44eca8b4, sceNpTusDestroyTransactionCtx);
|
||||
sceNpTus->AddFunc(0x59432970, sceNpTusSetTimeout);
|
||||
sceNpTus->AddFunc(0x325c6284, sceNpTusAbortTransaction);
|
||||
sceNpTus->AddFunc(0xb8e8ff22, sceNpTusWaitAsync);
|
||||
sceNpTus->AddFunc(0x19bce18c, sceNpTusPollAsync);
|
||||
sceNpTus->AddFunc(0xcc86a8f6, sceNpTusSetMultiSlotVariable);
|
||||
sceNpTus->AddFunc(0xf819be91, sceNpTusSetMultiSlotVariableVUser);
|
||||
sceNpTus->AddFunc(0x065b610d, sceNpTusSetMultiSlotVariableAsync);
|
||||
sceNpTus->AddFunc(0x96a06212, sceNpTusSetMultiSlotVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0x0423e622, sceNpTusGetMultiSlotVariable);
|
||||
sceNpTus->AddFunc(0x2357ba9e, sceNpTusGetMultiSlotVariableVUser);
|
||||
sceNpTus->AddFunc(0xbb2877f2, sceNpTusGetMultiSlotVariableAsync);
|
||||
sceNpTus->AddFunc(0xfc7d346e, sceNpTusGetMultiSlotVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0x0d15043b, sceNpTusGetMultiUserVariable);
|
||||
sceNpTus->AddFunc(0x6c511024, sceNpTusGetMultiUserVariableVUser);
|
||||
sceNpTus->AddFunc(0xcc7a31cd, sceNpTusGetMultiUserVariableAsync);
|
||||
sceNpTus->AddFunc(0x9549d22c, sceNpTusGetMultiUserVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0x94989003, sceNpTusAddAndGetVariable);
|
||||
sceNpTus->AddFunc(0xf60be06f, sceNpTusAddAndGetVariableVUser);
|
||||
sceNpTus->AddFunc(0x1fa5c87d, sceNpTusAddAndGetVariableAsync);
|
||||
sceNpTus->AddFunc(0xa7993bf3, sceNpTusAddAndGetVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0x47e9424a, sceNpTusTryAndSetVariable);
|
||||
sceNpTus->AddFunc(0x3602bc80, sceNpTusTryAndSetVariableVUser);
|
||||
sceNpTus->AddFunc(0xbbb244b7, sceNpTusTryAndSetVariableAsync);
|
||||
sceNpTus->AddFunc(0x17db7aa7, sceNpTusTryAndSetVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0xaf985783, sceNpTusDeleteMultiSlotVariable);
|
||||
sceNpTus->AddFunc(0xc4e51fbf, sceNpTusDeleteMultiSlotVariableVUser);
|
||||
sceNpTus->AddFunc(0xf5363608, sceNpTusDeleteMultiSlotVariableAsync);
|
||||
sceNpTus->AddFunc(0xc2e18da8, sceNpTusDeleteMultiSlotVariableVUserAsync);
|
||||
sceNpTus->AddFunc(0x7d5f0f0e, sceNpTusSetData);
|
||||
sceNpTus->AddFunc(0x0835deb2, sceNpTusSetDataVUser);
|
||||
sceNpTus->AddFunc(0xe847341f, sceNpTusSetDataAsync);
|
||||
sceNpTus->AddFunc(0x9cc0cf44, sceNpTusSetDataVUserAsync);
|
||||
sceNpTus->AddFunc(0x8ddd0d85, sceNpTusGetData);
|
||||
sceNpTus->AddFunc(0xae4e590e, sceNpTusGetDataVUser);
|
||||
sceNpTus->AddFunc(0x5175abb9, sceNpTusGetDataAsync);
|
||||
sceNpTus->AddFunc(0x38f364b0, sceNpTusGetDataVUserAsync);
|
||||
sceNpTus->AddFunc(0xc848d425, sceNpTusGetMultiSlotDataStatus);
|
||||
sceNpTus->AddFunc(0xa3abfadb, sceNpTusGetMultiSlotDataStatusVUser);
|
||||
sceNpTus->AddFunc(0x651fd79f, sceNpTusGetMultiSlotDataStatusAsync);
|
||||
sceNpTus->AddFunc(0x2ab21ea9, sceNpTusGetMultiSlotDataStatusVUserAsync);
|
||||
sceNpTus->AddFunc(0x348dbcb4, sceNpTusGetMultiUserDataStatus);
|
||||
sceNpTus->AddFunc(0x2d1b9f1a, sceNpTusGetMultiUserDataStatusVUser);
|
||||
sceNpTus->AddFunc(0xc66ba67e, sceNpTusGetMultiUserDataStatusAsync);
|
||||
sceNpTus->AddFunc(0x368fec59, sceNpTusGetMultiUserDataStatusVUserAsync);
|
||||
sceNpTus->AddFunc(0xe0719847, sceNpTusDeleteMultiSlotData);
|
||||
sceNpTus->AddFunc(0x01711e81, sceNpTusDeleteMultiSlotDataVUser);
|
||||
sceNpTus->AddFunc(0x3175af23, sceNpTusDeleteMultiSlotDataAsync);
|
||||
sceNpTus->AddFunc(0xc815b219, sceNpTusDeleteMultiSlotDataVUserAsync);
|
||||
}
|
46
rpcs3/Emu/SysCalls/Modules/sceNpTus.h
Normal file
46
rpcs3/Emu/SysCalls/Modules/sceNpTus.h
Normal file
@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
// Constants for TUS functions and structures
|
||||
enum
|
||||
{
|
||||
SCE_NP_TUS_DATA_INFO_MAX_SIZE = 384,
|
||||
SCE_NP_TUS_MAX_CTX_NUM = 32,
|
||||
SCE_NP_TUS_MAX_SLOT_NUM_PER_TRANS = 64,
|
||||
SCE_NP_TUS_MAX_USER_NUM_PER_TRANS = 101,
|
||||
};
|
||||
|
||||
SceNpOnlineId SceNpTusVirtualUserId;
|
||||
|
||||
// Structure for representing a TUS variable
|
||||
struct SceNpTusVariable
|
||||
{
|
||||
SceNpId ownerId;
|
||||
be_t<s32> hasData;
|
||||
//u8 pad[4];
|
||||
CellRtcTick lastChangedDate;
|
||||
SceNpId lastChangedAuthorId;
|
||||
be_t<s64> variable;
|
||||
be_t<s64> oldVariable;
|
||||
//u8 reserved[16];
|
||||
};
|
||||
|
||||
// Structure for representing the accessory information of a TUS data
|
||||
struct SceNpTusDataInfo
|
||||
{
|
||||
be_t<u32> infoSize;
|
||||
//u8 pad[4];
|
||||
u8 data[SCE_NP_TUS_DATA_INFO_MAX_SIZE];
|
||||
};
|
||||
|
||||
// Structure for respreseting the status of TUS data
|
||||
struct SceNpTusDataStatus
|
||||
{
|
||||
SceNpId ownerId;
|
||||
be_t<s32> hasData;
|
||||
CellRtcTick lastChangedDate;
|
||||
SceNpId lastChangedAuthorId;
|
||||
be_t<u32> data;
|
||||
be_t<u32> dataSize;
|
||||
//u8 pad[4];
|
||||
SceNpTusDataInfo info;
|
||||
};
|
@ -180,7 +180,11 @@
|
||||
<ClCompile Include="Emu\SysCalls\Modules\libsnd3.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\libsynth2.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNp.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpClans.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpCommerce2.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpSns.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpTrophy.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpTus.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\SC_Keyboard.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\SC_Mouse.cpp" />
|
||||
<ClCompile Include="Emu\SysCalls\Modules\SC_Pad.cpp" />
|
||||
@ -372,7 +376,11 @@
|
||||
<ClInclude Include="Emu\SysCalls\Modules\libsnd3.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\libsynth2.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNp.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpClans.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpCommerce2.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpSns.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpTrophy.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpTus.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sysPrxForUser.h" />
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sys_net.h" />
|
||||
<ClInclude Include="Emu\SysCalls\SC_FUNC.h" />
|
||||
|
@ -212,9 +212,21 @@
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNp.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpClans.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpCommerce2.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpSns.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpTrophy.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sceNpTus.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Emu\SysCalls\Modules\sysPrxForUser.cpp">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClCompile>
|
||||
@ -700,9 +712,21 @@
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNp.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpClans.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpCommerce2.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpSns.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpTrophy.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sceNpTus.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Emu\SysCalls\Modules\sys_net.h">
|
||||
<Filter>Emu\SysCalls\Modules</Filter>
|
||||
</ClInclude>
|
||||
|
Loading…
x
Reference in New Issue
Block a user