public static void BattleShop_initData(bool reBack, EBattleShopContex e, string levelID, EBattleShopType teamType, bool bQuickR) { MsgData_BattleShop_initData param = new MsgData_BattleShop_initData { reBack = reBack, eBattleType = e, levelID = levelID, teamType = teamType, enableQuickR = bQuickR }; MobaMessageManagerTools.SendClientMsg(ClientC2C.BattleShop_initData, param, false); }
public static EBattleShopContex GetBattleShopContex() { EBattleShopContex result = EBattleShopContex.ePve; if (LevelManager.Instance.IsPvpBattleType || LevelManager.Instance.IsServerZyBattleType) { result = EBattleShopContex.ePvp; } if (LevelManager.m_CurLevel.IsDaLuanDouPvp()) { result = EBattleShopContex.eBrawl; } return(result); }