public int GetVoiceDefinitionCountWithMonsterSoundAndCollisionInfoClassName(string className) { byte[] numArray = (byte[])null; if (className != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBVoiceManager._utf8.GetBytes(className, 0, className.Length, numArray, 0); numArray[bytes] = (byte)0; } return(ScriptingInterfaceOfIMBVoiceManager.call_GetVoiceDefinitionCountWithMonsterSoundAndCollisionInfoClassNameDelegate(numArray)); }
public int GetVoiceTypeIndex(string voiceType) { byte[] numArray = (byte[])null; if (voiceType != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBVoiceManager._utf8.GetBytes(voiceType, 0, voiceType.Length, numArray, 0); numArray[bytes] = (byte)0; } return(ScriptingInterfaceOfIMBVoiceManager.call_GetVoiceTypeIndexDelegate(numArray)); }
public void GetVoiceDefinitionListWithMonsterSoundAndCollisionInfoClassName( string className, int[] definitionIndices) { byte[] numArray = (byte[])null; if (className != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBVoiceManager._utf8.GetBytes(className, 0, className.Length, numArray, 0); numArray[bytes] = (byte)0; } PinnedArrayData <int> pinnedArrayData = new PinnedArrayData <int>(definitionIndices); IntPtr pointer = pinnedArrayData.Pointer; ScriptingInterfaceOfIMBVoiceManager.call_GetVoiceDefinitionListWithMonsterSoundAndCollisionInfoClassNameDelegate(numArray, pointer); pinnedArrayData.Dispose(); }