这是indexloc提供的服务,不要输入任何密码
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class HyperPlayWebGLProvider : HyperPlayProvider
private readonly IChainConfig _chainConfig;
private readonly ChainRegistryProvider _chainRegistryProvider;
private readonly EthereumWindowController _ethereumController;

/// <summary>
/// Initializes a new instance of the <see cref="HyperPlayWebGLProvider"/> class.
/// </summary>
Expand All @@ -37,7 +37,7 @@ public HyperPlayWebGLProvider(IHyperPlayConfig config, IHyperPlayData data, Data
_dataStorage = dataStorage;
_chainConfig = chainConfig;
_chainRegistryProvider = chainRegistryProvider;

// Initialize Unity controller.
_ethereumController = Object.FindObjectOfType<EthereumWindowController>();

Expand All @@ -58,7 +58,7 @@ public HyperPlayWebGLProvider(IHyperPlayConfig config, IHyperPlayData data, Data
public override async Task<string> Connect()
{
string account = await _ethereumController.Connect(_chainConfig, _chainRegistryProvider);

// Saved account exists.
if (_data.RememberSession)
{
Expand Down Expand Up @@ -87,7 +87,7 @@ public override async Task<string> Connect()
public override async Task<T> Perform<T>(string method, params object[] parameters)
{
var response = await _ethereumController.Request(method, parameters);

return response.Result.ToObject<T>();
}
}
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class CscRspChecker

static CscRspChecker()
{

CheckAndCreateCscRsp();
}

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
namespace ChainSafe.Gaming.Marketplace.Interfaces
using System;

namespace ChainSafe.Gaming.Marketplace
{
/// <summary>
/// Marketplace auth interface.
/// </summary>
public interface IMarketplaceAuth
{
void RefreshExpiredToken();
string BearerToken { get; }
DateTime BearerTokenExpires { get; }
string RefreshToken { get; }
DateTime RefreshTokenExpires { get; }

void InitializeConfig(object sender, EventManagerMarketplace.MarketplaceAuthSystemConfigEventArgs marketplaceAuthSystemManagerConfigEventArgs);
}
}
Loading