MessageBusService

Show Deprecated
Not Creatable
Service
Not Replicated

Summary

Properties

Events

Methods

Call(key: string, input: Variant): Variant  


GetMessageId(domainName: string, messageName: string): string  


GetProtocolMethodRequestMessageId(protocolName: string, methodName: string): string  


GetProtocolMethodResponseMessageId(protocolName: string, methodName: string): string  


Publish(mid: string, params: Variant): void  


PublishProtocolMethodRequest(protocolName: string, methodName: string, message: Variant, customTelemetryData: Variant): void  


PublishProtocolMethodResponse(protocolName: string, methodName: string, message: Variant, responseCode: number, customTelemetryData: Variant): void  


Subscribe(mid: string, callback: function, once: boolean, sticky: boolean): Instance  


SubscribeToProtocolMethodRequest(protocolName: string, methodName: string, callback: function, once: boolean, sticky: boolean): Instance  


SubscribeToProtocolMethodResponse(protocolName: string, methodName: string, callback: function, once: boolean, sticky: boolean): Instance  


Properties

Events

Methods

Roblox Script Security

Parameters

key: string
input: Variant

Returns

GetLast

Roblox Script Security

Parameters

mid: string

Returns

GetMessageId

Roblox Script Security

Parameters

domainName: string
messageName: string

Returns

GetProtocolMethodRequestMessageId

Roblox Script Security

Parameters

protocolName: string
methodName: string

Returns

GetProtocolMethodResponseMessageId

Roblox Script Security

Parameters

protocolName: string
methodName: string

Returns

Publish

void
Roblox Script Security

Parameters

mid: string
params: Variant

Returns

void

PublishProtocolMethodRequest

void
Roblox Script Security

Parameters

protocolName: string
methodName: string
message: Variant
customTelemetryData: Variant

Returns

void

PublishProtocolMethodResponse

void
Roblox Script Security

Parameters

protocolName: string
methodName: string
message: Variant
responseCode: number
customTelemetryData: Variant

Returns

void

Subscribe

Roblox Script Security

Parameters

mid: string
callback: function
once: boolean
sticky: boolean

Returns

SubscribeToProtocolMethodRequest

Roblox Script Security

Parameters

protocolName: string
methodName: string
callback: function
once: boolean
sticky: boolean

Returns

SubscribeToProtocolMethodResponse

Roblox Script Security

Parameters

protocolName: string
methodName: string
callback: function
once: boolean
sticky: boolean

Returns