mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Added Player Killed event (Combat and CombatDeath packets).
This commit is contained in:
parent
01eee22921
commit
80e227c3a7
5 changed files with 65 additions and 1 deletions
|
|
@ -159,6 +159,13 @@ namespace MinecraftClient.Protocol
|
|||
/// <param name="uuid">UUID of the player</param>
|
||||
void OnPlayerLeave(Guid uuid);
|
||||
|
||||
/// <summary>
|
||||
/// This method is called when a player has been killed by another entity
|
||||
/// </summary>
|
||||
/// <param name="killerEntityId">Killer's entity if</param>
|
||||
/// <param name="chatMessage">message sent in chat when player is killed</param>
|
||||
void OnPlayerKilled(int killerEntityId, string chatMessage);
|
||||
|
||||
/// <summary>
|
||||
/// Called when the server sets the new location for the player
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue