PluginConnectionクラス
ひとことで言うと
PluginConnectionは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Encapsulates a connection between the current data model and another for plugin communication.
クラスの関係
受け継いでいるクラス:Object → PluginConnection
プロパティ(3)
| 名前と書き方 | 説明 |
|---|---|
ConnectedPluginConnection.Connected: boolean | Whether this PluginConnection object is still connected. |
TargetIdPluginConnection.TargetId: string | A unique ID for the target data model. |
TypePluginConnection.Type: PluginConnectionTargetType | This PluginConnectionTargetType describes the relationship of the target data model to the current one. |
メソッド(2)
| 名前と書き方 | 説明 |
|---|---|
BindToMessagePluginConnection:BindToMessage(callback: Function): RBXScriptConnection | Binds a callback to this PluginConnection to receive messages from SendMessage(). |
SendMessagePluginConnection:SendMessage(message: Variant): () | Sends a payload to the remote data model. |
受け継いでいるメンバー
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(PluginConnection)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。