gogcom / galaxy-ue-oss-plugin Goto Github PK
View Code? Open in Web Editor NEWOnlineSubsystem interface implementation for GOG Galaxy platform
Home Page: https://devportal.gog.com/galaxy
OnlineSubsystem interface implementation for GOG Galaxy platform
Home Page: https://devportal.gog.com/galaxy
Hi, I have suggestion on how documentation can be updated.
Since I'm not allowed to push to the branch, I've attached .patch file here. If you agree with these changes, and if you want, you can allow me to push to the branch, and I can create PR, as I have prepared branch locally.
Hello! My team is currently working on Authentication of Epic Online Service with Unreal C++ and we've encountered a problem. We are unable to fully comprehend how to use the RequestEncrypedAppTicket() and IUser::GetEncryptedAppTicket() in the GoG SDK which we have tried writing the codes as follow and received invalid and unusable values. Can you please help us with a sample code or tell us how to properly output the values of these functions?
AppTicketListener* SObj = new AppTicketListener();
galaxy::api::User()->RequestEncryptedAppTicket(NULL, 0,(galaxy::api::IEncryptedAppTicketListener*) SObj);
class AppTicketListener : galaxy::api::IEncryptedAppTicketListener {
public:
void OnEncryptedAppTicketRetrieveSuccess() {
uint8 data[4096]="";
uint32 ExactTicketSize = 0;
galaxy::api::User()->GetEncryptedAppTicket(data, 0, ExactTicketSize);
char TokenBuffer[4096];
uint32_t TokenLen = 4096;
auto Res = EOS_ByteArray_ToString(data, ExactTicketSize, TokenBuffer, &TokenLen); //unreal macro to convert byte to char
Tokens = FString(ANSI_TO_TCHAR(TokenBuffer)); // a token for Epic online service for Authentication เราได้ 000000000000000 ซึ่ง มัน Invalid
}
void OnEncryptedAppTicketRetrieveFailure(galaxy::api::IEncryptedAppTicketListener::FailureReason failureReason) {
//do something on fail
}
}
I was wondering why the function GetLinkedAccountAuthToken isn't implemented in this plugin, it could be used to setup the authentication steps required to get encryptedappticket and allow ease of implementation for GoG <-> EOSPlus support.
It's a function that is overridden by other OSS to provide ease of login since EOS calls this function but for some reason not implemented in this one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.