TapCommon-Unity/Standalone/Runtime/TapCommonStandalone.cs

79 lines
2.2 KiB
C#
Raw Normal View History

2023-10-13 23:19:13 +08:00
using System;
using System.Threading.Tasks;
using TapTap.Common.Internal;
namespace TapTap.Common.Standalone {
public class TapCommonStandalone : ITapCommonPlatform {
public void AddHost(string host, string replaceHost) {
}
public void GetRegionCode(Action<bool> callback) {
}
public void Init(TapConfig config) {
}
public void IsTapTapGlobalInstalled(Action<bool> callback) {
}
public void IsTapTapInstalled(Action<bool> callback) {
}
public void OpenReviewInTapGlobal(string appId, Action<bool> callback) {
}
public void OpenReviewInTapTap(string appId, Action<bool> callback) {
}
public Task<bool> OpenWebDownloadUrl(string url) {
return Task.FromResult(true);
}
public Task<bool> OpenWebDownloadUrlOfTapGlobal(string appId) {
return Task.FromResult(true);
}
public Task<bool> OpenWebDownloadUrlOfTapTap(string appId) {
return Task.FromResult(true);
}
public void RegisterProperties(string key, ITapPropertiesProxy proxy) {
}
public void UseNativeDataInCore(bool enable) {
}
public void SetDurationStatisticsEnabled(bool enable) {
TapCommon.DisableDurationStatistics = !enable;
}
public void SetLanguage(TapLanguage language) {
}
public void SetXua() {
}
public Task<bool> UpdateGameAndFailToWebInTapGlobal(string appId) {
return Task.FromResult(true);
}
public Task<bool> UpdateGameAndFailToWebInTapGlobal(string appId, string webUrl) {
return Task.FromResult(true);
}
public Task<bool> UpdateGameAndFailToWebInTapTap(string appId) {
return Task.FromResult(true);
}
public Task<bool> UpdateGameAndFailToWebInTapTap(string appId, string webUrl) {
return Task.FromResult(true);
}
public void UpdateGameInTapGlobal(string appId, Action<bool> callback) {
}
public void UpdateGameInTapTap(string appId, Action<bool> callback) {
}
}
}