Alerts ChatBot: Support trigger on weather change

This commit is contained in:
BruceChen 2022-10-03 11:39:25 +08:00
parent 1d52d1eadd
commit 81a9955081
8 changed files with 147 additions and 19 deletions

View file

@ -413,6 +413,18 @@ namespace MinecraftClient
/// <param name="isInbound">The packet is received from server or sent by client</param>
public virtual void OnNetworkPacket(int packetID, List<byte> packetData, bool isLogin, bool isInbound) { }
/// <summary>
/// Called when the rain level have been changed
/// </summary>
/// <param name="level"></param>
public virtual void OnRainLevelChange(float level) { }
/// <summary>
/// Called when the thunder level have been changed
/// </summary>
/// <param name="level"></param>
public virtual void OnThunderLevelChange(float level) { }
/* =================================================================== */
/* ToolBox - Methods below might be useful while creating your bot. */
/* You should not need to interact with other classes of the program. */