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