Engine

NetworkClient

Show Deprecated
not creatable
service
not replicated

This service is responsible for connecting a client to a server.

Summary

Methods

Methods inherited from NetworkPeer

Events

Properties

Methods

Events

ConnectionAccepted

Fired when the client successfully connects to a server. Returns a string showing the server's IP and Port, and the client's ClientReplicator.

Parameters

peer: string
replicator: Instance

ConnectionFailed

Fired if the client fails to connect to the server.

Parameters

peer: string
code: number
reason: string