From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs (limited to 'Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs') diff --git a/Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs b/Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs new file mode 100644 index 00000000..c5993aed --- /dev/null +++ b/Client/Assets/Scripts/XUtliPoolLib/XLuaLong.cs @@ -0,0 +1,24 @@ +using System; + +namespace XUtliPoolLib +{ + public class XLuaLong + { + public string str; + + public XLuaLong(string _str) + { + this.str = _str; + } + + public ulong Get() + { + bool flag = string.IsNullOrEmpty(this.str); + if (flag) + { + XSingleton.singleton.AddErrorLog("", null, null, null, null, null); + } + return ulong.Parse(this.str); + } + } +} -- cgit v1.1-26-g67d0