コード例 #1
0
    public void ChallengeFloor(int floor)
    {
        SetDoingFloor(floor);

        ChallengeStageEnterStageActionParam param = new ChallengeStageEnterStageActionParam();

        param.Floor = (uint)GetDoingFloor();
        Net.Instance.DoAction((int)Message.MESSAGE_ID.ID_MSG_CHALLENGE_STAGE_BEGIN, param);
    }
コード例 #2
0
    protected override void OnRequest(request_challenge_stage_begin request, object userdata)
    {
        ChallengeStageEnterStageActionParam param = userdata as ChallengeStageEnterStageActionParam;

        if (param == null)
        {
            return;
        }

        request.floor = param.Floor;
    }