Add SendPluginChannelPacket to the IMinecraftCom interface.

This commit is contained in:
Pokechu22 2015-10-24 22:26:45 -07:00
parent 7c8e856392
commit 77277bcf84
3 changed files with 62 additions and 24 deletions

View file

@ -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);
}
}