java.lang.Object
cn.wjybxx.base.AbstractConstant
cn.wjybxx.base.fx.ComponentId<T>
- 类型参数:
T- 组件的类型,主要用于编码提示
- 所有已实现的接口:
Constant,Comparable<Constant>
组件id
1.可通过ComponentDefine定义组件的信息
2.是否和Entity同生命周期(禁止提前删除),是属于组件实例的属性,并非这一类组件的共同属性。
- 作者:
- wjybxx date - 2024/6/22
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明final boolean是否是私有脚本 --- 需要被框架调度static <T extends IComponent>
ComponentId.Builder<T> newBuilder(String name)
-
字段详细资料
-
index
public final int index高速缓存下标 -
kind
组件类型 -
maxCount
public final int maxCount最大可挂载数量 -
enableFuncs
public final long enableFuncs启用的函数,扫描重写的方法计算得到 -
flags
public final long flags业务自定义flags -
mountPath
挂载路径 -
extraInfo
用户扩展数据 -- 必须的不可变的
-
-
构造器详细资料
-
ComponentId
子类慎重重写
-
-
方法详细资料
-
isPrivateScript
public final boolean isPrivateScript()是否是私有脚本 --- 需要被框架调度 -
newBuilder
-