Interface INetworkChannel
- Namespace
- Vintagestory.API.Client
- Assembly
- VintagestoryAPI.dll
public interface INetworkChannel
- Extension Methods
Properties
ChannelName
The channel name this channel was registered with
string ChannelName { get; }
Property Value
Methods
RegisterMessageType(Type)
Registers a handler for when you send a packet with given messageId
INetworkChannel RegisterMessageType(Type type)
Parameters
type
Type
Returns
RegisterMessageType<T>()
Registers a handler for when you send a packet with given messageId
INetworkChannel RegisterMessageType<T>()
Returns
Type Parameters
T