修改:协议和配置表

This commit is contained in:
chen wei bo
2025-09-08 15:11:11 +08:00
parent 5821bc17ae
commit 826e52d019
47 changed files with 12826 additions and 4127 deletions
@@ -0,0 +1,54 @@
/**
* 技师的好感度数据
*/
import { BaseData } from "./BaseData";
import proto from 'db://assets/Scripts/proto/proto.pb.js';
export class GirlFavorabilityData extends BaseData {
// id
private id: number;
// 星级
private star: number;
constructor() {
super();
this.id = 0;
this.star = 0;
}
public reset(): void {
this.id = 0;
this.star = 0;
}
public clear(): void {
this.id = 0;
this.star = 0;
}
public destroy(): void {
super.destroy();
this.id = null;
this.star = null;
}
/** 获取 id */
public getId(): number {
return this.id;
}
/** 保存 id */
public setId(value: number): void {
this.id = value;
}
/** 获取星级 */
public getStar(): number {
return this.star;
}
/** 保存星级 */
public setStar(value: number): void {
this.star = value;
}
}