示例#1
0
    private void _GetFirstAvailableResume()
    {
        for (int i = 0; i < mWorld.mResumes.Count; ++i)
        {
            CResume r = mWorld.mResumes[i];

            if (r.mOwner != -1)
            {
                mWorld.ControllerAcceptNotify(r.mID, mPlayerId);
                break;
            }
        }
    }