libs/modules/egret/egret.d.ts
(开头部分) 573KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
declare var global: any;
declare var __global: any;
declare let __define: any;
declare namespace egret {
/**
* The HashObject class is the base class for all objects in the Egret framework.The HashObject
* class includes a hashCode property, which is a unique identification number of the instance.
* @version Egret 2.4
* @platform Web,Native
* @language en_US
*/
/**
* Egret顶级对象。框架内所有对象的基类,为对象实例提供唯一的hashCode值。
* @version Egret 2.4
* @platform Web,Native
* @language zh_CN
*/
interface IHashObject {
/**
* a unique identification number assigned to this instance.
* @version Egret 2.4
* @platform Web,Native
* @readOnly
* @language en_US
*/
/**
* 返回此对象唯一的哈希值,用于唯一确定一个对象。hashCode为大于等于1的整数。
* @version Egret 2.4
* @platform Web,Native
* @readOnly
* @language zh_CN
*/
hashCode: number;
}
/**
* @private
* 哈希计数
*/
let $hashCount: number;
/**
* The HashObject class is the base class for all objects in the Egret framework.The HashObject
* class includes a hashCode property, which is a unique identification number of the instance.
* @version Egret 2.4
* @platform Web,Native
* @language en_US
*/
/**
* Egret顶级对象。框架内所有对象的基类,为对象实例提供唯一的hashCode值。
* @version Egret 2.4
* @platform Web,Native
* @language zh_CN
*/
class HashObject implements IHashObject {
/**
* Initializes a HashObject
* @version Egret 2.4
* @platform Web,Native
* @language en_US
*/
/**
后面还有 5998+ 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
