LiteNetLib::​NatPunchModule
UnityObjectLink
LiteNetLib::​NatPunchModule

class:/TYPE/LiteNetLib.NatPunchModule//, can be loaded from an assetbundle using LiteNetLib::NatPunchModule::createfromassetbundle(bundlename,prefabname) /

Parent

UnityObjectLink

Variables
litenetlib::​natpunchmodule::​maxtokenlength
static readonly System.Int32 litenetlib::natpunchmodule::maxtokenlength
Functions
init
System.Void Init(
LiteNetLib.INatPunchListener listener
)

LiteNetLib.INatPunchListener listener-no documentation

Parameters

listener -

Returns

System.Void

litenetlib::​natpunchmodule::​fromassetbundle
static LiteNetLib.NatPunchModule CreateFromAssetBundle(
string bundle,
string objectname
)

Constructor for object from a bundle

Parameters
bundle
string

bundle name

objectname
string

object name with extension

Returns

LiteNetLib.NatPunchModule

natintroduce
System.Void NatIntroduce(
System.Net.IPEndPoint hostInternal,
System.Net.IPEndPoint hostExternal,
System.Net.IPEndPoint clientInternal,
System.Net.IPEndPoint clientExternal,
System.String additionalInfo
)

System.Net.IPEndPoint hostInternal-no documentation

Parameters
hostInternal
System.Net.IPEndPoint

no documentation

hostExternal
System.Net.IPEndPoint

no documentation

clientInternal
System.Net.IPEndPoint

no documentation

clientExternal
System.Net.IPEndPoint

no documentation additionalInfo -

Returns

System.Void

pollevents
System.Void PollEvents()
Returns

System.Void

sendnatintroducerequest
System.Void SendNatIntroduceRequest(
System.Net.IPEndPoint masterServerEndPoint,
System.String additionalInfo
)

System.Net.IPEndPoint masterServerEndPoint-no documentation

Parameters
masterServerEndPoint
System.Net.IPEndPoint

no documentation additionalInfo -

Returns

System.Void

sendnatintroducerequest
System.Void SendNatIntroduceRequest(
System.String host,
System.Int32 port,
System.String additionalInfo
)

System.String host-no documentation

Parameters
host
System.String

no documentation

port
System.Int32

no documentation additionalInfo -

Returns

System.Void