resonance 1.0.1
Loading...
Searching...
No Matches
volumeeffector.h
Go to the documentation of this file.
1#pragma once
2
3#include "gs/effector.h"
4
12class VolumeEffector : public Effector {
13public:
20 VolumeEffector(unsigned char nChannel, int nAppliedLevel);
21
28 virtual ~VolumeEffector();
29
37 virtual int Type();
38
48 virtual void SetEnabled(int bEnabled);
49
50private:
51 unsigned char mChannel; // +0x14
52 int mAppliedLevel; // +0x18
53 int mEnabled; // +0x1c
54};
virtual ~VolumeEffector()
Switch the effect off, then tear down the base.
VolumeEffector(unsigned char nChannel, int nAppliedLevel)
virtual int Type()
Report which effect this object applies.
virtual void SetEnabled(int bEnabled)
Send controller 0x2f with mAppliedLevel while applied and with 0x7f otherwise.