协议更新

This commit is contained in:
chen wei bo
2025-10-10 14:12:15 +08:00
parent 558f6c3ee3
commit d59eca2a90
3 changed files with 656 additions and 1 deletions
+200
View File
@@ -4403,6 +4403,206 @@ toJSON(): { [k: string]: any };
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CSRecommendReq. */
interface ICSRecommendReq {
/** CSRecommendReq page */
page?: (number|null);
/** CSRecommendReq limit */
limit?: (number|null);
}
/** Represents a CSRecommendReq. */
class CSRecommendReq implements ICSRecommendReq {
/**
* Constructs a new CSRecommendReq.
* @param [properties] Properties to set
*/
constructor(properties?: cs.ICSRecommendReq);
/** CSRecommendReq page. */
page: number;
/** CSRecommendReq limit. */
limit: number;
/**
* Creates a new CSRecommendReq instance using the specified properties.
* @param [properties] Properties to set
* @returns CSRecommendReq instance
*/
static create(properties?: cs.ICSRecommendReq): cs.CSRecommendReq;
/**
* Encodes the specified CSRecommendReq message. Does not implicitly {@link cs.CSRecommendReq.verify|verify} messages.
* @param message CSRecommendReq message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.ICSRecommendReq, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CSRecommendReq message, length delimited. Does not implicitly {@link cs.CSRecommendReq.verify|verify} messages.
* @param message CSRecommendReq message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.ICSRecommendReq, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CSRecommendReq message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CSRecommendReq
* @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.CSRecommendReq;
/**
* Decodes a CSRecommendReq message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CSRecommendReq
* @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.CSRecommendReq;
/**
* Verifies a CSRecommendReq 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 CSRecommendReq message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CSRecommendReq
*/
static fromObject(object: { [k: string]: any }): cs.CSRecommendReq;
/**
* Creates a plain object from a CSRecommendReq message. Also converts values to other types if specified.
* @param message CSRecommendReq
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.CSRecommendReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CSRecommendReq to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for CSRecommendReq
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Properties of a CSRecommendRes. */
interface ICSRecommendRes {
/** CSRecommendRes girl */
girl?: (cs.IGirls[]|null);
}
/** Represents a CSRecommendRes. */
class CSRecommendRes implements ICSRecommendRes {
/**
* Constructs a new CSRecommendRes.
* @param [properties] Properties to set
*/
constructor(properties?: cs.ICSRecommendRes);
/** CSRecommendRes girl. */
girl: cs.IGirls[];
/**
* Creates a new CSRecommendRes instance using the specified properties.
* @param [properties] Properties to set
* @returns CSRecommendRes instance
*/
static create(properties?: cs.ICSRecommendRes): cs.CSRecommendRes;
/**
* Encodes the specified CSRecommendRes message. Does not implicitly {@link cs.CSRecommendRes.verify|verify} messages.
* @param message CSRecommendRes message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encode(message: cs.ICSRecommendRes, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified CSRecommendRes message, length delimited. Does not implicitly {@link cs.CSRecommendRes.verify|verify} messages.
* @param message CSRecommendRes message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
static encodeDelimited(message: cs.ICSRecommendRes, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a CSRecommendRes message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns CSRecommendRes
* @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.CSRecommendRes;
/**
* Decodes a CSRecommendRes message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns CSRecommendRes
* @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.CSRecommendRes;
/**
* Verifies a CSRecommendRes 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 CSRecommendRes message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns CSRecommendRes
*/
static fromObject(object: { [k: string]: any }): cs.CSRecommendRes;
/**
* Creates a plain object from a CSRecommendRes message. Also converts values to other types if specified.
* @param message CSRecommendRes
* @param [options] Conversion options
* @returns Plain object
*/
static toObject(message: cs.CSRecommendRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this CSRecommendRes to JSON.
* @returns JSON object
*/
toJSON(): { [k: string]: any };
/**
* Gets the default type url for CSRecommendRes
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
* @returns The default type url
*/
static getTypeUrl(typeUrlPrefix?: string): string;
}
/** Category enum. */
enum Category {
Category_mature = 0,