Files
Main/Assets/Code/Logic/_Required/SDK/SDKCacheDataBase.cs
2025-01-25 04:38:09 +08:00

130 lines
2.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Thousandto.Code.Logic
{
/// <summary>
/// 用来缓存SDK到游戏层的数据
/// 主要是针对x8 sdk来存储一些必要的数据
/// </summary>
public class SDKCacheDataBase
{
/// <summary>
/// SDK登陆成功之后返回的第三方渠道的账号ID 或者名字
/// </summary>
private string _platUserName = "default";
/// <summary>
/// SDK登陆返回的UserID
/// </summary>
private string _platformUID = "100";
/// <summary>
/// SDK登陆成功之后的Token
/// </summary>
private string _token = "";
/// <summary>
/// SDK登陆成功之后的应用编号
/// </summary>
private string _appID = "";
/// <summary>
/// SDK登陆成功之后的渠道编号也就是之前的PlatformName
/// </summary>
private string _channelID = "";
/// <summary>
/// 公告内容
/// </summary>
private string _noticeContent = "";
/// <summary>
/// SDK那边获取到的服务器列表
/// </summary>
private string _serversJson = "";
public string PlatUserName
{
get
{
return _platUserName;
}
set
{
_platUserName = value;
}
}
public string PlatformUID
{
get
{
return _platformUID;
}
set
{
_platformUID = value;
}
}
public string Token
{
get
{
return _token;
}
set
{
_token = value;
}
}
public string AppID
{
get
{
return _appID;
}
set
{
_appID = value;
}
}
public string ChannelID
{
get
{
return _channelID;
}
set
{
_channelID = value;
}
}
public string NoticeContent
{
get
{
return _noticeContent;
}
set
{
_noticeContent = value;
}
}
public string ServersJson
{
get
{
return _serversJson;
}
set
{
_serversJson = value;
}
}
}
}