Exemplo n.º 1
0
    private void OnRespondEquip(EventBase evt)
    {
        FashionEvent fevt = evt as FashionEvent;
        //调用player接口
        Player ply = PlayerController.Instance.GetControlObj() as Player;

        ply.ChangeFashion(fevt.mfashionid, fevt.actionid);
    }
Exemplo n.º 2
0
    private void OnRespondActive(EventBase evt)
    {
        FashionEvent fevt = evt as FashionEvent;

        if (!mItemDic.ContainsKey(fevt.mfashionid))
        {
            return;
        }
        isDirty = true;
        mCharacterPreview.ChangeFashion(fevt.mfashionid, fevt.actionid);
    }
Exemplo n.º 3
0
    private void OnRespondEquip(EventBase evt)
    {
        FashionEvent fevt = evt as FashionEvent;

        isDirty = true;
    }
Exemplo n.º 4
0
 private void OnRespondAddstar(EventBase evt)
 {
     FashionEvent fevt = evt as FashionEvent;
 }
Exemplo n.º 5
0
 private void OnRespondActive(EventBase evt)
 {
     FashionEvent fevt = evt as FashionEvent;
 }