public void SendDefendFightBuyChallengeReq(DefendFightMode.DFMD mode) { NetworkManager.Send(new DefendFightBuyChallengeReq { mode = mode }, ServerType.Data); }
public SpecialFightCommonTableData GetSpecialFightCommonTableData(DefendFightMode.DFMD mode) { if (this.commonTableInfo.ContainsKey(mode)) { return(this.commonTableInfo[mode]); } return(null); }
public DefendFightModeInfo GetModeInfo(DefendFightMode.DFMD mode) { if (!this.modeInfo.ContainsKey(mode)) { return(null); } return(this.modeInfo[mode]); }
public int GetSystemIDByMode(DefendFightMode.DFMD mode) { switch (mode) { case DefendFightMode.DFMD.Hold: return(54); case DefendFightMode.DFMD.Protect: return(55); case DefendFightMode.DFMD.Save: return(56); default: return(0); } }
protected bool IsModeOpen(DefendFightMode.DFMD mode) { return(true); }