Lite |
The LiteNetManager type exposes the following members.
| Name | Description | |
|---|---|---|
| AddPeerToSet | ||
| Connect(IPEndPoint, NetDataWriter) | Connect to remote host | |
| Connect(IPEndPoint, ReadOnlySpanByte) | Connect to remote host | |
| Connect(IPEndPoint, String) | Connect to remote host | |
| Connect(String, Int32, NetDataWriter) | Connect to remote host | |
| Connect(String, Int32, String) | Connect to remote host | |
| ContainsPeer | ||
| CreateConnectionRequest | ||
| CreateIncomingPeer | ||
| CreateOutgoingPeer | ||
| CreateRejectPeer | ||
| DisconnectAll | Disconnect all peers without any additional data | |
| DisconnectAll(Byte, Int32, Int32) | Disconnect all peers with shutdown message | |
| DisconnectPeer(LiteNetPeer) | Disconnect peer from server | |
| DisconnectPeer(LiteNetPeer, NetDataWriter) | Disconnect peer from server and send additional data (Size must be less or equal MTU - 8) | |
| DisconnectPeer(LiteNetPeer, Byte) | Disconnect peer from server and send additional data (Size must be less or equal MTU - 8) | |
| DisconnectPeer(LiteNetPeer, Byte, Int32, Int32) | Disconnect peer from server and send additional data (Size must be less or equal MTU - 8) | |
| DisconnectPeerForce | Immediately disconnect peer from server without additional data | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetConnectedPeers | Get copy of connected peers (without allocations) | |
| GetEnumerator | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetPeerById | Gets peer by peer id | |
| GetPeers | Get copy of peers (without allocations) | |
| GetPeersCount | Return peers count with connection state | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ManualUpdate | Updates internal peer states, handles timeouts, processes NTP requests and sends buffered packets. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| PollEvents | Synchronizes arrived events from the background thread to your main-thread/INetEventListener | |
| ProcessEvent | ||
| ProcessNtpRequests | ||
| RemovePeerFromSet | ||
| SendBroadcast(Byte, Int32) | ||
| SendBroadcast(NetDataWriter, Int32) | ||
| SendBroadcast(Byte, Int32, Int32, Int32) | ||
| SendToAll(Byte, DeliveryMethod) | Send data to all connected peers (channel - 0) | |
| SendToAll(NetDataWriter, DeliveryMethod) | Send data to all connected peers (channel - 0) | |
| SendToAll(ReadOnlySpanByte, DeliveryMethod) | Send data to all connected peers (channel - 0) | |
| SendToAll(Byte, DeliveryMethod, LiteNetPeer) | Send data to all connected peers (channel - 0) | |
| SendToAll(NetDataWriter, DeliveryMethod, LiteNetPeer) | Send data to all connected peers (channel - 0) | |
| SendToAll(ReadOnlySpanByte, DeliveryMethod, LiteNetPeer) | Send data to all connected peers (channel - 0) | |
| SendToAll(Byte, Int32, Int32, DeliveryMethod) | Send data to all connected peers (channel - 0) | |
| SendToAll(Byte, Int32, Int32, DeliveryMethod, LiteNetPeer) | Send data to all connected peers | |
| SendUnconnectedMessage(Byte, IPEndPoint) | Send message without connection | |
| SendUnconnectedMessage(NetDataWriter, IPEndPoint) | Send message without connection | |
| SendUnconnectedMessage(ReadOnlySpanByte, IPEndPoint) | Send message without connection | |
| SendUnconnectedMessage(NetDataWriter, String, Int32) | Send message without connection. WARNING This method allocates a new IPEndPoint object and synchronously makes a DNS request. If you're calling this method every frame it will be much faster to just cache the IPEndPoint. | |
| SendUnconnectedMessage(Byte, Int32, Int32, IPEndPoint) | Send message without connection | |
| Start | Start logic thread and listening on available port | |
| Start(Int32) | Start logic thread and listening on selected port | |
| Start(IPAddress, IPAddress, Int32) | Start logic thread and listening on selected port | |
| Start(String, String, Int32) | Start logic thread and listening on selected port | |
| Start(IPAddress, IPAddress, Int32, Boolean) | Start logic thread and listening on selected port | |
| StartInManualMode(Int32) | Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers | |
| StartInManualMode(IPAddress, IPAddress, Int32) | Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers | |
| StartInManualMode(String, String, Int32) | Start in manual mode and listening on selected port In this mode you should use ManualReceive (without PollEvents) for receive packets and ManualUpdate(...) for update and send packets This mode useful mostly for single-threaded servers | |
| Stop | Force closes connection and stop all threads. | |
| Stop(Boolean) | Force closes connection and stop all threads. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TriggerUpdate | Triggers update and send logic immediately (works asynchronously) | |
| TryGetPeerById | Gets peer by peer id |
| Name | Description | |
|---|---|---|
| ForEachLiteNetPeer | (Defined by RcCollectionExtensions) | |
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |