Game Framework  2021.05.31
VarUInt16类 参考

System.UInt16 变量类。 更多...

类 VarUInt16 继承关系图:
Variable< ushort > IReference

Public 成员函数

 VarUInt16 ()
 初始化 System.UInt16 变量类的新实例。 更多...
 
- Public 成员函数 继承自 Variable< ushort >
 Variable ()
 初始化变量的新实例。 更多...
 
 Variable ()
 初始化变量的新实例。 更多...
 
override object GetValue ()
 获取变量值。 更多...
 
abstract object GetValue ()
 获取变量值。 更多...
 
override void SetValue (object value)
 设置变量值。 更多...
 
abstract void SetValue (object value)
 设置变量值。 更多...
 
override void Clear ()
 清理变量值。 更多...
 
abstract void Clear ()
 清理变量值。 更多...
 
override string ToString ()
 获取变量字符串。 更多...
 

静态 Public 成员函数

static implicit operator VarUInt16 (ushort value)
 从 System.UInt16 到 System.UInt16 变量类的隐式转换。 更多...
 
static implicit operator ushort (VarUInt16 value)
 从 System.UInt16 变量类到 System.UInt16 的隐式转换。 更多...
 

额外继承的成员函数

- 属性 继承自 Variable< ushort >
override Type Type [get]
 获取变量类型。 更多...
 
abstract Type Type [get]
 获取变量类型。 更多...
 
Value [get, set]
 获取或设置变量值。 更多...
 

详细描述

System.UInt16 变量类。

构造及析构函数说明

◆ VarUInt16()

VarUInt16 ( )

初始化 System.UInt16 变量类的新实例。

成员函数说明

◆ operator ushort()

static implicit operator ushort ( VarUInt16  value)
static

从 System.UInt16 变量类到 System.UInt16 的隐式转换。

参数
value值。

◆ operator VarUInt16()

static implicit operator VarUInt16 ( ushort  value)
static

从 System.UInt16 到 System.UInt16 变量类的隐式转换。

参数
value值。