本文整理汇总了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);
示例2: FMOD_EventSystem_GetEventBySystemID
private static extern RESULT FMOD_EventSystem_GetEventBySystemID(IntPtr eventsystem, uint systemid, EVENT_MODE mode, ref IntPtr _event);
示例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;
}
示例4: FMOD_EventSystem_GetEvent
private static extern RESULT FMOD_EventSystem_GetEvent(IntPtr eventsystem, string name, EVENT_MODE mode, ref IntPtr _event);
示例5: FMOD_EventProject_GetEventByProjectID
private static extern RESULT FMOD_EventProject_GetEventByProjectID(IntPtr eventproject, uint projectid, EVENT_MODE mode, ref IntPtr _event);
示例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);
示例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);
}
示例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;
}
示例9: FMOD_EventGroup_LoadEventData
private static extern RESULT FMOD_EventGroup_LoadEventData(IntPtr eventgroup, EVENT_RESOURCE resource, EVENT_MODE mode);
示例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;
}
示例11: FMOD_EventGroup_GetEventByIndex
private static extern RESULT FMOD_EventGroup_GetEventByIndex(IntPtr eventgroup, int index, EVENT_MODE mode, ref IntPtr _event);
示例12: FMOD_EventGroup_GetEvent
private static extern RESULT FMOD_EventGroup_GetEvent(IntPtr eventgroup, string name, EVENT_MODE mode, ref IntPtr _event);
示例13: loadEventData
public RESULT loadEventData(EVENT_RESOURCE resource, EVENT_MODE mode)
{
return FMOD_EventGroup_LoadEventData(eventgroupraw, resource, mode);
}
示例14: loadSoundData
public RESULT loadSoundData(EVENT_RESOURCE resource, EVENT_MODE mode)
{
return FMOD_MusicSystem_LoadSoundData(musicsystemraw, resource, mode);
}
示例15: FMOD_EventProject_GetEvent
private static extern RESULT FMOD_EventProject_GetEvent(IntPtr eventproject, string name, EVENT_MODE mode, ref IntPtr _event);