Exemple #1
0
    /// <summary>
    ///
    /// </summary>
    /// <param name="type"></param>
    void ProtocolHandler(LOTTERY_TYPE type)
    {
        CLottery data = new CLottery();

        data.lotterytype = (int)type;

        IOControler.GetInstance().SendProtocol(data);
    }
Exemple #2
0
    void SendMessage()
    {
        CLottery proto = new CLottery();

        proto.lotterytype = m_CurFlag;
        IOControler.GetInstance().SendProtocol(proto);

        if (m_CurFlag == CLottery.FREE || m_CurFlag == CLottery.ONE)
        {
            m_RecruitScene.GetComponent <RecruitScene>().StopEffect();
        }
    }