跳到主要内容

UBBParser

命名空间:FairyGUI.Utils
源码:Assets/Scripts/Utils/UBBParser.cs (行 9)

public class UBBParser

构造函数​

UBBParser()​

public UBBParser();

源码:Utils/UBBParser.cs (行 24)

字段​

defaultImgHeight​

public int defaultImgHeight;

源码:Utils/UBBParser.cs (行 20)

defaultImgWidth​

public int defaultImgWidth;

源码:Utils/UBBParser.cs (行 19)

defaultTagHandler​

public TagHandler defaultTagHandler;

源码:Utils/UBBParser.cs (行 16)

handlers​

public Dictionary<string, TagHandler> handlers;

源码:Utils/UBBParser.cs (行 17)

inst​

public static UBBParser inst;

源码:Utils/UBBParser.cs (行 11)

方法​

GetTagText(bool)​

public string GetTagText(bool remove);
参数类型说明
removebool

源码:Utils/UBBParser.cs (行 111)

Parse(string)​

public string Parse(string text);
参数类型说明
textstring

源码:Utils/UBBParser.cs (行 142)

onTag_ALIGN(string, bool, string)​

protected string onTag_ALIGN(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 103)

onTag_COLOR(string, bool, string)​

protected string onTag_COLOR(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 79)

onTag_FONT(string, bool, string)​

protected string onTag_FONT(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 87)

onTag_IMG(string, bool, string)​

protected string onTag_IMG(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 57)

onTag_SIZE(string, bool, string)​

protected string onTag_SIZE(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 95)

onTag_Simple(string, bool, string)​

protected string onTag_Simple(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 74)

onTag_URL(string, bool, string)​

protected string onTag_URL(string tagName, bool end, string attr);
参数类型说明
tagNamestring
endbool
attrstring

源码:Utils/UBBParser.cs (行 41)