FMOD_Studio_System_GetEvent() private method

private FMOD_Studio_System_GetEvent ( IntPtr studiosystem, byte path, IntPtr &description ) : RESULT
studiosystem System.IntPtr
path byte
description System.IntPtr
return RESULT
Exemplo n.º 1
0
        public RESULT getEvent(string path, out EventDescription _event)
        {
            _event = null;
            IntPtr raw    = 0;
            RESULT rESULT = System.FMOD_Studio_System_GetEvent(this.rawPtr, Encoding.UTF8.GetBytes(path + '\0'), out raw);

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