mirror of
https://gitee.com/dgflash/oops-framework.git
synced 2026-05-12 21:07:15 +08:00
26 lines
469 B
TypeScript
26 lines
469 B
TypeScript
|
|
|
|
/*
|
|
* @Author: dgflash
|
|
* @Date: 2021-11-12 10:02:31
|
|
* @LastEditors: dgflash
|
|
* @LastEditTime: 2022-01-27 11:07:05
|
|
*/
|
|
|
|
import { ecs } from "../../../core/libs/ecs/ECS";
|
|
import { Role } from "../../role/Role";
|
|
|
|
/**
|
|
* 游戏帐号数据
|
|
*/
|
|
@ecs.register('AccountModel')
|
|
export class AccountModelComp extends ecs.Comp {
|
|
/** 资源列表 */
|
|
currency: any = {};
|
|
/** 角色对象 */
|
|
role: Role = null!;
|
|
|
|
reset() {
|
|
|
|
}
|
|
} |