Ejemplo n.º 1
0
    /// <summary>
    /// 请求城池信息
    /// </summary>
    /// <param name="copyId"></param>
    public void ReqCityWarFrameInfo(uint copyId)
    {
        stCityWarFrameInfoClanUserCmd_CS cmd = new stCityWarFrameInfoClanUserCmd_CS();

        cmd.city_war_id = copyId;
        NetService.Instance.Send(cmd);
    }
Ejemplo n.º 2
0
    /// <summary>
    /// 城池信息
    /// </summary>
    /// <param name="cmd"></param>
    public void OnCityWarFrameInfo(stCityWarFrameInfoClanUserCmd_CS cmd)
    {
        this.m_cityWarSelectCopyId           = cmd.city_war_id;
        this.m_cityWarRegisterClanName       = cmd.clan_name;
        this.m_cityWarRegisterClanLeaderName = cmd.city_master;
        this.m_lstCityWarApplyInfo           = cmd.info;
        this.m_lstCityWarSign = cmd.sign_info;
        this.m_bIsOpen        = cmd.have_open_war;
        this.m_haveDefender   = cmd.have_defender;

        if (DataManager.Manager <UIPanelManager>().IsShowPanel(PanelID.CityWarRegisterPanel))
        {
            DataManager.Manager <UIPanelManager>().SendMsg(PanelID.CityWarRegisterPanel, UIMsgID.eCityWarFrameInfo, null);
        }
    }
Ejemplo n.º 3
0
 public void OnCityWarFrameInfo(stCityWarFrameInfoClanUserCmd_CS cmd)
 {
     DataManager.Manager <CityWarManager>().OnCityWarFrameInfo(cmd);
 }