diff --git a/assets/Scripts/schema/schema.ts b/assets/Scripts/schema/schema.ts index 162c7e05..b0d15e7c 100644 --- a/assets/Scripts/schema/schema.ts +++ b/assets/Scripts/schema/schema.ts @@ -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=详情页展示
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; } /** * 游戏名 */ diff --git a/assets/bundles/DataTable/tbgirlsdetail.bin b/assets/bundles/DataTable/tbgirlsdetail.bin index f533fe81..0723cc92 100644 Binary files a/assets/bundles/DataTable/tbgirlsdetail.bin and b/assets/bundles/DataTable/tbgirlsdetail.bin differ diff --git a/assets/bundles/DataTable/tbglobalconfig.bin b/assets/bundles/DataTable/tbglobalconfig.bin index 15f47ab8..e783de65 100644 Binary files a/assets/bundles/DataTable/tbglobalconfig.bin and b/assets/bundles/DataTable/tbglobalconfig.bin differ diff --git a/assets/bundles/DataTable/tbpurchaseconfig.bin b/assets/bundles/DataTable/tbpurchaseconfig.bin index 6c198d4d..4347fcc3 100644 --- a/assets/bundles/DataTable/tbpurchaseconfig.bin +++ b/assets/bundles/DataTable/tbpurchaseconfig.bin @@ -1 +1,2 @@ -钻石11000F)钻石23000F*钻石35000F+钻石410000F,钻石520000F-钻石630000F. 特权卡168J \ No newline at end of file + 充值挡位1999 充值挡位29999 充值挡位319999N 充值挡位429999u/ 充值挡位569999o 充值挡位699999 +7天会员168 30天会员7200ϋ增加聊天次数20 \ No newline at end of file diff --git a/xchat_cfg b/xchat_cfg index f0e8993d..901edfcd 160000 --- a/xchat_cfg +++ b/xchat_cfg @@ -1 +1 @@ -Subproject commit f0e8993d1e825604324f0532d3fbdb3d0e40f12d +Subproject commit 901edfcd98608f29b0e253d1572f29267f1d8d1a