CSwitch::SignalAttachedItems

This commit is contained in:
krystalgamer 2024-07-19 18:04:05 +02:00
parent c6137baa64
commit 1245bb82f1
2 changed files with 8 additions and 0 deletions

View File

@ -1,6 +1,13 @@
#include "switch.h"
#include "trig.h"
#include "validate.h"
// @Ok
void CSwitch::SignalAttachedItems(void)
{
Trig_SendPulse(Trig_GetLinksPointer(this->field_DE));
}
// @Ok
void __inline CSwitch::SwitchInactive(void)
{

View File

@ -12,6 +12,7 @@ class CSwitch : public CBody
EXPORT void SwitchInactive(void);
EXPORT CVector* GetAutoAimTargetPointer(void);
EXPORT void SwitchOff(void);
EXPORT void SignalAttachedItems(void);
unsigned char padTop[0x100-0xF4];