Example #1
0
 public LocalChat()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Player.OnLocalChatMessage, new Action <ShPlayer, string>(OnEvent));
 }
Example #2
0
 public OnStarted()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Manager.OnStarted, new Action <SvManager>(OnEvent));
 }
Example #3
0
 public OnDamage()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Player.OnDamage, new Action <ShPlayer, DamageIndex, float, ShPlayer, Collider>(OnEvent));
 }
Example #4
0
 public OnLogin()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Player.OnInitialize, new Action <ShPlayer>(OnEvent));
 }
Example #5
0
 public GlobalCommand()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Player.OnCommand, new Action <ShPlayer, string>(OnEvent));
 }
Example #6
0
 public OnLeave()
 {
     GameSourceHandler.Add(BrokeProtocol.API.Events.Player.OnDestroy, new Action <ShPlayer>(OnEvent));
 }