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); } } }