예제 #1
0
 public void SendDefendFightBuyChallengeReq(DefendFightMode.DFMD mode)
 {
     NetworkManager.Send(new DefendFightBuyChallengeReq
     {
         mode = mode
     }, ServerType.Data);
 }
예제 #2
0
 public SpecialFightCommonTableData GetSpecialFightCommonTableData(DefendFightMode.DFMD mode)
 {
     if (this.commonTableInfo.ContainsKey(mode))
     {
         return(this.commonTableInfo[mode]);
     }
     return(null);
 }
예제 #3
0
 public DefendFightModeInfo GetModeInfo(DefendFightMode.DFMD mode)
 {
     if (!this.modeInfo.ContainsKey(mode))
     {
         return(null);
     }
     return(this.modeInfo[mode]);
 }
예제 #4
0
    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);
        }
    }
예제 #5
0
 protected bool IsModeOpen(DefendFightMode.DFMD mode)
 {
     return(true);
 }