Exemple #1
0
    /// <summary>
    /// 删除称号
    /// </summary>
    public void OnDeleteTitle(stDeleteTitlePropertyUserCmd_CS cmd)
    {
        stTitleData titleData = m_listOwnedTitle.Find((data) => { return(data.dwID == cmd.wdTitleID); });

        if (titleData != null)
        {
            m_listOwnedTitle.Remove(titleData);
        }

        object titleIdData = cmd.wdTitleID;

        EventEngine.Instance().DispatchEvent((int)GameEventID.TITLE_DELETE, titleIdData);//抛出删除的称号
        isDelete = true;
    }
Exemple #2
0
 public void OnDeleteTitle(stDeleteTitlePropertyUserCmd_CS cmd)
 {
     DataManager.Manager <TitleManager>().OnDeleteTitle(cmd);
 }