Files
18xchat/assets/Scripts/chat18x/data/GirlOtherData.ts
T

39 lines
707 B
TypeScript

/**
* 技师的其他数据
*/
import { BaseData } from "./BaseData";
import proto from 'db://assets/Scripts/proto/proto.pb.js';
export class GirlOtherData extends BaseData {
// 热度值
private heatValue: number;
constructor() {
super();
this.heatValue = 0;
}
public reset(): void {
this.heatValue = 0;
}
public clear(): void {
this.heatValue = 0;
}
public destroy(): void {
super.destroy();
this.heatValue = null;
}
/** 获取 热度值 */
public getHeatValue(): number {
return this.heatValue;
}
/** 保存 热度值 */
public setHeatValue(value: number): void {
this.heatValue = value;
}
}