mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add SendPluginChannelPacket to the IMinecraftCom interface.
This commit is contained in:
parent
7c8e856392
commit
77277bcf84
3 changed files with 62 additions and 24 deletions
|
|
@ -51,5 +51,16 @@ namespace MinecraftClient.Protocol
|
|||
/// <returns>True if brand info was successfully sent</returns>
|
||||
|
||||
bool SendBrandInfo(string brandInfo);
|
||||
|
||||
/// <summary>
|
||||
/// Send a plugin channel packet to the server.
|
||||
///
|
||||
/// http://dinnerbone.com/blog/2012/01/13/minecraft-plugin-channels-messaging/
|
||||
/// </summary>
|
||||
/// <param name="channel">Channel to send packet on</param>
|
||||
/// <param name="data">packet Data</param>
|
||||
/// <returns>True if message was successfully sent</returns>
|
||||
|
||||
bool SendPluginChannelPacket(string channel, byte[] data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue