mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Add support for C# scripts in scripting bot
- Now scripts can also be written in C# - C# scripts can access ChatBot API - Add more methods in ChatBot API - Add an example of C# script file - Coding style fixes: method names ucfirst
This commit is contained in:
parent
3224c59eab
commit
3ce91188c7
22 changed files with 321 additions and 135 deletions
|
|
@ -16,12 +16,12 @@ namespace MinecraftClient.Protocol
|
|||
/* The MinecraftCom Hanler must
|
||||
* provide these getters */
|
||||
|
||||
int getServerPort();
|
||||
string getServerHost();
|
||||
string getUsername();
|
||||
string getUserUUID();
|
||||
string getSessionID();
|
||||
string[] getOnlinePlayers();
|
||||
int GetServerPort();
|
||||
string GetServerHost();
|
||||
string GetUsername();
|
||||
string GetUserUUID();
|
||||
string GetSessionID();
|
||||
string[] GetOnlinePlayers();
|
||||
|
||||
/// <summary>
|
||||
/// This method is called when the protocol handler receives a chat message
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue