Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
        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();
        }