34 lines
647 B
TypeScript
Raw Normal View History

2025-04-24 17:03:28 +08:00
import LivingThing from "./NLivingThing";
const {ccclass, property} = cc._decorator;
@ccclass
export default class NRole extends LivingThing{
@property(cc.Node)
bodyNode:cc.Node=null;
@property(cc.Node)
animationNode:cc.Node=null;
@property(cc.Node)
animationMaskNode:cc.Node=null;
@property(cc.Node)
shadow:cc.Node=null;
@property(cc.Node)
weaponNode:cc.Node=null;
@property(cc.Node)
horseNode:cc.Node=null;
@property(cc.Prefab)
avatarPrefab:cc.Prefab=null;
resId:number;
runType:number;
netInfo:any;
moveSpeed:number;
moveTiems:number;
teamId:number;
}