更新配置表

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 readonly detailDesc: string
/** /**
* 类型 * 资源ID
*/ */
readonly commercialImages: purchase.CommercialImage[] readonly commercialImages: purchase.CommercialImage[]
/** /**
* 视频资源列表 * 资源ID
*/ */
readonly commercialVideos: purchase.CommercialVideo[] readonly commercialVideos: purchase.CommercialVideo[]
@@ -229,6 +229,8 @@ export class GlobalConfig {
this.MaxTokens = _buf_.readInt() this.MaxTokens = _buf_.readInt()
this.Timeout = _buf_.readInt() this.Timeout = _buf_.readInt()
this.FreeChatTimes = _buf_.readInt() this.FreeChatTimes = _buf_.readInt()
this.OnceChatAddScore = _buf_.readInt()
this.ScoreExchangeStarLevel = _buf_.readInt()
this.GameName = _buf_.readString() this.GameName = _buf_.readString()
this.EmotionRating = _buf_.readString() this.EmotionRating = _buf_.readString()
this.girlBasePrompt = _buf_.readString() this.girlBasePrompt = _buf_.readString()
@@ -260,6 +262,14 @@ export class GlobalConfig {
* 单个角色免费聊天次数 * 单个角色免费聊天次数
*/ */
readonly FreeChatTimes: number 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 { export class CommercialImage {
constructor(_buf_: ByteBuf) { constructor(_buf_: ByteBuf) {
this.id = _buf_.readInt()
this.imageType = _buf_.readInt() this.imageType = _buf_.readInt()
this.imagePrice = _buf_.readFloat() this.imagePrice = _buf_.readFloat()
this.path = _buf_.readString() this.path = _buf_.readString()
} }
/**
* 图片资源ID
*/
readonly id: number
/** /**
* 1=详情页展示<br/>2=聊天触发 * 1=详情页展示<br/>2=聊天触发
*/ */
@@ -365,6 +382,7 @@ export class CommercialImage {
} }
} }
@@ -375,11 +393,16 @@ export namespace purchase {
export class CommercialVideo { export class CommercialVideo {
constructor(_buf_: ByteBuf) { constructor(_buf_: ByteBuf) {
this.id = _buf_.readInt()
this.path = _buf_.readString() this.path = _buf_.readString()
this.emotion = _buf_.readInt() this.emotion = _buf_.readInt()
this.videoPrice = _buf_.readFloat() 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 readonly desc: string
/** /**
* 计费点ID * 价格
*/ */
readonly count: number readonly count: number
@@ -762,6 +786,14 @@ export class TbGlobalConfig {
* 单个角色免费聊天次数 * 单个角色免费聊天次数
*/ */
get FreeChatTimes(): number { return this._data.FreeChatTimes; } get FreeChatTimes(): number { return this._data.FreeChatTimes; }
/**
* 单次对话增长好感度
*/
get OnceChatAddScore(): number { return this._data.OnceChatAddScore; }
/**
* 好感度等级兑换比例
*/
get ScoreExchangeStarLevel(): number { return this._data.ScoreExchangeStarLevel; }
/** /**
* 游戏名 * 游戏名
*/ */
Binary file not shown.
Binary file not shown.
@@ -1 +1,2 @@
ƒιι’»η³11000ΟF)ƒκι’»η³23000ΟF*ƒλι’»η³35000ΟF+ƒμι’»η³410000ΟF,ƒνι’»η³520000ΟF-ƒξι’»η³630000ΟF.‡Ρ η‰Ήζƒε΅168ΟJ ƒé␍充值挡ä½1999ƒçƒê␍充值挡ä½29999§ƒë␍充值挡ä½319999ÀNƒì␍充值挡ä½429999Àu/ƒí␍充值挡ä½569999Áoƒî␍充值挡ä½699999Á†Ÿ‡Ñ
7天会员168ƒç‡Ò 30天会员7200‡Ï‹¹增加èŠå¤©æ¬¡æ•°20€Ç