BITFALL/Assets/BITKit/UnityPluginsSupport/Steamwork/ISteamService.cs

34 lines
782 B
C#
Raw Normal View History

2023-08-23 01:59:40 +08:00
using System.Collections;
using System.Collections.Generic;
2023-09-01 14:33:54 +08:00
using System.Threading;
2023-08-23 01:59:40 +08:00
using UnityEngine;
using Steamworks;
2023-09-01 14:33:54 +08:00
using Cysharp.Threading.Tasks;
2023-08-23 01:59:40 +08:00
namespace BITKit.Steamwork
{
/// <summary>
/// Steam服务接口
/// </summary>
public interface ISteamService
{
/// <summary>
/// SteamId
/// </summary>
int Id { get; }
/// <summary>
/// Steam64位Id
/// </summary>
ulong SteamId { get; }
/// <summary>
/// Steam用户名
/// </summary>
string Name { get; }
/// <summary>
/// Steam客户端是否已经初始化
/// </summary>
bool IsInitialized { get; }
2023-09-01 14:33:54 +08:00
UniTask<Texture2D> GetAvatarAsync(CancellationToken token);
2023-08-23 01:59:40 +08:00
}
}