Difference between revisions of "GUIChatSurface"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUIChatSurface class)
 
(Documentation for the GUIChatSurface class)
Line 1: Line 1:
 +
* '''Inherits class: [[GUIScrollBox]]'''
 +
* This is a JavaScript visible object
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIChatSurface Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIChatSurface Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
{{:GUIChatSurface Remarks}}
 
{{:GUIChatSurface Remarks}}
Line 6: Line 8:
  
 
:{{CSharp|Single ChatOpacity {get; set;} }}
 
:{{CSharp|Single ChatOpacity {get; set;} }}
 
:{{CSharp|Single ContentHeight {get; set;} }}
 
 
:{{CSharp|Single ContentWidth {get; set;} }}
 
  
 
:{{CSharp|bool DropShadow {get; set;} }}
 
:{{CSharp|bool DropShadow {get; set;} }}
Line 26: Line 24:
  
 
:{{CSharp|bool TranscriptMode {get; set;} }}
 
:{{CSharp|bool TranscriptMode {get; set;} }}
 
===Constructors===
 
:{{CSharp|GUIChatSurface()}}
 
  
 
===Methods===
 
===Methods===
 
:{{CSharp|bool AddChatChannel(string channel)}}
 
:{{CSharp|bool AddChatChannel(string channel)}}
 
:{{CSharp|string GetLevelModifierEnd(int level)}}
 
 
:{{CSharp|string GetLevelModifierStart(int level)}}
 
 
:{{CSharp|string GetMessageFormat(int chatStyle)}}
 
 
:{{CSharp|void Init()}}
 
 
:{{CSharp|void OnCreate(IntPtr context)}}
 
 
:{{CSharp|bool ReceiveMessage(ChatChannelMessageEventArgs msg)}}
 
 
:{{CSharp|bool RegisterFilter(Guid channel)}}
 
  
 
:{{CSharp|bool RemoveChatChannel(string channel)}}
 
:{{CSharp|bool RemoveChatChannel(string channel)}}
  
 
:{{CSharp|void SetLevelModifier(int level, string start, string end)}}
 
:{{CSharp|void SetLevelModifier(int level, string start, string end)}}
 
:{{CSharp|string StripRichText(string initial)}}
 
 
:{{CSharp|bool TryStripRichText(string initial, out String result)}}
 
 
:{{CSharp|bool UnregisterFilter(Guid channel)}}
 
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 16:35, 21 October 2016

  • Inherits class: GUIScrollBox
  • This is a JavaScript visible object

Remarks [edit]

Properties

bool AllowRichText {get; set;}
Single ChatOpacity {get; set;}
bool DropShadow {get; set;}
Color32 DropShadowColor {get; set;}
int FontSize {get; set;}
Color32 LinkColor {get; set;}
bool LinksEnabled {get; set;}
int MaximumMessages {get; set;}
string TimeStampFormat {get; set;}
bool TranscriptMode {get; set;}

Methods

bool AddChatChannel(string channel)
bool RemoveChatChannel(string channel)
void SetLevelModifier(int level, string start, string end)