当前位置: 首页>>代码示例>>C#>>正文


C# EVENT_MODE类代码示例

本文整理汇总了C#中EVENT_MODE的典型用法代码示例。如果您正苦于以下问题:C# EVENT_MODE类的具体用法?C# EVENT_MODE怎么用?C# EVENT_MODE使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EVENT_MODE类属于命名空间,在下文中一共展示了EVENT_MODE类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: FMOD_EventSystem_GetEventByGUIDString

 private static extern RESULT FMOD_EventSystem_GetEventByGUIDString(IntPtr eventsystem, string guid, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例2: FMOD_EventSystem_GetEventBySystemID

 private static extern RESULT FMOD_EventSystem_GetEventBySystemID(IntPtr eventsystem, uint systemid, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例3: getEventBySystemID

        public RESULT getEventBySystemID(uint systemid, EVENT_MODE mode, ref Event _event)
        {
            RESULT result   = RESULT.OK;
            IntPtr eventraw = new IntPtr();
            Event eventnew  = null;

            try
            {
                result = FMOD_EventSystem_GetEventBySystemID(eventsystemraw, systemid, mode, ref eventraw);
            }
            catch
            {
                result = RESULT.ERR_INVALID_PARAM;
            }
            if (result != RESULT.OK)
            {
                return result;
            }

            if (_event == null)
            {
                eventnew = new Event();
                eventnew.setRaw(eventraw);
                _event = eventnew;
            }
            else
            {
                _event.setRaw(eventraw);
            }

            return result;
        }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:32,代码来源:fmod_event.cs

示例4: FMOD_EventSystem_GetEvent

 private static extern RESULT FMOD_EventSystem_GetEvent(IntPtr eventsystem, string name, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例5: FMOD_EventProject_GetEventByProjectID

 private static extern RESULT FMOD_EventProject_GetEventByProjectID(IntPtr eventproject, uint projectid, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例6: FMOD_EventProject_LoadSampleData

 private static extern RESULT FMOD_EventProject_LoadSampleData(IntPtr eventproject, ref int eventid_array, int sizeof_eventid_array, IntPtr groupname_array, int sizeof_groupname_array, EVENT_MODE eventmode);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例7: loadSampleData

 public RESULT loadSampleData(ref int eventid_array, int sizeof_eventid_array, IntPtr groupname_array, int sizeof_groupname_array, EVENT_MODE eventmode)
 {
     return FMOD_EventProject_LoadSampleData(eventprojectraw, ref eventid_array, sizeof_eventid_array, groupname_array, sizeof_groupname_array, eventmode);
 }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:4,代码来源:fmod_event.cs

示例8: getEventByIndex

        public RESULT getEventByIndex(int index, EVENT_MODE mode, ref Event _event)
        {
            RESULT result   = RESULT.OK;
            IntPtr eventraw = new IntPtr();
            Event  eventnew = null;

            try
            {
                result = FMOD_EventGroup_GetEventByIndex(eventgroupraw, index, mode, ref eventraw);
            }
            catch
            {
                result = RESULT.ERR_INVALID_PARAM;
            }
            if (result != RESULT.OK)
            {
                return result;
            }

            if (_event == null)
            {
                eventnew = new Event();
                eventnew.setRaw(eventraw);
                _event = eventnew;
            }
            else
            {
                _event.setRaw(eventraw);
            }

            return result;
        }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:32,代码来源:fmod_event.cs

示例9: FMOD_EventGroup_LoadEventData

 private static extern RESULT FMOD_EventGroup_LoadEventData(IntPtr eventgroup, EVENT_RESOURCE resource, EVENT_MODE mode);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例10: getEvent

        public RESULT getEvent(string name, EVENT_MODE mode, ref Event _event)
        {
            RESULT result   = RESULT.OK;
            IntPtr eventraw = new IntPtr();
            Event  eventnew = null;

            try
            {
                result = FMOD_EventProject_GetEvent(eventprojectraw, name, mode, ref eventraw);
            }
            catch
            {
                result = RESULT.ERR_INVALID_PARAM;
            }
            if (result != RESULT.OK)
            {
                return result;
            }

            if (_event == null)
            {
                eventnew = new Event();
                eventnew.setRaw(eventraw);
                _event = eventnew;
            }
            else
            {
                _event.setRaw(eventraw);
            }

            return result;
        }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:32,代码来源:fmod_event.cs

示例11: FMOD_EventGroup_GetEventByIndex

 private static extern RESULT FMOD_EventGroup_GetEventByIndex(IntPtr eventgroup, int index, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例12: FMOD_EventGroup_GetEvent

 private static extern RESULT FMOD_EventGroup_GetEvent(IntPtr eventgroup, string name, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs

示例13: loadEventData

 public RESULT loadEventData(EVENT_RESOURCE resource, EVENT_MODE mode)
 {
     return FMOD_EventGroup_LoadEventData(eventgroupraw, resource, mode);
 }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:4,代码来源:fmod_event.cs

示例14: loadSoundData

 public RESULT loadSoundData(EVENT_RESOURCE resource, EVENT_MODE mode)
 {
     return FMOD_MusicSystem_LoadSoundData(musicsystemraw, resource, mode);
 }
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:4,代码来源:fmod_event.cs

示例15: FMOD_EventProject_GetEvent

 private static extern RESULT FMOD_EventProject_GetEvent(IntPtr eventproject, string name, EVENT_MODE mode, ref IntPtr _event);
开发者ID:Guitaroz,项目名称:Arcade-Space-Shooter,代码行数:1,代码来源:fmod_event.cs


注:本文中的EVENT_MODE类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。