public bool PlaySoundWithParam(
     int soundCodeId,
     SoundEventParameter parameter,
     ref Vec3 position)
 {
     return(ScriptingInterfaceOfIMBSoundEvent.call_PlaySoundWithParamDelegate(soundCodeId, parameter, ref position));
 }
 public bool PlaySoundWithIntParam(
     int fmodEventIndex,
     int paramIndex,
     float paramVal,
     ref Vec3 position)
 {
     return(ScriptingInterfaceOfIMBSoundEvent.call_PlaySoundWithIntParamDelegate(fmodEventIndex, paramIndex, paramVal, ref position));
 }
 public bool PlaySoundWithStrParam(
     int fmodEventIndex,
     string paramName,
     float paramVal,
     ref Vec3 position)
 {
     byte[] numArray = (byte[])null;
     if (paramName != null)
     {
         numArray = CallbackStringBufferManager.StringBuffer0;
         int bytes = ScriptingInterfaceOfIMBSoundEvent._utf8.GetBytes(paramName, 0, paramName.Length, numArray, 0);
         numArray[bytes] = (byte)0;
     }
     return(ScriptingInterfaceOfIMBSoundEvent.call_PlaySoundWithStrParamDelegate(fmodEventIndex, numArray, paramVal, ref position));
 }
 public bool PlaySound(int fmodEventIndex, ref Vec3 position) => ScriptingInterfaceOfIMBSoundEvent.call_PlaySoundDelegate(fmodEventIndex, ref position);