Table of Contents

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

string

Methods

RegisterMessageType(Type)

Registers a handler for when you send a packet with given messageId

INetworkChannel RegisterMessageType(Type type)

Parameters

type Type

Returns

INetworkChannel

RegisterMessageType<T>()

Registers a handler for when you send a packet with given messageId

INetworkChannel RegisterMessageType<T>()

Returns

INetworkChannel

Type Parameters

T