Batch #5973 by superintelligence: 0 byte-identical, 1 confirmed by peer review. - fn_04789 CStoveMgr::OnInitializeCallback: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
43 lines
949 B
C++
43 lines
949 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_STOVE_STOVEPCSDK_H
|
|
#define RAGNAROK_SOURCE_CLIENT_STOVE_STOVEPCSDK_H
|
|
|
|
#include <cstdint>
|
|
|
|
namespace Stove::PCSDK {
|
|
struct __declspec(dllimport) Result {
|
|
~Result();
|
|
|
|
bool IsSuccessful() const;
|
|
|
|
/* 0000 */ std::uint8_t unknown_0000[12];
|
|
};
|
|
|
|
struct __declspec(dllimport) CallbackResult {
|
|
CallbackResult(const CallbackResult& other);
|
|
~CallbackResult();
|
|
|
|
Result GetResult() const;
|
|
|
|
/* 0000 */ std::uint8_t unknown_0000[28];
|
|
};
|
|
|
|
namespace Base {
|
|
struct __declspec(dllimport) StovePCUser {
|
|
StovePCUser();
|
|
~StovePCUser();
|
|
|
|
std::uint64_t GetMemberNumber() const;
|
|
std::uint64_t GetGameUserId() const;
|
|
|
|
/* 0000 */ std::uint8_t unknown_0000[20];
|
|
};
|
|
}
|
|
}
|
|
|
|
extern "C" {
|
|
Stove::PCSDK::Result Base_GetAccessToken(wchar_t* accessToken, int length);
|
|
Stove::PCSDK::Result Base_GetUser(Stove::PCSDK::Base::StovePCUser* user);
|
|
void Base_RunCallback();
|
|
}
|
|
|
|
#endif
|