少年修仙传客户端基础资源
dabaoji
2025-06-09 8ee0256378cbf5dbc9d76ed10b60b65a844ef4dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
using UnityEngine;
using LitJsonForAot;
using StartAot;
 
namespace StartAotSDK
{
    public class VersionConfigEx
    {
        public enum VersionAuthority
        {
            InterTest = 0,
            Release = 1,
        }
 
        public enum InstalledAsset
        {
            NullAsset = 0,
            HalfAsset = 1,
            FullAsset = 2,
            IngoreDownLoad = 3,
        }
 
        public string m_AppId;
        public string appId
        {
            get
            {
                return m_AppId;
            }
        }
 
        public string m_SpID;
        public string SpID
        {
            get
            {
                return m_SpID;
            }
        }
 
        public VersionAuthority m_VersionAuthority;
        public VersionAuthority versionAuthority { get { return m_VersionAuthority; } }
 
        public string m_Version;
        public string version { get { return m_Version; } }
 
        string m_ClientPackageFlag;
        public string clientPackageFlag { get { return m_ClientPackageFlag; } }
 
        public int m_Branch;
        public int branch
        {
            get
            {
                if (ResourcesModel.Instance.debugBranch > 0)
                {
                    return ResourcesModel.Instance.debugBranch;
                }
                else
                {
                    return m_Branch;
                }
            }
        }
 
        string m_GameId = string.Empty;
        public string gameId
        {
            get
            {
                if (string.IsNullOrEmpty(m_GameId))
                {
                    var gameText = Resources.Load<TextAsset>("Game");
                    if (gameText != null)
                    {
                        m_GameId = gameText.text;
                    }
                    else
                    {
                        m_GameId = "xbqy";
                    }
                }
 
                return m_GameId;
            }
        }
 
 
        public InstalledAsset m_AssetAccess;
        public InstalledAsset assetAccess { get { return m_AssetAccess; } set { m_AssetAccess = value; } }
 
        public bool m_PartAssetPackage;
        public bool partAssetPackage { get { return m_PartAssetPackage; } set { m_PartAssetPackage = value; } }
 
        public string m_ProductName;
        public string productName { get { return m_ProductName; } }
 
        public string m_BundleIdentifier;
        public string bundleIdentifier { get { return m_BundleIdentifier; } }
 
        public string m_KeystoreFileName;
        public string keystoreFileName { get { return m_KeystoreFileName; } }
 
        public string m_KeystorePassword;
        public string keystorePassword { get { return m_KeystorePassword; } }
 
        public string m_KeystoreAlias;
        public string keystoreAlias { get { return m_KeystoreAlias; } }
 
        public string m_KeystoreAliasPassword;
        public string keystoreAliasPassword { get { return m_KeystoreAliasPassword; } }
 
        public string m_AppleDeveloperTeamID;
        public string appleDeveloperTeamID { get { return m_AppleDeveloperTeamID; } }
 
        public bool m_DebugVersion;
        public bool debugVersion
        {
            get { return m_DebugVersion; }
            set { m_DebugVersion = value; }
        }
 
        public bool m_IsBanShu;
        public bool isBanShu
        {
            get { return m_IsBanShu; }
            set { m_IsBanShu = value; }
        }
 
        public string m_BuildTime;
        public string buildTime
        {
            get { return m_BuildTime; }
            set { m_BuildTime = value; }
        }
 
        public int m_BuildIndex;
        public int buildIndex
        {
            get { return m_BuildIndex; }
            set { m_BuildIndex = value; }
        }
 
        public Vector2 m_LogoPosition;
        public Vector2 logoPosition { get { return m_LogoPosition; } }
 
        public string m_BanHao;
        public string banHao
        {
            get
            {
                return m_BanHao;
            }
        }
 
        // 打包时sdk文件名,有配置取这个名字,没配置用appid,用于同一个appid版本sdk不同的情况
        public string m_SdkFileName;
        public string sdkFileName
        {
            get { return m_SdkFileName; }
            set { m_SdkFileName = value; }
        }
 
        static VersionConfigEx config = null;
        public static VersionConfigEx Get()
        {
            if (config == null)
            {
 
                var text = Resources.Load<TextAsset>("VersionConfigEx");
                if (text != null)
                {
                    config = JsonMapper.ToObject<VersionConfigEx>(text.text);
                }
            }
 
            return config;
        }
 
 
    }
}