NetworkClient

非推奨を表示
作成できません
サービス
複製されていません

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

概要

方法

NetworkPeer から継承した 方法
  • プラグインのセキュリティ

    Sets the maximum outgoing bandwidth that Roblox can use.

イベント

プロパティ

方法

イベント

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.

パラメータ

peer: string
replicator: Instance

ConnectionFailed

Fired if the client fails to connect to the server.

パラメータ

peer: string
code: number
reason: string