Closed Prabesh002 closed 2 months ago
I am so sorry this is the first time I'm doing a code markdown and it's so messy
Yes it seems like I need to create a device id token.
Epic.OnlineServices.Connect.CreateDeviceIdOptions createDeviceIdOptions = new Epic.OnlineServices.Connect.CreateDeviceIdOptions();
createDeviceIdOptions.DeviceModel = "Test";
EOSManager.Instance.GetEOSConnectInterface().CreateDeviceId(ref createDeviceIdOptions, null,OnDeviceCallBack)
EOSManager.Instance.StartConnectLoginWithDeviceToken("sadas", OnLoginCallback);```
Hello, I was testing around and since I wanted to browse the plugin, I wrote a simple script that does this on the start
EOSManager.Instance.StartConnectLoginWithDeviceToken("Nellow", OnLoginCallback);
and the callback is
` void OnLoginCallback(Epic.OnlineServices.Connect.LoginCallbackInfo loginCallbackInfo) {
I used mirror's EOS repo before and there I essentially just used the same thing like BUT they had something like Create Device Id thing like this
Epic.OnlineServices.Connect.CreateDeviceIdOptions createDeviceIdOptions = new Epic.OnlineServices.Connect.CreateDeviceIdOptions(); createDeviceIdOptions.DeviceModel = deviceModel; EOS.GetConnectInterface().CreateDeviceId(ref createDeviceIdOptions, null, OnCreateDeviceId);
I know, Silly question but is that so?