协议修改

This commit is contained in:
chen wei bo
2025-08-25 16:27:24 +08:00
parent 6a6510e34a
commit e843f0fdcd
8 changed files with 1543 additions and 745 deletions
+397 -173
View File
@@ -145,6 +145,115 @@ toJSON(): { [k: string]: any };
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GirlPhoto. */
interface IGirlPhoto {
/** GirlPhoto pic */
pic?: (string|null);
/** GirlPhoto isRelease */
isRelease?: (boolean|null);
/** GirlPhoto price */
price?: (number|null);
}
/** Represents a GirlPhoto. */
class GirlPhoto implements IGirlPhoto {
/**
* Constructs a new GirlPhoto.
* @param [properties] Properties to set
*/
constructor(properties?: cs.IGirlPhoto);
/** GirlPhoto pic. */
pic: string;
/** GirlPhoto isRelease. */
isRelease: boolean;
/** GirlPhoto price. */
price: number;
/**
* Creates a new GirlPhoto instance using the specified properties.
* @param [properties] Properties to set
* @returns GirlPhoto instance
*/
static create(properties?: cs.IGirlPhoto): cs.GirlPhoto;
/**
* Encodes the specified GirlPhoto message. Does not implicitly {@link cs.GirlPhoto.verify|verify} messages.
* @param message GirlPhoto message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.IGirlPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified GirlPhoto message, length delimited. Does not implicitly {@link cs.GirlPhoto.verify|verify} messages.
* @param message GirlPhoto message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.IGirlPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a GirlPhoto message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns GirlPhoto
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.GirlPhoto;
/**
* Decodes a GirlPhoto message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns GirlPhoto
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.GirlPhoto;
/**
* Verifies a GirlPhoto message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a GirlPhoto message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns GirlPhoto
*/
static fromObject(object: { [k: string]: any }): cs.GirlPhoto;
/**
* Creates a plain object from a GirlPhoto message. Also converts values to other types if specified.
* @param message GirlPhoto
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.GirlPhoto, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this GirlPhoto to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for GirlPhoto
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a GirlDetail. */
interface IGirlDetail {
@@ -154,8 +263,14 @@ static getTypeUrl(typeUrlPrefix?: string): string;
/** GirlDetail desc */
desc?: (string|null);
/** GirlDetail pics */
pics?: (string[]|null);
/** GirlDetail photos */
photos?: (cs.IGirlPhoto[]|null);
/** GirlDetail isRelease */
isRelease?: (boolean|null);
/** GirlDetail chatCount */
chatCount?: (number|null);
}
/** Represents a GirlDetail. */
@@ -173,8 +288,14 @@ brief?: (cs.IGirlBrief|null);
/** GirlDetail desc. */
desc: string;
/** GirlDetail pics. */
pics: string[];
/** GirlDetail photos. */
photos: cs.IGirlPhoto[];
/** GirlDetail isRelease. */
isRelease: boolean;
/** GirlDetail chatCount. */
chatCount: number;
/**
* Creates a new GirlDetail instance using the specified properties.
@@ -548,8 +669,8 @@ static getTypeUrl(typeUrlPrefix?: string): string;
/** HallTheme category */
category?: (number|null);
/** HallTheme isLock */
isLock?: (boolean|null);
/** HallTheme isRelease */
isRelease?: (boolean|null);
/** HallTheme path */
path?: (string|null);
@@ -576,8 +697,8 @@ name: string;
/** HallTheme category. */
category: number;
/** HallTheme isLock. */
isLock: boolean;
/** HallTheme isRelease. */
isRelease: boolean;
/** HallTheme path. */
path: string;
@@ -761,7 +882,7 @@ static getTypeUrl(typeUrlPrefix?: string): string;
interface ICSGetGirlListReq {
/** CSGetGirlListReq category */
category?: (string|null);
category?: (number|null);
/** CSGetGirlListReq page */
page?: (number|null);
@@ -780,7 +901,7 @@ static getTypeUrl(typeUrlPrefix?: string): string;
constructor(properties?: cs.ICSGetGirlListReq);
/** CSGetGirlListReq category. */
category: string;
category: number;
/** CSGetGirlListReq page. */
page: number;
@@ -1157,230 +1278,121 @@ toJSON(): { [k: string]: any };
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Diamond. */
interface IDiamond {
/** Properties of a Good. */
interface IGood {
/** Diamond id */
/** Good id */
id?: (number|null);
/** Diamond name */
/** Good name */
name?: (string|null);
/** Diamond price */
price?: (string|null);
/** Diamond diamonCount */
diamonCount?: (number|null);
}
/** Represents a Diamond. */
class Diamond implements IDiamond {
/**
* Constructs a new Diamond.
* @param [properties] Properties to set
*/
constructor(properties?: cs.IDiamond);
/** Diamond id. */
id: number;
/** Diamond name. */
name: string;
/** Diamond price. */
price: string;
/** Diamond diamonCount. */
diamonCount: number;
/**
* Creates a new Diamond instance using the specified properties.
* @param [properties] Properties to set
* @returns Diamond instance
*/
static create(properties?: cs.IDiamond): cs.Diamond;
/**
* Encodes the specified Diamond message. Does not implicitly {@link cs.Diamond.verify|verify} messages.
* @param message Diamond message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.IDiamond, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Diamond message, length delimited. Does not implicitly {@link cs.Diamond.verify|verify} messages.
* @param message Diamond message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.IDiamond, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Diamond message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Diamond
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Diamond;
/**
* Decodes a Diamond message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Diamond
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Diamond;
/**
* Verifies a Diamond message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Diamond message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Diamond
*/
static fromObject(object: { [k: string]: any }): cs.Diamond;
/**
* Creates a plain object from a Diamond message. Also converts values to other types if specified.
* @param message Diamond
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.Diamond, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Diamond to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for Diamond
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a Vip. */
interface IVip {
/** Vip id */
id?: (number|null);
/** Vip name */
name?: (string|null);
/** Vip desc */
/** Good desc */
desc?: (string|null);
/** Vip price */
/** Good price */
price?: (string|null);
/** Good count */
count?: (number|null);
}
/** Represents a Vip. */
class Vip implements IVip {
/** Represents a Good. */
class Good implements IGood {
/**
* Constructs a new Vip.
* Constructs a new Good.
* @param [properties] Properties to set
*/
constructor(properties?: cs.IVip);
constructor(properties?: cs.IGood);
/** Vip id. */
/** Good id. */
id: number;
/** Vip name. */
/** Good name. */
name: string;
/** Vip desc. */
/** Good desc. */
desc: string;
/** Vip price. */
/** Good price. */
price: string;
/** Good count. */
count: number;
/**
* Creates a new Vip instance using the specified properties.
* Creates a new Good instance using the specified properties.
* @param [properties] Properties to set
* @returns Vip instance
* @returns Good instance
*/
static create(properties?: cs.IVip): cs.Vip;
static create(properties?: cs.IGood): cs.Good;
/**
* Encodes the specified Vip message. Does not implicitly {@link cs.Vip.verify|verify} messages.
* @param message Vip message or plain object to encode
* Encodes the specified Good message. Does not implicitly {@link cs.Good.verify|verify} messages.
* @param message Good message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.IVip, writer?: $protobuf.Writer): $protobuf.Writer;
static encode(message: cs.IGood, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Vip message, length delimited. Does not implicitly {@link cs.Vip.verify|verify} messages.
* @param message Vip message or plain object to encode
* Encodes the specified Good message, length delimited. Does not implicitly {@link cs.Good.verify|verify} messages.
* @param message Good message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.IVip, writer?: $protobuf.Writer): $protobuf.Writer;
static encodeDelimited(message: cs.IGood, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Vip message from the specified reader or buffer.
* Decodes a Good message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Vip
* @returns Good
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Vip;
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Good;
/**
* Decodes a Vip message from the specified reader or buffer, length delimited.
* Decodes a Good message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Vip
* @returns Good
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Vip;
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Good;
/**
* Verifies a Vip message.
* Verifies a Good message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Vip message from a plain object. Also converts values to their respective internal types.
* Creates a Good message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Vip
* @returns Good
*/
static fromObject(object: { [k: string]: any }): cs.Vip;
static fromObject(object: { [k: string]: any }): cs.Good;
/**
* Creates a plain object from a Vip message. Also converts values to other types if specified.
* @param message Vip
* Creates a plain object from a Good message. Also converts values to other types if specified.
* @param message Good
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.Vip, options?: $protobuf.IConversionOptions): { [k: string]: any };
static toObject(message: cs.Good, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Vip to JSON.
* Converts this Good to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for Vip
* Gets the default type url for Good
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
@@ -1481,11 +1493,8 @@ static getTypeUrl(typeUrlPrefix?: string): string;
/** Properties of a CSGetShopRes. */
interface ICSGetShopRes {
/** CSGetShopRes diamonds */
diamonds?: (cs.IDiamond[]|null);
/** CSGetShopRes vips */
vips?: (cs.IVip[]|null);
/** CSGetShopRes Goods */
Goods?: (cs.IGood[]|null);
}
/** Represents a CSGetShopRes. */
@@ -1497,11 +1506,8 @@ static getTypeUrl(typeUrlPrefix?: string): string;
*/
constructor(properties?: cs.ICSGetShopRes);
/** CSGetShopRes diamonds. */
diamonds: cs.IDiamond[];
/** CSGetShopRes vips. */
vips: cs.IVip[];
/** CSGetShopRes Goods. */
Goods: cs.IGood[];
/**
* Creates a new CSGetShopRes instance using the specified properties.
@@ -1877,6 +1883,9 @@ static getTypeUrl(typeUrlPrefix?: string): string;
/** CSCreateOrderRes payUrl */
payUrl?: (string|null);
/** CSCreateOrderRes orderId */
orderId?: (string|null);
}
/** Represents a CSCreateOrderRes. */
@@ -1891,6 +1900,9 @@ static getTypeUrl(typeUrlPrefix?: string): string;
/** CSCreateOrderRes payUrl. */
payUrl: string;
/** CSCreateOrderRes orderId. */
orderId: string;
/**
* Creates a new CSCreateOrderRes instance using the specified properties.
* @param [properties] Properties to set
@@ -1969,6 +1981,218 @@ toJSON(): { [k: string]: any };
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CSQueryOrderReq. */
interface ICSQueryOrderReq {
/** CSQueryOrderReq orderId */
orderId?: (string|null);
}
/** Represents a CSQueryOrderReq. */
class CSQueryOrderReq implements ICSQueryOrderReq {
/**
* Constructs a new CSQueryOrderReq.
* @param [properties] Properties to set
*/
constructor(properties?: cs.ICSQueryOrderReq);
/** CSQueryOrderReq orderId. */
orderId: string;
/**
* Creates a new CSQueryOrderReq instance using the specified properties.
* @param [properties] Properties to set
* @returns CSQueryOrderReq instance
*/
static create(properties?: cs.ICSQueryOrderReq): cs.CSQueryOrderReq;
/**
* Encodes the specified CSQueryOrderReq message. Does not implicitly {@link cs.CSQueryOrderReq.verify|verify} messages.
* @param message CSQueryOrderReq message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.ICSQueryOrderReq, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CSQueryOrderReq message, length delimited. Does not implicitly {@link cs.CSQueryOrderReq.verify|verify} messages.
* @param message CSQueryOrderReq message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.ICSQueryOrderReq, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CSQueryOrderReq message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CSQueryOrderReq
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSQueryOrderReq;
/**
* Decodes a CSQueryOrderReq message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CSQueryOrderReq
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSQueryOrderReq;
/**
* Verifies a CSQueryOrderReq message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a CSQueryOrderReq message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CSQueryOrderReq
*/
static fromObject(object: { [k: string]: any }): cs.CSQueryOrderReq;
/**
* Creates a plain object from a CSQueryOrderReq message. Also converts values to other types if specified.
* @param message CSQueryOrderReq
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.CSQueryOrderReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CSQueryOrderReq to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for CSQueryOrderReq
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CSQueryOrderRes. */
interface ICSQueryOrderRes {
/** CSQueryOrderRes status */
status?: (number|null);
/** CSQueryOrderRes retCode */
retCode?: (number|null);
/** CSQueryOrderRes diamond */
diamond?: (number|Long|null);
/** CSQueryOrderRes vipExpire */
vipExpire?: (number|Long|null);
}
/** Represents a CSQueryOrderRes. */
class CSQueryOrderRes implements ICSQueryOrderRes {
/**
* Constructs a new CSQueryOrderRes.
* @param [properties] Properties to set
*/
constructor(properties?: cs.ICSQueryOrderRes);
/** CSQueryOrderRes status. */
status: number;
/** CSQueryOrderRes retCode. */
retCode: number;
/** CSQueryOrderRes diamond. */
diamond: (number|Long);
/** CSQueryOrderRes vipExpire. */
vipExpire: (number|Long);
/**
* Creates a new CSQueryOrderRes instance using the specified properties.
* @param [properties] Properties to set
* @returns CSQueryOrderRes instance
*/
static create(properties?: cs.ICSQueryOrderRes): cs.CSQueryOrderRes;
/**
* Encodes the specified CSQueryOrderRes message. Does not implicitly {@link cs.CSQueryOrderRes.verify|verify} messages.
* @param message CSQueryOrderRes message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.ICSQueryOrderRes, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CSQueryOrderRes message, length delimited. Does not implicitly {@link cs.CSQueryOrderRes.verify|verify} messages.
* @param message CSQueryOrderRes message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.ICSQueryOrderRes, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CSQueryOrderRes message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CSQueryOrderRes
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSQueryOrderRes;
/**
* Decodes a CSQueryOrderRes message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CSQueryOrderRes
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSQueryOrderRes;
/**
* Verifies a CSQueryOrderRes message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a CSQueryOrderRes message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CSQueryOrderRes
*/
static fromObject(object: { [k: string]: any }): cs.CSQueryOrderRes;
/**
* Creates a plain object from a CSQueryOrderRes message. Also converts values to other types if specified.
* @param message CSQueryOrderRes
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.CSQueryOrderRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CSQueryOrderRes to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for CSQueryOrderRes
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CSLoginReq. */
interface ICSLoginReq {
File diff suppressed because it is too large Load Diff