-
Notifications
You must be signed in to change notification settings - Fork 126
Sandbox.ModAPI.Ingame.IMyChatBroadcastControllerComponent
← Index ← Namespace Index
public interface IMyChatBroadcastControllerComponent
Describes entity component for broadcast controller
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
BroadcastTarget BroadcastTarget { get; set; }
Gets or sets target for messages send from broadcast controller
string CustomName { get; set; }
Custom name that will be visible in chat
Number of messages that can be stored in this broadcast controller
Determines if broadcast controller should try to use antenna for broadcasting messages or sent message only to local cube grid
string GetMessage(int messageIndex)
Gets message at given index
Sends current position as a message
void SendMessage(int messageIndex)
Sends message
void SendMessage(string message)
Sends custom message
Sends randomly one of stored messages
void SetMessage(int messageIndex, string message)
Sets message at given index
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!