コード例 #1
0
    private void overTask(MessageHandle msg)
    {
        if (msg != null && msg.buttonID == MessageHandle.BUTTON_LEFT)
        {
            return;
        }
        TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort;

        fport.access(task.sid, win, getAward);
    }
コード例 #2
0
    private void onGetAwards(GameObject obj)
    {
        if (!TaskManagerment.Instance.isComplete(task))
        {
            //receiveButton.disableButton(true);
            showMessage(false);
            return;
        }
        UiManager.Instance.applyMask();
        TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort;

        fport.access(task.sid, dailyContent, showMessage2);
//		TaskManagerment.Instance.completeTask (task.sid);
//		updateTask (task);
    }
コード例 #3
0
    private void overTask()
    {
        TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort;

        fport.access(task.sid, win, getAward);
    }