FMOD_Studio_System_GetEventByID() private method

private FMOD_Studio_System_GetEventByID ( IntPtr studiosystem, byte guid, IntPtr &description ) : RESULT
studiosystem System.IntPtr
guid byte
description System.IntPtr
return RESULT
Beispiel #1
0
        public RESULT getEventByID(Guid guid, out EventDescription _event)
        {
            _event = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_GetEventByID(this.rawPtr, guid.ToByteArray(), out raw);

            if (rESULT != RESULT.OK)
            {
                return(rESULT);
            }
            _event = new EventDescription(raw);
            return(rESULT);
        }