Interface INetworkAPI
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface INetworkAPI
Methods
GetChannel(string)
Returns a previoulsy registered channeled, null otherwise
INetworkChannel GetChannel(string channelName)
Parameters
channelName
string
Returns
RegisterChannel(string)
Supplies you with your very own and personal network channel with which you can send packets to the server. Use the same channelName on the client and server to have them link up.
INetworkChannel RegisterChannel(string channelName)
Parameters
channelName
stringUnique channel identifier