/// <summary> /// Called when the name of NTF unit is about to be set. This happens when NTF units respawn. /// <summary> public void OnSetNTFUnitName(SetNTFUnitNameEvent ev) { Dictionary <string, string> variables = new Dictionary <string, string> { { "name", ev.Unit } }; this.plugin.SendMessage(Config.GetArray("channels.onsetntfunitname"), "team.onsetntfunitname", variables); }
public void OnSetNTFUnitName(SetNTFUnitNameEvent ev) { /// <summary> /// Called when the name of NTF unit is about to be set. This happens when NTF units respawn. /// <summary> Dictionary <string, string> variables = new Dictionary <string, string> { { "name", ev.Unit } }; plugin.SendMessage(Config.GetArray("channels.onsetntfunitname"), "team.onsetntfunitname", variables); }
public void OnSetNTFUnitName(SetNTFUnitNameEvent ev) { send(ev, new IdMapping()); }
void IEventHandlerSetNTFUnitName.OnSetNTFUnitName(SetNTFUnitNameEvent ev) { //Scan(); }