Mirror::NetworkConnectionToServer
Inherits from NetworkConnection
Inherited by ULocalConnectionToServer
Public Functions
Name | |
---|---|
virtual override void | Disconnect() Disconnects this connection. |
Public Attributes
Name | |
---|---|
override string | address |
Additional inherited members
Public Functions inherited from NetworkConnection
Name | |
---|---|
void | Send< T >(T msg, int channelId =Channels.DefaultReliable) This sends a network message with a message ID on the connection. This message is sent on channel zero, which by default is the reliable channel. |
override string | ToString() |
bool | InvokeHandler< T >(T msg, int channelId) This function invokes the registered handler function for a message. |
Public Properties inherited from NetworkConnection
Name | |
---|---|
NetworkIdentity | identity The NetworkIdentity for this connection. |
Public Attributes inherited from NetworkConnection
Name | |
---|---|
const int | LocalConnectionId |
readonly int | connectionId Unique identifier for this connection that is assigned by the transport layer. |
bool | isAuthenticated Flag that indicates the client has been authenticated. |
object | authenticationData General purpose object to hold authentication data, character selection, tokens, etc. associated with the connection for reference after Authentication completes. |
bool | isReady Flag that tells if the connection has been marked as "ready" by a client calling ClientScene.Ready(). |
float | lastMessageTime The last time that a message was received on this connection. |
readonly HashSet< NetworkIdentity > | clientOwnedObjects A list of the NetworkIdentity objects owned by this connection. This list is read-only. |
Public Functions Documentation
function Disconnect
inline virtual override void Disconnect()
Disconnects this connection.
Reimplements: Mirror::NetworkConnection::Disconnect
Public Attributes Documentation
variable address
override string address => "";
Updated on 18 January 2021 at 03:17:52 UTC