This commit is contained in:
2025-09-08 14:17:29 +08:00
parent 6ea12b7c77
commit a29e55f0ae
251 changed files with 9789 additions and 18 deletions
+47 -15
View File
@@ -15,29 +15,29 @@ export enum Category {
/**
* 熟女
*/
shunv = 0,
mature = 0,
/**
* 20s
* 18s
*/
twenty = 1,
eighteen = 1,
/**
* 辣妈
* qinfan
*/
lama = 2,
qinfan = 2,
/**
* 捆绑
* luanlun
*/
kunbang = 3,
luanlun = 3,
/**
* 公众野战
* bdsm
*/
publicfight = 4,
bdsm = 4,
/**
* 卡通
* loli
*/
cartoon = 5,
loli = 5,
/**
* 未完成
* upcomming
*/
upcomming = 6,
}
@@ -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; }
/**
* 游戏名
*/