// Sound effect factory SoundEffect SimpleFMOD::LoadSoundEffect(const char *filename, FMOD_MODE mode) { return SoundEffect(this, filename, channelEffects, mode); }
SoundEffect SimpleFMOD::LoadSoundEffect(int resourceId, LPCTSTR resourceType, FMOD_MODE mode) { return SoundEffect(this, resourceId, resourceType, channelEffects, mode); }
type.meta = { }; type.LoadBaseClasses( db, typeID, { } ); // Constructors type.AddConstructor<SoundEffect>( [](m::ArgumentList &args) { return m::Variant { SoundEffect( ) }; }, { }, false ); // Dynamic Constructors type.AddConstructor<SoundEffect>( [](m::ArgumentList &args) { return m::Variant { new SoundEffect( )