Example #1
0
 public void RegisterOnWeaponShot(ModDelegates.WeaponShot a)
 {
     server.modEventHandlers.onweaponshot.Add(a);
 }
Example #2
0
 public void RegisterOnPlayerLeave(ModDelegates.PlayerLeave a)
 {
     server.modEventHandlers.onplayerleave.Add(a);
 }
Example #3
0
 public void RegisterOnSpecialKey(ModDelegates.SpecialKey1 a)
 {
     server.modEventHandlers.onspecialkey.Add(a);
 }
Example #4
0
 public void RegisterOnPlayerDisconnect(ModDelegates.PlayerDisconnect a)
 {
     server.modEventHandlers.onplayerdisconnect.Add(a);
 }
Example #5
0
 public void RegisterOnPlayerJoin(ModDelegates.PlayerJoin a)
 {
     server.modEventHandlers.onplayerjoin.Add(a);
 }
Example #6
0
 public void RegisterOnBlockBuild(ModDelegates.BlockBuild f)
 {
     server.modEventHandlers.onbuild.Add(f);
 }
Example #7
0
 public void RegisterOnPlayerDeath(ModDelegates.PlayerDeath a)
 {
     server.modEventHandlers.onplayerdeath.Add(a);
 }
Example #8
0
 public void RegisterOnDialogClick(ModDelegates.DialogClick a)
 {
     server.modEventHandlers.ondialogclick.Add(a);
 }
Example #9
0
 public void RegisterOnLoadWorld(ModDelegates.LoadWorld a)
 {
     server.modEventHandlers.onloadworld.Add(a);
 }
Example #10
0
 public void RegisterOnBlockUseWithTool(ModDelegates.BlockUseWithTool f)
 {
     server.modEventHandlers.onusewithtool.Add(f);
 }
Example #11
0
 public void RegisterOnCommand(ModDelegates.Command f)
 {
     server.modEventHandlers.oncommand.Add(f);
 }
Example #12
0
 public void RegisterOnBlockUse(ModDelegates.BlockUse f)
 {
     server.modEventHandlers.onuse.Add(f);
 }
Example #13
0
 public void RegisterOnBlockUpdate(ModDelegates.BlockUpdate f)
 {
     server.modEventHandlers.blockticks.Add(f);
 }
Example #14
0
 public void RegisterOnBlockDelete(ModDelegates.BlockDelete f)
 {
     server.modEventHandlers.ondelete.Add(f);
 }
Example #15
0
 public void RegisterPopulateChunk(ModDelegates.PopulateChunk f)
 {
     server.modEventHandlers.populatechunk.Add(f);
 }
Example #16
0
 public void RegisterOnPlayerChat(ModDelegates.PlayerChat a)
 {
     server.modEventHandlers.onplayerchat.Add(a);
 }
Example #17
0
 public void RegisterWorldGenerator(ModDelegates.WorldGenerator f)
 {
     server.modEventHandlers.getchunk.Add(f);
 }
Example #18
0
 public void RegisterChangedActiveMaterialSlot(ModDelegates.ChangedActiveMaterialSlot a)
 {
     server.modEventHandlers.changedactivematerialslot.Add(a);
 }