This API Class does not have any or complete API documentation. Please add API documentation if possible.
The MessageBusService class inherits from Instance.
Contents
- 1 Methods
- 1.1 Call(key: string, input: Variant): Variant
- 1.2 GetLast(mid: string): Variant
- 1.3 GetMessageId(domainName: string, messageName: string): string
- 1.4 GetProtocolMethodRequestMessageId(protocolName: string, methodName: string): string
- 1.5 GetProtocolMethodResponseMessageId(protocolName: string, methodName: string): string
- 1.6 MakeRequest(protocolName: string, methodName: string, message: Variant, callback: Function, customTelemetryData: Variant): null
- 1.7 Publish(mid: string, params: Variant): null
- 1.8 PublishProtocolMethodRequest(protocolName: string, methodName: string, message: Variant, customTelemetryData: Variant): null
- 1.9 PublishProtocolMethodResponse(protocolName: string, methodName: string, message: Variant, responseCode: int, customTelemetryData: Variant): null
- 1.10 SetRequestHandler(protocolName: string, methodName: string, callback: Function): null
- 1.11 Subscribe(mid: string, callback: Function, once: bool, sticky: bool): Instance
- 1.12 SubscribeToProtocolMethodRequest(protocolName: string, methodName: string, callback: Function, once: bool, sticky: bool): Instance
- 1.13 SubscribeToProtocolMethodResponse(protocolName: string, methodName: string, callback: Function, once: bool, sticky: bool): Instance
- 2 External links
Methods
Call(key: string, input: Variant): Variant
Parameters| Name | Type |
|---|
| key | string |
| input | Variant |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
GetLast(mid: string): Variant
Parameters| Name | Type |
|---|
| mid | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
GetMessageId(domainName: string, messageName: string): string
Parameters| Name | Type |
|---|
| domainName | string |
| messageName | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
MakeRequest(protocolName: string, methodName: string, message: Variant, callback: Function, customTelemetryData: Variant): null
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| message | Variant |
| callback | Function |
| customTelemetryData | Variant |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Publish(mid: string, params: Variant): null
Parameters| Name | Type |
|---|
| mid | string |
| params | Variant |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
PublishProtocolMethodRequest(protocolName: string, methodName: string, message: Variant, customTelemetryData: Variant): null
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| message | Variant |
| customTelemetryData | Variant |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
PublishProtocolMethodResponse(protocolName: string, methodName: string, message: Variant, responseCode: int, customTelemetryData: Variant): null
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| message | Variant |
| responseCode | int |
| customTelemetryData | Variant |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
SetRequestHandler(protocolName: string, methodName: string, callback: Function): null
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| callback | Function |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Subscribe(mid: string, callback: Function, once: bool, sticky: bool): Instance
Parameters| Name | Type |
|---|
| mid | string |
| callback | Function |
| once | bool |
| sticky | bool |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| callback | Function |
| once | bool |
| sticky | bool |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
Parameters| Name | Type |
|---|
| protocolName | string |
| methodName | string |
| callback | Function |
| once | bool |
| sticky | bool |
- Security: RobloxScriptSecurity.
- Thread safety: unsafe
External links[]