using System.Collections; using System.Collections.Generic; namespace SFramework { public class SFrameworkDef { // Editor public const string ResourceDir = "BundleResource"; public const string AssetsBundleExtName = ".s"; public const string AssetsBundleProductDir = "Product/Bundles"; public const string VersionFileName = "version.json"; // ResourceManager // This is the Update Manager Flag. public const bool isEnableHotfix = false; //public const bool isEnableHotfix = true; public const bool isLoadAssetsBundleOnEditor = false; //public const bool isLoadAssetsBundleOnEditor = true; // UpdateManager public const int httpRequestTimeoutTime = 3; // Client Request Hotfix Lua Before GameUpdate Every Times. // So We Should Put The Hotfix Lua On GameServer. //public const string hotfixLuaUrl = "http://192.168.2.125:21000/files/hotfix.lua"; //public const string hotfixLuaUrl = "http://127.0.0.1:21000/files/hotfix.lua"; public const string hotfixLuaUrl = "http://10.10.100.100:21000/hotfix.lua"; // We should put download server on non-game server like CDN in production mode. //public const string resourceVersionUrlBase = "http://192.168.2.125:21000/files/Bundles/"; //public const string resourceVersionUrlBase = "http://127.0.0.1:21000/files/Bundles/"; public const string resourceVersionUrlBase = "http://10.10.100.100:21000/Bundles/"; public const string resourceVersionName = "version.json"; } }