Interface INetworkAPI
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface INetworkAPI
- Extension Methods
Methods
GetChannel(string)
Returns a previously registered channeled, null otherwise
INetworkChannel GetChannel(string channelName)
Parameters
channelName
string
Returns
GetUdpChannel(string)
Returns a previously registered channeled, null otherwise
INetworkChannel GetUdpChannel(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
Returns
RegisterUdpChannel(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 RegisterUdpChannel(string channelName)
Parameters
channelName
stringUnique channel identifier