Ejemplo n.º 1
0
    private void ClickStart(IUIObject obj)
    {
        if (this.m_nSelectStep < 0)
        {
            return;
        }
        NrMyCharInfo myCharInfo = NrTSingleton <NkCharManager> .Instance.GetMyCharInfo();

        long charSubData = myCharInfo.GetCharSubData(eCHAR_SUBDATA.CHAR_SUBDATA_COLOSSEUM_CHALLENGE);

        if (charSubData < (long)this.m_nSelectStep)
        {
            Main_UI_SystemMessage.ADDMessage(NrTSingleton <NrTextMgr> .Instance.GetTextFromNotify("305"), SYSTEM_MESSAGE_TYPE.NAGATIVE_MESSAGE);
            return;
        }
        GS_COLOSSEUM_DUMMY_MATCH_REQ gS_COLOSSEUM_DUMMY_MATCH_REQ = new GS_COLOSSEUM_DUMMY_MATCH_REQ();

        gS_COLOSSEUM_DUMMY_MATCH_REQ.i64PersonID      = 0L;
        gS_COLOSSEUM_DUMMY_MATCH_REQ.nSelectStepIndex = this.m_nSelectStep;
        SendPacket.GetInstance().SendObject(eGAME_PACKET_ID.GS_COLOSSEUM_DUMMY_MATCH_REQ, gS_COLOSSEUM_DUMMY_MATCH_REQ);
    }
Ejemplo n.º 2
0
    public void SendBattle(MsgBoxUI msgbox, object obj)
    {
        GS_COLOSSEUM_DUMMY_MATCH_REQ obj2 = obj as GS_COLOSSEUM_DUMMY_MATCH_REQ;

        SendPacket.GetInstance().SendObject(eGAME_PACKET_ID.GS_COLOSSEUM_DUMMY_MATCH_REQ, obj2);
    }