Example #1
0
 internal ChatLink(ChatLink prototype)
 {
     this.Prototype = null;
     this.mLinkWord = null;
     this.mIsRegEx = false;
     this.mLinkColor = new Color();
     this.mLinkFont = null;
     this.mEffect = null;
     this.WhiteSpaceChar = '\0';
     this.mShowLinkUrl = true;
     this.mUrl = null;
     this.mStartIndex = -1;
     this.mEndIndex = -1;
     this.mLinkWord = prototype.LinkWord;
     this.mIsRegEx = prototype.IsRegEx;
     this.mLinkColor = prototype.mLinkColor;
     this.mLinkFont = prototype.LinkFont;
     this.mEffect = prototype.Effect;
     this.Prototype = prototype;
 }
Example #2
0
 public ChatLink(string word, bool isRegEx, Color color, Font font, ITextEffect effect)
 {
     this.Prototype = null;
     this.mLinkWord = null;
     this.mIsRegEx = false;
     this.mLinkColor = new Color();
     this.mLinkFont = null;
     this.mEffect = null;
     this.WhiteSpaceChar = '\0';
     this.mShowLinkUrl = true;
     this.mUrl = null;
     this.mStartIndex = -1;
     this.mEndIndex = -1;
     this.mLinkWord = word;
     this.mIsRegEx = isRegEx;
     this.mLinkColor = color;
     this.mLinkFont = font;
     this.mEffect = effect;
 }