Exemplo n.º 1
0
    public void Starts()
    {
        if (UseItem)
        {
            DialogueMgr.ShowDialogue("사용 성공", "[" + name + "]이 사용되었습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
            UseItem = false;
        }
//		mProfileEvent = new GetProfileEvent (new EventDelegate (this, "ActiveCount"));
//		NetMgr.GetProfile (UserMgr.UserInfo.memSeq, mProfileEvent);
        //		if (Delete) {
        //			DialogueMgr.ShowDialogue ("삭제 성공", "삭제되었습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        //			Delete = false;
        //		} else

        mEvent = new GetInvenItemEvent(new EventDelegate(this, "GotItemsInven"));
        NetMgr.GetInvenItem(mEvent);
    }
Exemplo n.º 2
0
    public void Reset()
    {
//		mProfileEvent = new GetProfileEvent (new EventDelegate (this, "ActiveCount"));
//		NetMgr.GetProfile (UserMgr.UserInfo.memSeq, mProfileEvent);
        //		if (Delete) {
        //			DialogueMgr.ShowDialogue ("삭제 성공", "삭제되었습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
        //			Delete = false;
        //		} else
        if (UseItem)
        {
            DialogueMgr.ShowDialogue("사용 성공", "[" + name + "]이 사용되었습니다.", DialogueMgr.DIALOGUE_TYPE.Alert, null);
            UseItem = false;
        }



        transform.FindChild("ListCards").GetComponent <UIDraggablePanel2> ().RemoveAll();
        mEvent = new GetInvenItemEvent(new EventDelegate(this, "GotItemsInven"));
        NetMgr.GetInvenItem(mEvent);
    }