mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
add sdk component to network manager
This commit is contained in:
parent
1d8525d9b6
commit
7080d11d32
@ -132,7 +132,7 @@ namespace EpicTransport {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected static EOSSDKComponent instance;
|
protected static EOSSDKComponent instance;
|
||||||
public static EOSSDKComponent Instance {
|
protected static EOSSDKComponent Instance {
|
||||||
get {
|
get {
|
||||||
if (instance == null) {
|
if (instance == null) {
|
||||||
return new GameObject("EOSSDKComponent").AddComponent<EOSSDKComponent>();
|
return new GameObject("EOSSDKComponent").AddComponent<EOSSDKComponent>();
|
||||||
|
@ -73,7 +73,9 @@ namespace QSB
|
|||||||
eosApiKey.epicDeploymentId = "1f164829371e4cdcb23efedce98d99ad";
|
eosApiKey.epicDeploymentId = "1f164829371e4cdcb23efedce98d99ad";
|
||||||
eosApiKey.epicClientId = "xyza7891TmlpkaiDv6KAnJH0f07aAbTu";
|
eosApiKey.epicClientId = "xyza7891TmlpkaiDv6KAnJH0f07aAbTu";
|
||||||
eosApiKey.epicClientSecret = "ft17miukylHF877istFuhTgq+Kw1le3Pfigvf9Dtu20";
|
eosApiKey.epicClientSecret = "ft17miukylHF877istFuhTgq+Kw1le3Pfigvf9Dtu20";
|
||||||
EOSSDKComponent.Instance.apiKeys = eosApiKey;
|
|
||||||
|
var eosSdkComponent = gameObject.AddComponent<EOSSDKComponent>();
|
||||||
|
eosSdkComponent.apiKeys = eosApiKey;
|
||||||
|
|
||||||
var eosTransport = gameObject.AddComponent<EosTransport>();
|
var eosTransport = gameObject.AddComponent<EosTransport>();
|
||||||
// todo eosTransport.SetTransportError = error => _lastTransportError = error;
|
// todo eosTransport.SetTransportError = error => _lastTransportError = error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user