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;
|
|
|
|
|
|
|
|
public static int MaxPlayerIds = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).MaxPlayerId; // 最多九个位置
|
|
|
|
public static int InitPower = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).InitPower; // 初始推力
|
|
|
|
public static string GmPass = ConfigSystem.Instance.Tables.TbSystemConfig.Get(1).GmPassworld; // Gm解锁密码
|
|
|
|
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" };
|
|
|
|
|
|
|
|
|
|
|
|
public static int GmActorId = 1;
|
|
|
|
|
|
|
|
// 测试玩家头像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-05-27 21:27:44 +08:00
|
|
|
public const string ServerUrl = "ws://gapi-ws.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-05-27 21:27:44 +08:00
|
|
|
public const string GetAllRank = "http://gapi-api.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-05-27 21:27:44 +08:00
|
|
|
public const string UploadScore = "http://gapi-api.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-05-27 21:27:44 +08:00
|
|
|
public const string UpLoadAnchorScore = "http://gapi-api.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-05-27 21:27:44 +08:00
|
|
|
public const string GetAnchorScore = "http://gapi-api.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-05-31 21:35:30 +08:00
|
|
|
public const string GetRank = "http://gapi-api.ganfanxiaozu.com/api/dm/avatar/rank";
|
|
|
|
public const string GetRankTest = "http://test-api.ganfanxiaozu.com/api/dm/avatar/rank";
|
2025-05-27 21:27:44 +08:00
|
|
|
public static string GetRoomInfo = "http://gapi-api.ganfanxiaozu.com/api/dm/getRoomInfo";
|
2025-04-18 19:18:15 +08:00
|
|
|
#endregion
|
|
|
|
public const string app_id = "tt906ce6d10f66ef3d10";
|
|
|
|
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-04-18 19:18:15 +08:00
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|