24 lines
542 B
C#
24 lines
542 B
C#
using UnityEngine;
|
|
|
|
/// <summary>
|
|
/// 用于出白包的特殊sdk类型
|
|
/// </summary>
|
|
// ReSharper disable once UnusedMember.Global
|
|
public class SdkEmpty : SdkEditor
|
|
{
|
|
public override string platformId
|
|
{
|
|
get { return "Test"; }
|
|
}
|
|
|
|
private void OnIpListLoaded(WWW www)
|
|
{
|
|
var lines = AssetUtils.TextToLines(www.text);
|
|
ParseIpList(lines);
|
|
}
|
|
|
|
public override void GetServerList()
|
|
{
|
|
AssetUpdateDownloaderTick.instance.LoadStreamingAsset("IPList.txt", OnIpListLoaded);
|
|
}
|
|
} |