更新配置表

This commit is contained in:
zcl
2025-09-05 15:45:21 +08:00
parent 5821bc17ae
commit 782e0c8a00
5 changed files with 38 additions and 5 deletions
+35 -3
View File
@@ -199,11 +199,11 @@ export class GirlsDetail {
*/
readonly detailDesc: string
/**
*
* ID
*/
readonly commercialImages: purchase.CommercialImage[]
/**
*
* ID
*/
readonly commercialVideos: purchase.CommercialVideo[]
@@ -229,6 +229,8 @@ export class GlobalConfig {
this.MaxTokens = _buf_.readInt()
this.Timeout = _buf_.readInt()
this.FreeChatTimes = _buf_.readInt()
this.OnceChatAddScore = _buf_.readInt()
this.ScoreExchangeStarLevel = _buf_.readInt()
this.GameName = _buf_.readString()
this.EmotionRating = _buf_.readString()
this.girlBasePrompt = _buf_.readString()
@@ -260,6 +262,14 @@ export class GlobalConfig {
*
*/
readonly FreeChatTimes: number
/**
*
*/
readonly OnceChatAddScore: number
/**
*
*/
readonly ScoreExchangeStarLevel: number
/**
*
*/
@@ -289,6 +299,8 @@ export class GlobalConfig {
}
}
@@ -343,11 +355,16 @@ export namespace purchase {
export class CommercialImage {
constructor(_buf_: ByteBuf) {
this.id = _buf_.readInt()
this.imageType = _buf_.readInt()
this.imagePrice = _buf_.readFloat()
this.path = _buf_.readString()
}
/**
* ID
*/
readonly id: number
/**
* 1=<br/>2=
*/
@@ -365,6 +382,7 @@ export class CommercialImage {
}
}
@@ -375,11 +393,16 @@ export namespace purchase {
export class CommercialVideo {
constructor(_buf_: ByteBuf) {
this.id = _buf_.readInt()
this.path = _buf_.readString()
this.emotion = _buf_.readInt()
this.videoPrice = _buf_.readFloat()
}
/**
* ID
*/
readonly id: number
/**
*
*/
@@ -397,6 +420,7 @@ export class CommercialVideo {
}
}
@@ -426,7 +450,7 @@ export class PurchaseConfig {
*/
readonly desc: string
/**
* ID
*
*/
readonly count: number
@@ -762,6 +786,14 @@ export class TbGlobalConfig {
*
*/
get FreeChatTimes(): number { return this._data.FreeChatTimes; }
/**
*
*/
get OnceChatAddScore(): number { return this._data.OnceChatAddScore; }
/**
*
*/
get ScoreExchangeStarLevel(): number { return this._data.ScoreExchangeStarLevel; }
/**
*
*/