2025-04-18 19:18:15 +08:00
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
namespace GameLogic
|
|
|
|
{
|
|
|
|
public class EventConts
|
|
|
|
{
|
|
|
|
public static PlatformType PlatformType = PlatformType.Dy; // 平台类型
|
|
|
|
|
|
|
|
public static string Token = string.Empty; // 登录token
|
|
|
|
|
|
|
|
public static RoomInfoData RoomData;
|
|
|
|
|
2025-06-11 18:18:24 +08:00
|
|
|
public static int MaxPlayerIds = 23; // 最多九个位置
|
2025-04-18 19:18:15 +08:00
|
|
|
public static int InitPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).InitPower; // 初始推力
|
2025-06-14 16:01:00 +08:00
|
|
|
public static float PlayerScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).PlayerScale; // 初始推力
|
2025-04-18 19:18:15 +08:00
|
|
|
public static string GmPass = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).GmPassworld; // Gm解锁密码
|
2025-06-26 19:37:41 +08:00
|
|
|
public static float JszPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).JszPower; // Gm解锁密码
|
2025-06-17 16:12:08 +08:00
|
|
|
public static float WaiXingScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).WaiXingScale;
|
2025-06-28 18:35:19 +08:00
|
|
|
public static float WaiXingBeiLv = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).WaiXingBeiLv;
|
2025-04-18 19:18:15 +08:00
|
|
|
public static bool isGmPass = false; // 是否解锁
|
|
|
|
public const int isZoneTimerBuffId = 6;// 特殊Buff
|
|
|
|
public const int isAllPowerBuffId = 7;// 永久增加Buff
|
|
|
|
public const int actorScaleConst = 100; // Actor缩放因素
|
|
|
|
public static int gameLenTiemr = 180; // 游戏时长
|
|
|
|
public static int[] allScoreScale = new int[] { 60, 12, 10, 8, 5, 5 }; // 积分池比例
|
|
|
|
public static int[] allWinScale = new int[] { 50, 30, 20 }; // 积分池比例
|
|
|
|
public static int MaxActorScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).ActorMaxScale;
|
|
|
|
public static int MinActorScale = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).ActorMinScale;
|
|
|
|
public static string[] colorList = new string[] { "770b00", "470c00","0b7700","840079","280084","520057","78002d","2f0047","002047","072700",
|
|
|
|
"040053" ,"7c1700","0000b2","b42a00","b40083","770b00", "470c00","0b7700","840079","280084","520057","78002d","2f0047","002047","072700",
|
|
|
|
"040053" ,"7c1700","0000b2","b42a00","b40083" };
|
|
|
|
|
|
|
|
|
2025-06-03 14:21:19 +08:00
|
|
|
public static GameModelType gameModel = GameModelType.快速;
|
2025-04-18 19:18:15 +08:00
|
|
|
public static int GmActorId = 1;
|
|
|
|
|
2025-06-05 15:54:33 +08:00
|
|
|
public static int HuangJinShiDaiEnd = 30; // 黄金时代结束时间
|
|
|
|
public static int LiShiShiJianEnd = 30; // 历史事件结束时间
|
2025-06-04 03:16:46 +08:00
|
|
|
|
|
|
|
|
2025-04-18 19:18:15 +08:00
|
|
|
// 测试玩家头像Url
|
|
|
|
public const string TestPlayerUrl = "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_2b95d7b6faea4cd09cd872ca826930bc.png";
|
|
|
|
|
|
|
|
#region 服务器API地址
|
|
|
|
public const string ServerUrlTest = "ws://test-ws.ganfanxiaozu.com/ws/{0}?app_id={4}&anchor_open_id={1}&avatar_url={2}&nick_name={3}";
|
2025-06-06 01:11:49 +08:00
|
|
|
public const string ServerUrl = "ws://gapi.ganfanxiaozu.com/ws/{0}?app_id={4}&anchor_open_id={1}&avatar_url={2}&nick_name={3}";
|
2025-04-18 19:18:15 +08:00
|
|
|
|
2025-06-09 17:21:00 +08:00
|
|
|
public const string GetAllRank = "http://gapi.ganfanxiaozu.com/api/dm/getAllRanks";
|
2025-04-18 19:18:15 +08:00
|
|
|
public const string GetAllRankTest = "http://test-api.ganfanxiaozu.com/api/dm/getAllRanks";
|
2025-06-09 17:21:00 +08:00
|
|
|
public const string UploadScore = "http://gapi.ganfanxiaozu.com/api/dm/round/upload_scores";
|
2025-05-15 17:54:25 +08:00
|
|
|
public const string UploadScoreTest = "http://test-api.ganfanxiaozu.com/api/dm/round/upload_scores";
|
2025-06-09 17:21:00 +08:00
|
|
|
public const string UpLoadAnchorScore = "http://gapi.ganfanxiaozu.com/api/dm/uploadAnchorScore";
|
2025-04-18 19:18:15 +08:00
|
|
|
public const string UpLoadAnchorScoreTest = "http://test-api.ganfanxiaozu.com/api/dm/uploadAnchorScore";
|
2025-06-09 17:21:00 +08:00
|
|
|
public const string GetAnchorScore = "http://gapi.ganfanxiaozu.com/api/dm/getAnchorScore";
|
2025-04-18 19:18:15 +08:00
|
|
|
public const string GetAnchorScoreTest = "http://test-api.ganfanxiaozu.com/api/dm/getAnchorScore";
|
2025-06-09 17:21:00 +08:00
|
|
|
public const string GetRank = "http://gapi.ganfanxiaozu.com/api/dm/avatar/rank";
|
2025-05-31 21:35:30 +08:00
|
|
|
public const string GetRankTest = "http://test-api.ganfanxiaozu.com/api/dm/avatar/rank";
|
2025-06-09 17:21:00 +08:00
|
|
|
public static string GetRoomInfo = "http://gapi.ganfanxiaozu.com/api/dm/getRoomInfo";
|
2025-06-27 17:23:21 +08:00
|
|
|
|
|
|
|
public static string GetAck = "http://gapi.ganfanxiaozu.com/api/dm/anchor/giftChat";
|
|
|
|
public static string GetAckTest = "http://test-api.ganfanxiaozu.com/api/dm/anchor/giftChat";
|
2025-04-18 19:18:15 +08:00
|
|
|
#endregion
|
2025-06-06 01:11:49 +08:00
|
|
|
public const string app_id = "tt891dffa01615adf510";
|
2025-04-18 19:18:15 +08:00
|
|
|
public const string app_id_test = "Dqzg001";
|
|
|
|
|
|
|
|
// 消息结构体
|
|
|
|
public const string ServerPushMessage = "ServerPushMessage";
|
|
|
|
|
|
|
|
public const string MessageInfo = "MessageInfo";
|
|
|
|
public const string GiftInfo = "GiftInfo";
|
|
|
|
public const string LickInfo = "LickInfo";
|
|
|
|
|
|
|
|
#region UI
|
|
|
|
public const string RestGameBattle = "RestGameBattle";
|
|
|
|
public const string UpdateHItem = "UpdateHItem";
|
|
|
|
public const string PlayerUpdateLv = "PlayerUpdateLv";
|
|
|
|
public const string AddPlayer = "AddPlayer";
|
|
|
|
public const string AddGiftMessage = "AddGiftMessage";
|
2025-05-07 15:16:19 +08:00
|
|
|
public const string TtqEffectCreate = "TtqEffectCreate";
|
2025-05-09 16:29:30 +08:00
|
|
|
public const string SwitchTeamId = "SwitchTeamId";
|
2025-06-03 21:54:52 +08:00
|
|
|
public const string HuangJinGameEnd = "HuangJinGameEnd";
|
2025-06-04 03:48:59 +08:00
|
|
|
public const string GuanJunShiKe = "GuanJunShiKe";
|
2025-06-04 06:20:22 +08:00
|
|
|
public const string UIDianZan = "UIDianZan";
|
2025-06-17 19:47:14 +08:00
|
|
|
public const string UIHDWMSP = "UIHDWMSP";
|
2025-06-28 18:35:19 +08:00
|
|
|
|
|
|
|
public const string UIDouDong = "UIDouDong";
|
2025-04-18 19:18:15 +08:00
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|