using Server.Scheduler; using Server.SQL; using Server.SQL.Excel; namespace Server.System { public static class Statics { #if DEBUG public static readonly string SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; public static readonly string EXCEL_SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; public static readonly string remoteUrl = "https://manager:BQNl01bJJF0wn9R@gitea.pandoli365.com/Team.thewar/thewar_excel.git"; public static readonly Redis redis = new Redis("192.168.1.2", 6379, 1, "xPEz3x08xQ8G1Fa"); #elif LIVE public static readonly string SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; public static readonly string EXCEL_SQL_URL = "Host=192.168.1.2;Port=5432;Username=manager;Password=Zn2zs558W5SdD8K;Database=project_thewar;"; public static readonly string remoteUrl = "https://manager:BQNl01bJJF0wn9R@gitea.pandoli365.com/Team.thewar/thewar_excel_live.git"; public static readonly Redis redis = new Redis("192.168.1.2", 6379, 1, "xPEz3x08xQ8G1Fa"); #endif public static readonly string URL = "https://0.0.0.0:4860"; public static readonly string PATTERN = "[^a-zA-Z0-9가-힣 ]"; public static readonly TimeZoneInfo timeZone = TimeZoneInfo.FindSystemTimeZoneById("Korea Standard Time"); //SQL public static DeckInfoSQL deckInfoSQL = new DeckInfoSQL(); public static DeckUnitInfoSQL deckUnitInfoSQL = new DeckUnitInfoSQL(); public static EquipmentrSQL equipmentrSQL = new EquipmentrSQL(); public static UserSQL userSQL = new UserSQL(); public static DynamicDataSQL dynamicDataSQL = new DynamicDataSQL(); public static ConsumableItemSQL consumableItemSQL = new ConsumableItemSQL(); public static EtcItemSQL etcItemSQL = new EtcItemSQL(); public static ResetShopItemSQL resetShopItemSQL = new ResetShopItemSQL(); public static ShopItemSQL shopItemSQL = new ShopItemSQL(); public static StoryProgressSQL storyProgressSQL = new StoryProgressSQL(); //DATA public static EquipmentDataExcel equipmentExcel = new EquipmentDataExcel(); public static RandomRewardDataExcel randomRewardExcel = new RandomRewardDataExcel(); public static RewardDataExcel rewardExcel = new RewardDataExcel(); public static ShopItemDataExcel shopItemExcel = new ShopItemDataExcel(); public static ConsumableItemDataExcel consumableItemExcel = new ConsumableItemDataExcel(); public static ResetShopItemDataExcel resetShopItemExcel = new ResetShopItemDataExcel(); //Schedule public static Schedule session = new Schedule("sessionJob", "sessionGroup", "Session", "0 0/1 * 1/1 * ? *"); } }