7 public readonly sbyte
Value;
16 Value = Convert.ToSByte(v, radix);
19 public static implicit
operator sbyte(
LuaSByte luaValue) => luaValue.Value;
23 return Value.ToString();
38 Value = Convert.ToByte(v, radix);
41 public static implicit
operator byte(
LuaByte luaValue) => luaValue.Value;
45 return Value.ToString();
60 Value = Convert.ToInt16(v, radix);
63 public static implicit
operator short(
LuaInt16 luaValue) => luaValue.Value;
67 return Value.ToString();
82 Value = Convert.ToUInt16(v, radix);
85 public static implicit
operator ushort(
LuaUInt16 luaValue) => luaValue.Value;
89 return Value.ToString();
104 Value = Convert.ToInt32(v, radix);
107 public static implicit
operator int(
LuaInt32 luaValue) => luaValue.Value;
111 return Value.ToString();
126 Value = Convert.ToUInt32(v, radix);
129 public static implicit
operator uint(
LuaUInt32 luaValue) => luaValue.Value;
133 return Value.ToString();
148 Value = Convert.ToUInt32(lo) | (long)Convert.ToInt32(hi) << 32;
153 Value = Convert.ToInt64(v, radix);
156 public static implicit
operator long(
LuaInt64 luaValue) => luaValue.Value;
160 return Value.ToString();
175 Value = Convert.ToUInt32(lo) | (ulong)Convert.ToUInt32(hi) << 32;
180 Value = Convert.ToUInt64(v, radix);
183 public static implicit
operator ulong(
LuaUInt64 luaValue) => luaValue.Value;
187 return Value.ToString();
202 Value =
float.Parse(v);
205 public static implicit
operator float(
LuaSingle luaValue) => luaValue.Value;
209 return Value.ToString();
224 Value =
double.Parse(v);
227 public static implicit
operator double(
LuaDouble luaValue) => luaValue.Value;
231 return Value.ToString();
override string ToString()
LuaByte(string v, int radix=10)
override string ToString()
override string ToString()
LuaInt16(string v, int radix=10)
LuaInt32(string v, int radix=10)
override string ToString()
LuaInt64(double lo, double hi)
override string ToString()
LuaInt64(string v, int radix=10)
override string ToString()
LuaSByte(string v, int radix=10)
override string ToString()
override string ToString()
LuaUInt16(string v, int radix=10)
LuaUInt32(string v, int radix=10)
override string ToString()
LuaUInt64(double lo, double hi)
LuaUInt64(string v, int radix=10)
override string ToString()