Encapsulates a connection between the current data model and another for plugin communication.
- Memory category
- Instances
- Own members
- 6
- Inherited members
- 6
- Subclasses
- 0
- Siblings
- 30
Properties6
Defined byPluginConnection4
Property categoryData
PluginConnection.Connected: boolean Whether thisPluginConnectionobject is still connected.PluginConnection.GroupId: string PluginConnection.TargetId: string A unique ID for the target data model.PluginConnection.Type: Enum.PluginConnectionTargetType ThisPluginConnectionTargetTypedescribes the relationship of the target data model to the current one.
No properties match the filters.
Methods5
Object:GetPropertyChangedSignal( property: string): RBXScriptSignal Get an event that fires when a given property of the object changes.Parameters Parameter Description property: stringThe property to connect to.Returns Type Description RBXScriptSignalA signal that fires whenever the property changes.- Returns true if an object's class matches or inherits from a given class.
Parameters Parameter Description className: stringThe class against which the Object's class will be checked. Case-sensitive.Returns Type Description booleanDescribes whether the Object's class matched or is a subclass of the given class. - Deprecated: This deprecated function is a variant of
Object:IsA()which should be used instead.Parameters Parameter className: stringReturns Type booleanUse IsA instead.
Defined byPluginConnection2
PluginConnection:BindToMessage( callbackFunction: (...any) -> ...any): RBXScriptConnection Binds a callback to thisPluginConnectionto receive messages fromSendMessage().Parameters Parameter callbackFunction: (...any) -> ...anyReturns Type Description RBXScriptConnectionARBXScriptConnectionrepresenting the binding of this callback to thePluginConnection. Disconnect it to disconnect this callback from the connection.PluginConnection:SendMessage( message: any) Sends a payload to the remote data model.Parameters Parameter Description message: anyThe string or buffer to be sent.
No methods match the filters.
Events1
Object.Changed: RBXScriptSignal<( property: string)> Fires immediately after a property of the object changes, with some limitations.Parameters Parameter property: string
No events match the filters.