You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
539 B

1 month ago
using CoreGame;
namespace CoreGame.Render
{
public class Trigger_ChangeGun : TriggerBase
{
public override void OnEvent(TriggerSpec self, int eventId, object param1)
{
OnTrigger(self, eventId, param1);
}
public override void Init(TriggerSpec self)
{
RegEntityEvent(self, ClientEvent.OnSwitchGunOn);
}
public override void UnInit(TriggerSpec self)
{
UnRegEntityEvent(self, ClientEvent.OnSwitchGunOn);
}
}
}