declare namespace proto { // DO NOT EDIT! This is a generated file. Edit the JSDoc in src/*.js instead and run 'npm run build:types'. /** Namespace cs. */ export namespace cs { /** Properties of a CSDailyRecommendReq. */ interface ICSDailyRecommendReq { } /** Represents a CSDailyRecommendReq. */ class CSDailyRecommendReq implements ICSDailyRecommendReq { /** * Constructs a new CSDailyRecommendReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSDailyRecommendReq); /** * Creates a new CSDailyRecommendReq instance using the specified properties. * @param [properties] Properties to set * @returns CSDailyRecommendReq instance */ static create(properties?: cs.ICSDailyRecommendReq): cs.CSDailyRecommendReq; /** * Encodes the specified CSDailyRecommendReq message. Does not implicitly {@link cs.CSDailyRecommendReq.verify|verify} messages. * @param message CSDailyRecommendReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSDailyRecommendReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSDailyRecommendReq message, length delimited. Does not implicitly {@link cs.CSDailyRecommendReq.verify|verify} messages. * @param message CSDailyRecommendReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSDailyRecommendReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSDailyRecommendReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSDailyRecommendReq * @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.CSDailyRecommendReq; /** * Decodes a CSDailyRecommendReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSDailyRecommendReq * @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.CSDailyRecommendReq; /** * Verifies a CSDailyRecommendReq 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 CSDailyRecommendReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSDailyRecommendReq */ static fromObject(object: { [k: string]: any }): cs.CSDailyRecommendReq; /** * Creates a plain object from a CSDailyRecommendReq message. Also converts values to other types if specified. * @param message CSDailyRecommendReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSDailyRecommendReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSDailyRecommendReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSDailyRecommendReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSDailyRecommendRes. */ interface ICSDailyRecommendRes { /** CSDailyRecommendRes girl */ girl?: (cs.IGirls|null); } /** Represents a CSDailyRecommendRes. */ class CSDailyRecommendRes implements ICSDailyRecommendRes { /** * Constructs a new CSDailyRecommendRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSDailyRecommendRes); /** CSDailyRecommendRes girl. */ girl?: (cs.IGirls|null); /** * Creates a new CSDailyRecommendRes instance using the specified properties. * @param [properties] Properties to set * @returns CSDailyRecommendRes instance */ static create(properties?: cs.ICSDailyRecommendRes): cs.CSDailyRecommendRes; /** * Encodes the specified CSDailyRecommendRes message. Does not implicitly {@link cs.CSDailyRecommendRes.verify|verify} messages. * @param message CSDailyRecommendRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSDailyRecommendRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSDailyRecommendRes message, length delimited. Does not implicitly {@link cs.CSDailyRecommendRes.verify|verify} messages. * @param message CSDailyRecommendRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSDailyRecommendRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSDailyRecommendRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSDailyRecommendRes * @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.CSDailyRecommendRes; /** * Decodes a CSDailyRecommendRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSDailyRecommendRes * @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.CSDailyRecommendRes; /** * Verifies a CSDailyRecommendRes 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 CSDailyRecommendRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSDailyRecommendRes */ static fromObject(object: { [k: string]: any }): cs.CSDailyRecommendRes; /** * Creates a plain object from a CSDailyRecommendRes message. Also converts values to other types if specified. * @param message CSDailyRecommendRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSDailyRecommendRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSDailyRecommendRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSDailyRecommendRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSHallThemeReq. */ interface ICSHallThemeReq { } /** Represents a CSHallThemeReq. */ class CSHallThemeReq implements ICSHallThemeReq { /** * Constructs a new CSHallThemeReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSHallThemeReq); /** * Creates a new CSHallThemeReq instance using the specified properties. * @param [properties] Properties to set * @returns CSHallThemeReq instance */ static create(properties?: cs.ICSHallThemeReq): cs.CSHallThemeReq; /** * Encodes the specified CSHallThemeReq message. Does not implicitly {@link cs.CSHallThemeReq.verify|verify} messages. * @param message CSHallThemeReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSHallThemeReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSHallThemeReq message, length delimited. Does not implicitly {@link cs.CSHallThemeReq.verify|verify} messages. * @param message CSHallThemeReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSHallThemeReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSHallThemeReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSHallThemeReq * @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.CSHallThemeReq; /** * Decodes a CSHallThemeReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSHallThemeReq * @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.CSHallThemeReq; /** * Verifies a CSHallThemeReq 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 CSHallThemeReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSHallThemeReq */ static fromObject(object: { [k: string]: any }): cs.CSHallThemeReq; /** * Creates a plain object from a CSHallThemeReq message. Also converts values to other types if specified. * @param message CSHallThemeReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSHallThemeReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSHallThemeReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSHallThemeReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSHallThemeRes. */ interface ICSHallThemeRes { /** CSHallThemeRes themes */ themes?: (cs.IThemes[]|null); } /** Represents a CSHallThemeRes. */ class CSHallThemeRes implements ICSHallThemeRes { /** * Constructs a new CSHallThemeRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSHallThemeRes); /** CSHallThemeRes themes. */ themes: cs.IThemes[]; /** * Creates a new CSHallThemeRes instance using the specified properties. * @param [properties] Properties to set * @returns CSHallThemeRes instance */ static create(properties?: cs.ICSHallThemeRes): cs.CSHallThemeRes; /** * Encodes the specified CSHallThemeRes message. Does not implicitly {@link cs.CSHallThemeRes.verify|verify} messages. * @param message CSHallThemeRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSHallThemeRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSHallThemeRes message, length delimited. Does not implicitly {@link cs.CSHallThemeRes.verify|verify} messages. * @param message CSHallThemeRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSHallThemeRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSHallThemeRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSHallThemeRes * @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.CSHallThemeRes; /** * Decodes a CSHallThemeRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSHallThemeRes * @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.CSHallThemeRes; /** * Verifies a CSHallThemeRes 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 CSHallThemeRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSHallThemeRes */ static fromObject(object: { [k: string]: any }): cs.CSHallThemeRes; /** * Creates a plain object from a CSHallThemeRes message. Also converts values to other types if specified. * @param message CSHallThemeRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSHallThemeRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSHallThemeRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSHallThemeRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ResourceUnlock. */ interface IResourceUnlock { /** ResourceUnlock girlId */ girlId?: (number|null); /** ResourceUnlock resId */ resId?: (number|null); } /** Represents a ResourceUnlock. */ class ResourceUnlock implements IResourceUnlock { /** * Constructs a new ResourceUnlock. * @param [properties] Properties to set */ constructor(properties?: cs.IResourceUnlock); /** ResourceUnlock girlId. */ girlId: number; /** ResourceUnlock resId. */ resId: number; /** * Creates a new ResourceUnlock instance using the specified properties. * @param [properties] Properties to set * @returns ResourceUnlock instance */ static create(properties?: cs.IResourceUnlock): cs.ResourceUnlock; /** * Encodes the specified ResourceUnlock message. Does not implicitly {@link cs.ResourceUnlock.verify|verify} messages. * @param message ResourceUnlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IResourceUnlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ResourceUnlock message, length delimited. Does not implicitly {@link cs.ResourceUnlock.verify|verify} messages. * @param message ResourceUnlock message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IResourceUnlock, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ResourceUnlock message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ResourceUnlock * @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.ResourceUnlock; /** * Decodes a ResourceUnlock message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ResourceUnlock * @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.ResourceUnlock; /** * Verifies a ResourceUnlock 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 ResourceUnlock message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ResourceUnlock */ static fromObject(object: { [k: string]: any }): cs.ResourceUnlock; /** * Creates a plain object from a ResourceUnlock message. Also converts values to other types if specified. * @param message ResourceUnlock * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.ResourceUnlock, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ResourceUnlock to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for ResourceUnlock * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GirlData. */ interface IGirlData { /** GirlData id */ id?: (number|null); /** GirlData girl */ girl?: (cs.IGirls|null); /** GirlData isRelease */ isRelease?: (boolean|null); /** GirlData star */ star?: (number|null); /** GirlData unlockTime */ unlockTime?: (number|Long|null); /** GirlData score */ score?: (number|Long|null); /** GirlData bookmarkTime */ bookmarkTime?: (number|Long|null); /** GirlData detail */ detail?: (cs.IGirlsDetail|null); /** GirlData images */ images?: (cs.IResourceUnlock[]|null); /** GirlData videos */ videos?: (cs.IResourceUnlock[]|null); /** GirlData chatTotalCount */ chatTotalCount?: (number|null); /** GirlData chatRemainCount */ chatRemainCount?: (number|null); } /** Represents a GirlData. */ class GirlData implements IGirlData { /** * Constructs a new GirlData. * @param [properties] Properties to set */ constructor(properties?: cs.IGirlData); /** GirlData id. */ id: number; /** GirlData girl. */ girl?: (cs.IGirls|null); /** GirlData isRelease. */ isRelease: boolean; /** GirlData star. */ star: number; /** GirlData unlockTime. */ unlockTime: (number|Long); /** GirlData score. */ score: (number|Long); /** GirlData bookmarkTime. */ bookmarkTime: (number|Long); /** GirlData detail. */ detail?: (cs.IGirlsDetail|null); /** GirlData images. */ images: cs.IResourceUnlock[]; /** GirlData videos. */ videos: cs.IResourceUnlock[]; /** GirlData chatTotalCount. */ chatTotalCount: number; /** GirlData chatRemainCount. */ chatRemainCount: number; /** * Creates a new GirlData instance using the specified properties. * @param [properties] Properties to set * @returns GirlData instance */ static create(properties?: cs.IGirlData): cs.GirlData; /** * Encodes the specified GirlData message. Does not implicitly {@link cs.GirlData.verify|verify} messages. * @param message GirlData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IGirlData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GirlData message, length delimited. Does not implicitly {@link cs.GirlData.verify|verify} messages. * @param message GirlData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IGirlData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GirlData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GirlData * @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.GirlData; /** * Decodes a GirlData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GirlData * @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.GirlData; /** * Verifies a GirlData 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 GirlData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GirlData */ static fromObject(object: { [k: string]: any }): cs.GirlData; /** * Creates a plain object from a GirlData message. Also converts values to other types if specified. * @param message GirlData * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.GirlData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GirlData to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for GirlData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetGirlListReq. */ interface ICSGetGirlListReq { /** CSGetGirlListReq category */ category?: (number|null); /** CSGetGirlListReq page */ page?: (number|null); /** CSGetGirlListReq limit */ limit?: (number|null); } /** Represents a CSGetGirlListReq. */ class CSGetGirlListReq implements ICSGetGirlListReq { /** * Constructs a new CSGetGirlListReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetGirlListReq); /** CSGetGirlListReq category. */ category: number; /** CSGetGirlListReq page. */ page: number; /** CSGetGirlListReq limit. */ limit: number; /** * Creates a new CSGetGirlListReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetGirlListReq instance */ static create(properties?: cs.ICSGetGirlListReq): cs.CSGetGirlListReq; /** * Encodes the specified CSGetGirlListReq message. Does not implicitly {@link cs.CSGetGirlListReq.verify|verify} messages. * @param message CSGetGirlListReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetGirlListReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetGirlListReq message, length delimited. Does not implicitly {@link cs.CSGetGirlListReq.verify|verify} messages. * @param message CSGetGirlListReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetGirlListReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetGirlListReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetGirlListReq * @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.CSGetGirlListReq; /** * Decodes a CSGetGirlListReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetGirlListReq * @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.CSGetGirlListReq; /** * Verifies a CSGetGirlListReq 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 CSGetGirlListReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetGirlListReq */ static fromObject(object: { [k: string]: any }): cs.CSGetGirlListReq; /** * Creates a plain object from a CSGetGirlListReq message. Also converts values to other types if specified. * @param message CSGetGirlListReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetGirlListReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetGirlListReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetGirlListReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetGirlListRes. */ interface ICSGetGirlListRes { /** CSGetGirlListRes girls */ girls?: (cs.IGirlData[]|null); } /** Represents a CSGetGirlListRes. */ class CSGetGirlListRes implements ICSGetGirlListRes { /** * Constructs a new CSGetGirlListRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetGirlListRes); /** CSGetGirlListRes girls. */ girls: cs.IGirlData[]; /** * Creates a new CSGetGirlListRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetGirlListRes instance */ static create(properties?: cs.ICSGetGirlListRes): cs.CSGetGirlListRes; /** * Encodes the specified CSGetGirlListRes message. Does not implicitly {@link cs.CSGetGirlListRes.verify|verify} messages. * @param message CSGetGirlListRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetGirlListRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetGirlListRes message, length delimited. Does not implicitly {@link cs.CSGetGirlListRes.verify|verify} messages. * @param message CSGetGirlListRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetGirlListRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetGirlListRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetGirlListRes * @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.CSGetGirlListRes; /** * Decodes a CSGetGirlListRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetGirlListRes * @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.CSGetGirlListRes; /** * Verifies a CSGetGirlListRes 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 CSGetGirlListRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetGirlListRes */ static fromObject(object: { [k: string]: any }): cs.CSGetGirlListRes; /** * Creates a plain object from a CSGetGirlListRes message. Also converts values to other types if specified. * @param message CSGetGirlListRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetGirlListRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetGirlListRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetGirlListRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetGirlDetailReq. */ interface ICSGetGirlDetailReq { /** CSGetGirlDetailReq id */ id?: (number|null); } /** Represents a CSGetGirlDetailReq. */ class CSGetGirlDetailReq implements ICSGetGirlDetailReq { /** * Constructs a new CSGetGirlDetailReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetGirlDetailReq); /** CSGetGirlDetailReq id. */ id: number; /** * Creates a new CSGetGirlDetailReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetGirlDetailReq instance */ static create(properties?: cs.ICSGetGirlDetailReq): cs.CSGetGirlDetailReq; /** * Encodes the specified CSGetGirlDetailReq message. Does not implicitly {@link cs.CSGetGirlDetailReq.verify|verify} messages. * @param message CSGetGirlDetailReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetGirlDetailReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetGirlDetailReq message, length delimited. Does not implicitly {@link cs.CSGetGirlDetailReq.verify|verify} messages. * @param message CSGetGirlDetailReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetGirlDetailReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetGirlDetailReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetGirlDetailReq * @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.CSGetGirlDetailReq; /** * Decodes a CSGetGirlDetailReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetGirlDetailReq * @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.CSGetGirlDetailReq; /** * Verifies a CSGetGirlDetailReq 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 CSGetGirlDetailReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetGirlDetailReq */ static fromObject(object: { [k: string]: any }): cs.CSGetGirlDetailReq; /** * Creates a plain object from a CSGetGirlDetailReq message. Also converts values to other types if specified. * @param message CSGetGirlDetailReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetGirlDetailReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetGirlDetailReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetGirlDetailReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetGirlDetailRes. */ interface ICSGetGirlDetailRes { /** CSGetGirlDetailRes girl */ girl?: (cs.IGirlData|null); } /** Represents a CSGetGirlDetailRes. */ class CSGetGirlDetailRes implements ICSGetGirlDetailRes { /** * Constructs a new CSGetGirlDetailRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetGirlDetailRes); /** CSGetGirlDetailRes girl. */ girl?: (cs.IGirlData|null); /** * Creates a new CSGetGirlDetailRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetGirlDetailRes instance */ static create(properties?: cs.ICSGetGirlDetailRes): cs.CSGetGirlDetailRes; /** * Encodes the specified CSGetGirlDetailRes message. Does not implicitly {@link cs.CSGetGirlDetailRes.verify|verify} messages. * @param message CSGetGirlDetailRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetGirlDetailRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetGirlDetailRes message, length delimited. Does not implicitly {@link cs.CSGetGirlDetailRes.verify|verify} messages. * @param message CSGetGirlDetailRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetGirlDetailRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetGirlDetailRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetGirlDetailRes * @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.CSGetGirlDetailRes; /** * Decodes a CSGetGirlDetailRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetGirlDetailRes * @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.CSGetGirlDetailRes; /** * Verifies a CSGetGirlDetailRes 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 CSGetGirlDetailRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetGirlDetailRes */ static fromObject(object: { [k: string]: any }): cs.CSGetGirlDetailRes; /** * Creates a plain object from a CSGetGirlDetailRes message. Also converts values to other types if specified. * @param message CSGetGirlDetailRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetGirlDetailRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetGirlDetailRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetGirlDetailRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSUnlockGirlReq. */ interface ICSUnlockGirlReq { /** CSUnlockGirlReq id */ id?: (number|null); } /** Represents a CSUnlockGirlReq. */ class CSUnlockGirlReq implements ICSUnlockGirlReq { /** * Constructs a new CSUnlockGirlReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSUnlockGirlReq); /** CSUnlockGirlReq id. */ id: number; /** * Creates a new CSUnlockGirlReq instance using the specified properties. * @param [properties] Properties to set * @returns CSUnlockGirlReq instance */ static create(properties?: cs.ICSUnlockGirlReq): cs.CSUnlockGirlReq; /** * Encodes the specified CSUnlockGirlReq message. Does not implicitly {@link cs.CSUnlockGirlReq.verify|verify} messages. * @param message CSUnlockGirlReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSUnlockGirlReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSUnlockGirlReq message, length delimited. Does not implicitly {@link cs.CSUnlockGirlReq.verify|verify} messages. * @param message CSUnlockGirlReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSUnlockGirlReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSUnlockGirlReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSUnlockGirlReq * @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.CSUnlockGirlReq; /** * Decodes a CSUnlockGirlReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSUnlockGirlReq * @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.CSUnlockGirlReq; /** * Verifies a CSUnlockGirlReq 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 CSUnlockGirlReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSUnlockGirlReq */ static fromObject(object: { [k: string]: any }): cs.CSUnlockGirlReq; /** * Creates a plain object from a CSUnlockGirlReq message. Also converts values to other types if specified. * @param message CSUnlockGirlReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSUnlockGirlReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSUnlockGirlReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSUnlockGirlReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSUnlockGirlRes. */ interface ICSUnlockGirlRes { /** CSUnlockGirlRes balance */ balance?: (number|Long|null); /** CSUnlockGirlRes vipExpire */ vipExpire?: (number|Long|null); } /** Represents a CSUnlockGirlRes. */ class CSUnlockGirlRes implements ICSUnlockGirlRes { /** * Constructs a new CSUnlockGirlRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSUnlockGirlRes); /** CSUnlockGirlRes balance. */ balance: (number|Long); /** CSUnlockGirlRes vipExpire. */ vipExpire: (number|Long); /** * Creates a new CSUnlockGirlRes instance using the specified properties. * @param [properties] Properties to set * @returns CSUnlockGirlRes instance */ static create(properties?: cs.ICSUnlockGirlRes): cs.CSUnlockGirlRes; /** * Encodes the specified CSUnlockGirlRes message. Does not implicitly {@link cs.CSUnlockGirlRes.verify|verify} messages. * @param message CSUnlockGirlRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSUnlockGirlRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSUnlockGirlRes message, length delimited. Does not implicitly {@link cs.CSUnlockGirlRes.verify|verify} messages. * @param message CSUnlockGirlRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSUnlockGirlRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSUnlockGirlRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSUnlockGirlRes * @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.CSUnlockGirlRes; /** * Decodes a CSUnlockGirlRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSUnlockGirlRes * @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.CSUnlockGirlRes; /** * Verifies a CSUnlockGirlRes 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 CSUnlockGirlRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSUnlockGirlRes */ static fromObject(object: { [k: string]: any }): cs.CSUnlockGirlRes; /** * Creates a plain object from a CSUnlockGirlRes message. Also converts values to other types if specified. * @param message CSUnlockGirlRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSUnlockGirlRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSUnlockGirlRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSUnlockGirlRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** EnmResType enum. */ enum EnmResType { ERT_Image = 0, ERT_Video = 1 } /** Properties of a CSUnlockResourceReq. */ interface ICSUnlockResourceReq { /** CSUnlockResourceReq girlId */ girlId?: (number|null); /** CSUnlockResourceReq resId */ resId?: (number|null); /** CSUnlockResourceReq type */ type?: (number|null); } /** Represents a CSUnlockResourceReq. */ class CSUnlockResourceReq implements ICSUnlockResourceReq { /** * Constructs a new CSUnlockResourceReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSUnlockResourceReq); /** CSUnlockResourceReq girlId. */ girlId: number; /** CSUnlockResourceReq resId. */ resId: number; /** CSUnlockResourceReq type. */ type: number; /** * Creates a new CSUnlockResourceReq instance using the specified properties. * @param [properties] Properties to set * @returns CSUnlockResourceReq instance */ static create(properties?: cs.ICSUnlockResourceReq): cs.CSUnlockResourceReq; /** * Encodes the specified CSUnlockResourceReq message. Does not implicitly {@link cs.CSUnlockResourceReq.verify|verify} messages. * @param message CSUnlockResourceReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSUnlockResourceReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSUnlockResourceReq message, length delimited. Does not implicitly {@link cs.CSUnlockResourceReq.verify|verify} messages. * @param message CSUnlockResourceReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSUnlockResourceReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSUnlockResourceReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSUnlockResourceReq * @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.CSUnlockResourceReq; /** * Decodes a CSUnlockResourceReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSUnlockResourceReq * @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.CSUnlockResourceReq; /** * Verifies a CSUnlockResourceReq 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 CSUnlockResourceReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSUnlockResourceReq */ static fromObject(object: { [k: string]: any }): cs.CSUnlockResourceReq; /** * Creates a plain object from a CSUnlockResourceReq message. Also converts values to other types if specified. * @param message CSUnlockResourceReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSUnlockResourceReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSUnlockResourceReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSUnlockResourceReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSUnlockResourceRes. */ interface ICSUnlockResourceRes { /** CSUnlockResourceRes balance */ balance?: (number|Long|null); /** CSUnlockResourceRes vipExpire */ vipExpire?: (number|Long|null); } /** Represents a CSUnlockResourceRes. */ class CSUnlockResourceRes implements ICSUnlockResourceRes { /** * Constructs a new CSUnlockResourceRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSUnlockResourceRes); /** CSUnlockResourceRes balance. */ balance: (number|Long); /** CSUnlockResourceRes vipExpire. */ vipExpire: (number|Long); /** * Creates a new CSUnlockResourceRes instance using the specified properties. * @param [properties] Properties to set * @returns CSUnlockResourceRes instance */ static create(properties?: cs.ICSUnlockResourceRes): cs.CSUnlockResourceRes; /** * Encodes the specified CSUnlockResourceRes message. Does not implicitly {@link cs.CSUnlockResourceRes.verify|verify} messages. * @param message CSUnlockResourceRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSUnlockResourceRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSUnlockResourceRes message, length delimited. Does not implicitly {@link cs.CSUnlockResourceRes.verify|verify} messages. * @param message CSUnlockResourceRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSUnlockResourceRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSUnlockResourceRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSUnlockResourceRes * @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.CSUnlockResourceRes; /** * Decodes a CSUnlockResourceRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSUnlockResourceRes * @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.CSUnlockResourceRes; /** * Verifies a CSUnlockResourceRes 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 CSUnlockResourceRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSUnlockResourceRes */ static fromObject(object: { [k: string]: any }): cs.CSUnlockResourceRes; /** * Creates a plain object from a CSUnlockResourceRes message. Also converts values to other types if specified. * @param message CSUnlockResourceRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSUnlockResourceRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSUnlockResourceRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSUnlockResourceRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSBuyGoodReq. */ interface ICSBuyGoodReq { /** CSBuyGoodReq goodId */ goodId?: (number|null); /** CSBuyGoodReq girlId */ girlId?: (number|null); } /** Represents a CSBuyGoodReq. */ class CSBuyGoodReq implements ICSBuyGoodReq { /** * Constructs a new CSBuyGoodReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSBuyGoodReq); /** CSBuyGoodReq goodId. */ goodId: number; /** CSBuyGoodReq girlId. */ girlId: number; /** * Creates a new CSBuyGoodReq instance using the specified properties. * @param [properties] Properties to set * @returns CSBuyGoodReq instance */ static create(properties?: cs.ICSBuyGoodReq): cs.CSBuyGoodReq; /** * Encodes the specified CSBuyGoodReq message. Does not implicitly {@link cs.CSBuyGoodReq.verify|verify} messages. * @param message CSBuyGoodReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSBuyGoodReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSBuyGoodReq message, length delimited. Does not implicitly {@link cs.CSBuyGoodReq.verify|verify} messages. * @param message CSBuyGoodReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSBuyGoodReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSBuyGoodReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSBuyGoodReq * @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.CSBuyGoodReq; /** * Decodes a CSBuyGoodReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSBuyGoodReq * @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.CSBuyGoodReq; /** * Verifies a CSBuyGoodReq 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 CSBuyGoodReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSBuyGoodReq */ static fromObject(object: { [k: string]: any }): cs.CSBuyGoodReq; /** * Creates a plain object from a CSBuyGoodReq message. Also converts values to other types if specified. * @param message CSBuyGoodReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSBuyGoodReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSBuyGoodReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSBuyGoodReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSBuyGoodRes. */ interface ICSBuyGoodRes { /** CSBuyGoodRes balance */ balance?: (number|Long|null); /** CSBuyGoodRes vipExpire */ vipExpire?: (number|Long|null); /** CSBuyGoodRes chatRemainCount */ chatRemainCount?: (number|null); } /** Represents a CSBuyGoodRes. */ class CSBuyGoodRes implements ICSBuyGoodRes { /** * Constructs a new CSBuyGoodRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSBuyGoodRes); /** CSBuyGoodRes balance. */ balance: (number|Long); /** CSBuyGoodRes vipExpire. */ vipExpire: (number|Long); /** CSBuyGoodRes chatRemainCount. */ chatRemainCount: number; /** * Creates a new CSBuyGoodRes instance using the specified properties. * @param [properties] Properties to set * @returns CSBuyGoodRes instance */ static create(properties?: cs.ICSBuyGoodRes): cs.CSBuyGoodRes; /** * Encodes the specified CSBuyGoodRes message. Does not implicitly {@link cs.CSBuyGoodRes.verify|verify} messages. * @param message CSBuyGoodRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSBuyGoodRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSBuyGoodRes message, length delimited. Does not implicitly {@link cs.CSBuyGoodRes.verify|verify} messages. * @param message CSBuyGoodRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSBuyGoodRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSBuyGoodRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSBuyGoodRes * @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.CSBuyGoodRes; /** * Decodes a CSBuyGoodRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSBuyGoodRes * @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.CSBuyGoodRes; /** * Verifies a CSBuyGoodRes 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 CSBuyGoodRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSBuyGoodRes */ static fromObject(object: { [k: string]: any }): cs.CSBuyGoodRes; /** * Creates a plain object from a CSBuyGoodRes message. Also converts values to other types if specified. * @param message CSBuyGoodRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSBuyGoodRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSBuyGoodRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSBuyGoodRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** EnmPayType enum. */ enum EnmPayType { EPT_Cash_INR = 0, EPT_WEB3_USD = 1 } /** EnmNetworkType enum. */ enum EnmNetworkType { ENT_TRON = 0, ENT_TON = 1, ENT_ETH = 2, ENT_BEP = 3, ENT_EDS = 4 } /** Properties of a CSCreateOrderReq. */ interface ICSCreateOrderReq { /** CSCreateOrderReq goodId */ goodId?: (number|null); /** CSCreateOrderReq payType */ payType?: (number|null); /** CSCreateOrderReq network */ network?: (number|null); } /** Represents a CSCreateOrderReq. */ class CSCreateOrderReq implements ICSCreateOrderReq { /** * Constructs a new CSCreateOrderReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSCreateOrderReq); /** CSCreateOrderReq goodId. */ goodId: number; /** CSCreateOrderReq payType. */ payType: number; /** CSCreateOrderReq network. */ network: number; /** * Creates a new CSCreateOrderReq instance using the specified properties. * @param [properties] Properties to set * @returns CSCreateOrderReq instance */ static create(properties?: cs.ICSCreateOrderReq): cs.CSCreateOrderReq; /** * Encodes the specified CSCreateOrderReq message. Does not implicitly {@link cs.CSCreateOrderReq.verify|verify} messages. * @param message CSCreateOrderReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSCreateOrderReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSCreateOrderReq message, length delimited. Does not implicitly {@link cs.CSCreateOrderReq.verify|verify} messages. * @param message CSCreateOrderReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSCreateOrderReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSCreateOrderReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSCreateOrderReq * @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.CSCreateOrderReq; /** * Decodes a CSCreateOrderReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSCreateOrderReq * @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.CSCreateOrderReq; /** * Verifies a CSCreateOrderReq 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 CSCreateOrderReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSCreateOrderReq */ static fromObject(object: { [k: string]: any }): cs.CSCreateOrderReq; /** * Creates a plain object from a CSCreateOrderReq message. Also converts values to other types if specified. * @param message CSCreateOrderReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSCreateOrderReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSCreateOrderReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSCreateOrderReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSCreateOrderRes. */ interface ICSCreateOrderRes { /** CSCreateOrderRes payUrl */ payUrl?: (string|null); /** CSCreateOrderRes orderId */ orderId?: (string|null); /** CSCreateOrderRes network */ network?: (number|null); /** CSCreateOrderRes wallet */ wallet?: (string|null); /** CSCreateOrderRes amount */ amount?: (string|null); /** CSCreateOrderRes Expire */ Expire?: (number|null); /** CSCreateOrderRes ExpireUnix */ ExpireUnix?: (number|Long|null); /** CSCreateOrderRes payType */ payType?: (number|null); } /** Represents a CSCreateOrderRes. */ class CSCreateOrderRes implements ICSCreateOrderRes { /** * Constructs a new CSCreateOrderRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSCreateOrderRes); /** CSCreateOrderRes payUrl. */ payUrl: string; /** CSCreateOrderRes orderId. */ orderId: string; /** CSCreateOrderRes network. */ network: number; /** CSCreateOrderRes wallet. */ wallet: string; /** CSCreateOrderRes amount. */ amount: string; /** CSCreateOrderRes Expire. */ Expire: number; /** CSCreateOrderRes ExpireUnix. */ ExpireUnix: (number|Long); /** CSCreateOrderRes payType. */ payType: number; /** * Creates a new CSCreateOrderRes instance using the specified properties. * @param [properties] Properties to set * @returns CSCreateOrderRes instance */ static create(properties?: cs.ICSCreateOrderRes): cs.CSCreateOrderRes; /** * Encodes the specified CSCreateOrderRes message. Does not implicitly {@link cs.CSCreateOrderRes.verify|verify} messages. * @param message CSCreateOrderRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSCreateOrderRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSCreateOrderRes message, length delimited. Does not implicitly {@link cs.CSCreateOrderRes.verify|verify} messages. * @param message CSCreateOrderRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSCreateOrderRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSCreateOrderRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSCreateOrderRes * @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.CSCreateOrderRes; /** * Decodes a CSCreateOrderRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSCreateOrderRes * @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.CSCreateOrderRes; /** * Verifies a CSCreateOrderRes 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 CSCreateOrderRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSCreateOrderRes */ static fromObject(object: { [k: string]: any }): cs.CSCreateOrderRes; /** * Creates a plain object from a CSCreateOrderRes message. Also converts values to other types if specified. * @param message CSCreateOrderRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSCreateOrderRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSCreateOrderRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSCreateOrderRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ 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 balance */ balance?: (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 balance. */ balance: (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 ChatMsg. */ interface IChatMsg { /** ChatMsg msg */ msg?: (string|null); /** ChatMsg isAi */ isAi?: (boolean|null); /** ChatMsg msgId */ msgId?: (string|null); } /** Represents a ChatMsg. */ class ChatMsg implements IChatMsg { /** * Constructs a new ChatMsg. * @param [properties] Properties to set */ constructor(properties?: cs.IChatMsg); /** ChatMsg msg. */ msg: string; /** ChatMsg isAi. */ isAi: boolean; /** ChatMsg msgId. */ msgId: string; /** * Creates a new ChatMsg instance using the specified properties. * @param [properties] Properties to set * @returns ChatMsg instance */ static create(properties?: cs.IChatMsg): cs.ChatMsg; /** * Encodes the specified ChatMsg message. Does not implicitly {@link cs.ChatMsg.verify|verify} messages. * @param message ChatMsg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IChatMsg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ChatMsg message, length delimited. Does not implicitly {@link cs.ChatMsg.verify|verify} messages. * @param message ChatMsg message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IChatMsg, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ChatMsg message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ChatMsg * @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.ChatMsg; /** * Decodes a ChatMsg message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ChatMsg * @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.ChatMsg; /** * Verifies a ChatMsg 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 ChatMsg message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ChatMsg */ static fromObject(object: { [k: string]: any }): cs.ChatMsg; /** * Creates a plain object from a ChatMsg message. Also converts values to other types if specified. * @param message ChatMsg * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.ChatMsg, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ChatMsg to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for ChatMsg * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSChatMsgReq. */ interface ICSChatMsgReq { /** CSChatMsgReq girlId */ girlId?: (number|null); /** CSChatMsgReq msgs */ msgs?: (cs.IChatMsg[]|null); } /** Represents a CSChatMsgReq. */ class CSChatMsgReq implements ICSChatMsgReq { /** * Constructs a new CSChatMsgReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSChatMsgReq); /** CSChatMsgReq girlId. */ girlId: number; /** CSChatMsgReq msgs. */ msgs: cs.IChatMsg[]; /** * Creates a new CSChatMsgReq instance using the specified properties. * @param [properties] Properties to set * @returns CSChatMsgReq instance */ static create(properties?: cs.ICSChatMsgReq): cs.CSChatMsgReq; /** * Encodes the specified CSChatMsgReq message. Does not implicitly {@link cs.CSChatMsgReq.verify|verify} messages. * @param message CSChatMsgReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSChatMsgReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSChatMsgReq message, length delimited. Does not implicitly {@link cs.CSChatMsgReq.verify|verify} messages. * @param message CSChatMsgReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSChatMsgReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSChatMsgReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSChatMsgReq * @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.CSChatMsgReq; /** * Decodes a CSChatMsgReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSChatMsgReq * @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.CSChatMsgReq; /** * Verifies a CSChatMsgReq 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 CSChatMsgReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSChatMsgReq */ static fromObject(object: { [k: string]: any }): cs.CSChatMsgReq; /** * Creates a plain object from a CSChatMsgReq message. Also converts values to other types if specified. * @param message CSChatMsgReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSChatMsgReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSChatMsgReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSChatMsgReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSChatMsgRes. */ interface ICSChatMsgRes { /** CSChatMsgRes chatRemainCount */ chatRemainCount?: (number|null); /** CSChatMsgRes chatTotalCount */ chatTotalCount?: (number|null); } /** Represents a CSChatMsgRes. */ class CSChatMsgRes implements ICSChatMsgRes { /** * Constructs a new CSChatMsgRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSChatMsgRes); /** CSChatMsgRes chatRemainCount. */ chatRemainCount: number; /** CSChatMsgRes chatTotalCount. */ chatTotalCount: number; /** * Creates a new CSChatMsgRes instance using the specified properties. * @param [properties] Properties to set * @returns CSChatMsgRes instance */ static create(properties?: cs.ICSChatMsgRes): cs.CSChatMsgRes; /** * Encodes the specified CSChatMsgRes message. Does not implicitly {@link cs.CSChatMsgRes.verify|verify} messages. * @param message CSChatMsgRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSChatMsgRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSChatMsgRes message, length delimited. Does not implicitly {@link cs.CSChatMsgRes.verify|verify} messages. * @param message CSChatMsgRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSChatMsgRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSChatMsgRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSChatMsgRes * @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.CSChatMsgRes; /** * Decodes a CSChatMsgRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSChatMsgRes * @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.CSChatMsgRes; /** * Verifies a CSChatMsgRes 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 CSChatMsgRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSChatMsgRes */ static fromObject(object: { [k: string]: any }): cs.CSChatMsgRes; /** * Creates a plain object from a CSChatMsgRes message. Also converts values to other types if specified. * @param message CSChatMsgRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSChatMsgRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSChatMsgRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSChatMsgRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetChatMsgReq. */ interface ICSGetChatMsgReq { /** CSGetChatMsgReq page */ page?: (number|null); /** CSGetChatMsgReq limit */ limit?: (number|null); /** CSGetChatMsgReq GirlId */ GirlId?: (number|null); } /** Represents a CSGetChatMsgReq. */ class CSGetChatMsgReq implements ICSGetChatMsgReq { /** * Constructs a new CSGetChatMsgReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetChatMsgReq); /** CSGetChatMsgReq page. */ page: number; /** CSGetChatMsgReq limit. */ limit: number; /** CSGetChatMsgReq GirlId. */ GirlId: number; /** * Creates a new CSGetChatMsgReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetChatMsgReq instance */ static create(properties?: cs.ICSGetChatMsgReq): cs.CSGetChatMsgReq; /** * Encodes the specified CSGetChatMsgReq message. Does not implicitly {@link cs.CSGetChatMsgReq.verify|verify} messages. * @param message CSGetChatMsgReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetChatMsgReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetChatMsgReq message, length delimited. Does not implicitly {@link cs.CSGetChatMsgReq.verify|verify} messages. * @param message CSGetChatMsgReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetChatMsgReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetChatMsgReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetChatMsgReq * @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.CSGetChatMsgReq; /** * Decodes a CSGetChatMsgReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetChatMsgReq * @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.CSGetChatMsgReq; /** * Verifies a CSGetChatMsgReq 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 CSGetChatMsgReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetChatMsgReq */ static fromObject(object: { [k: string]: any }): cs.CSGetChatMsgReq; /** * Creates a plain object from a CSGetChatMsgReq message. Also converts values to other types if specified. * @param message CSGetChatMsgReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetChatMsgReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetChatMsgReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetChatMsgReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetChatMsgRes. */ interface ICSGetChatMsgRes { /** CSGetChatMsgRes msgs */ msgs?: (cs.IChatMsg[]|null); /** CSGetChatMsgRes chatRemainCount */ chatRemainCount?: (number|null); /** CSGetChatMsgRes chatTotalCount */ chatTotalCount?: (number|null); } /** Represents a CSGetChatMsgRes. */ class CSGetChatMsgRes implements ICSGetChatMsgRes { /** * Constructs a new CSGetChatMsgRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetChatMsgRes); /** CSGetChatMsgRes msgs. */ msgs: cs.IChatMsg[]; /** CSGetChatMsgRes chatRemainCount. */ chatRemainCount: number; /** CSGetChatMsgRes chatTotalCount. */ chatTotalCount: number; /** * Creates a new CSGetChatMsgRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetChatMsgRes instance */ static create(properties?: cs.ICSGetChatMsgRes): cs.CSGetChatMsgRes; /** * Encodes the specified CSGetChatMsgRes message. Does not implicitly {@link cs.CSGetChatMsgRes.verify|verify} messages. * @param message CSGetChatMsgRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetChatMsgRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetChatMsgRes message, length delimited. Does not implicitly {@link cs.CSGetChatMsgRes.verify|verify} messages. * @param message CSGetChatMsgRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetChatMsgRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetChatMsgRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetChatMsgRes * @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.CSGetChatMsgRes; /** * Decodes a CSGetChatMsgRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetChatMsgRes * @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.CSGetChatMsgRes; /** * Verifies a CSGetChatMsgRes 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 CSGetChatMsgRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetChatMsgRes */ static fromObject(object: { [k: string]: any }): cs.CSGetChatMsgRes; /** * Creates a plain object from a CSGetChatMsgRes message. Also converts values to other types if specified. * @param message CSGetChatMsgRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetChatMsgRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetChatMsgRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetChatMsgRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetChatRemainCountReq. */ interface ICSGetChatRemainCountReq { /** CSGetChatRemainCountReq id */ id?: (number|null); } /** Represents a CSGetChatRemainCountReq. */ class CSGetChatRemainCountReq implements ICSGetChatRemainCountReq { /** * Constructs a new CSGetChatRemainCountReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetChatRemainCountReq); /** CSGetChatRemainCountReq id. */ id: number; /** * Creates a new CSGetChatRemainCountReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetChatRemainCountReq instance */ static create(properties?: cs.ICSGetChatRemainCountReq): cs.CSGetChatRemainCountReq; /** * Encodes the specified CSGetChatRemainCountReq message. Does not implicitly {@link cs.CSGetChatRemainCountReq.verify|verify} messages. * @param message CSGetChatRemainCountReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetChatRemainCountReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetChatRemainCountReq message, length delimited. Does not implicitly {@link cs.CSGetChatRemainCountReq.verify|verify} messages. * @param message CSGetChatRemainCountReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetChatRemainCountReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetChatRemainCountReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetChatRemainCountReq * @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.CSGetChatRemainCountReq; /** * Decodes a CSGetChatRemainCountReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetChatRemainCountReq * @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.CSGetChatRemainCountReq; /** * Verifies a CSGetChatRemainCountReq 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 CSGetChatRemainCountReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetChatRemainCountReq */ static fromObject(object: { [k: string]: any }): cs.CSGetChatRemainCountReq; /** * Creates a plain object from a CSGetChatRemainCountReq message. Also converts values to other types if specified. * @param message CSGetChatRemainCountReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetChatRemainCountReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetChatRemainCountReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetChatRemainCountReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetChatRemainCountRes. */ interface ICSGetChatRemainCountRes { /** CSGetChatRemainCountRes chatRemainCount */ chatRemainCount?: (number|null); /** CSGetChatRemainCountRes chatTotalCount */ chatTotalCount?: (number|null); } /** Represents a CSGetChatRemainCountRes. */ class CSGetChatRemainCountRes implements ICSGetChatRemainCountRes { /** * Constructs a new CSGetChatRemainCountRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetChatRemainCountRes); /** CSGetChatRemainCountRes chatRemainCount. */ chatRemainCount: number; /** CSGetChatRemainCountRes chatTotalCount. */ chatTotalCount: number; /** * Creates a new CSGetChatRemainCountRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetChatRemainCountRes instance */ static create(properties?: cs.ICSGetChatRemainCountRes): cs.CSGetChatRemainCountRes; /** * Encodes the specified CSGetChatRemainCountRes message. Does not implicitly {@link cs.CSGetChatRemainCountRes.verify|verify} messages. * @param message CSGetChatRemainCountRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetChatRemainCountRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetChatRemainCountRes message, length delimited. Does not implicitly {@link cs.CSGetChatRemainCountRes.verify|verify} messages. * @param message CSGetChatRemainCountRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetChatRemainCountRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetChatRemainCountRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetChatRemainCountRes * @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.CSGetChatRemainCountRes; /** * Decodes a CSGetChatRemainCountRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetChatRemainCountRes * @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.CSGetChatRemainCountRes; /** * Verifies a CSGetChatRemainCountRes 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 CSGetChatRemainCountRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetChatRemainCountRes */ static fromObject(object: { [k: string]: any }): cs.CSGetChatRemainCountRes; /** * Creates a plain object from a CSGetChatRemainCountRes message. Also converts values to other types if specified. * @param message CSGetChatRemainCountRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetChatRemainCountRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetChatRemainCountRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetChatRemainCountRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetResConfigReq. */ interface ICSGetResConfigReq { /** CSGetResConfigReq resName */ resName?: (string|null); } /** Represents a CSGetResConfigReq. */ class CSGetResConfigReq implements ICSGetResConfigReq { /** * Constructs a new CSGetResConfigReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetResConfigReq); /** CSGetResConfigReq resName. */ resName: string; /** * Creates a new CSGetResConfigReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetResConfigReq instance */ static create(properties?: cs.ICSGetResConfigReq): cs.CSGetResConfigReq; /** * Encodes the specified CSGetResConfigReq message. Does not implicitly {@link cs.CSGetResConfigReq.verify|verify} messages. * @param message CSGetResConfigReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetResConfigReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetResConfigReq message, length delimited. Does not implicitly {@link cs.CSGetResConfigReq.verify|verify} messages. * @param message CSGetResConfigReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetResConfigReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetResConfigReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetResConfigReq * @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.CSGetResConfigReq; /** * Decodes a CSGetResConfigReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetResConfigReq * @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.CSGetResConfigReq; /** * Verifies a CSGetResConfigReq 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 CSGetResConfigReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetResConfigReq */ static fromObject(object: { [k: string]: any }): cs.CSGetResConfigReq; /** * Creates a plain object from a CSGetResConfigReq message. Also converts values to other types if specified. * @param message CSGetResConfigReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetResConfigReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetResConfigReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetResConfigReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetResConfigRes. */ interface ICSGetResConfigRes { /** CSGetResConfigRes data */ data?: (string|null); } /** Represents a CSGetResConfigRes. */ class CSGetResConfigRes implements ICSGetResConfigRes { /** * Constructs a new CSGetResConfigRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetResConfigRes); /** CSGetResConfigRes data. */ data: string; /** * Creates a new CSGetResConfigRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetResConfigRes instance */ static create(properties?: cs.ICSGetResConfigRes): cs.CSGetResConfigRes; /** * Encodes the specified CSGetResConfigRes message. Does not implicitly {@link cs.CSGetResConfigRes.verify|verify} messages. * @param message CSGetResConfigRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetResConfigRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetResConfigRes message, length delimited. Does not implicitly {@link cs.CSGetResConfigRes.verify|verify} messages. * @param message CSGetResConfigRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetResConfigRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetResConfigRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetResConfigRes * @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.CSGetResConfigRes; /** * Decodes a CSGetResConfigRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetResConfigRes * @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.CSGetResConfigRes; /** * Verifies a CSGetResConfigRes 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 CSGetResConfigRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetResConfigRes */ static fromObject(object: { [k: string]: any }): cs.CSGetResConfigRes; /** * Creates a plain object from a CSGetResConfigRes message. Also converts values to other types if specified. * @param message CSGetResConfigRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetResConfigRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetResConfigRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetResConfigRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetPurchaseReq. */ interface ICSGetPurchaseReq { } /** Represents a CSGetPurchaseReq. */ class CSGetPurchaseReq implements ICSGetPurchaseReq { /** * Constructs a new CSGetPurchaseReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetPurchaseReq); /** * Creates a new CSGetPurchaseReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetPurchaseReq instance */ static create(properties?: cs.ICSGetPurchaseReq): cs.CSGetPurchaseReq; /** * Encodes the specified CSGetPurchaseReq message. Does not implicitly {@link cs.CSGetPurchaseReq.verify|verify} messages. * @param message CSGetPurchaseReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetPurchaseReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetPurchaseReq message, length delimited. Does not implicitly {@link cs.CSGetPurchaseReq.verify|verify} messages. * @param message CSGetPurchaseReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetPurchaseReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetPurchaseReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetPurchaseReq * @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.CSGetPurchaseReq; /** * Decodes a CSGetPurchaseReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetPurchaseReq * @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.CSGetPurchaseReq; /** * Verifies a CSGetPurchaseReq 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 CSGetPurchaseReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetPurchaseReq */ static fromObject(object: { [k: string]: any }): cs.CSGetPurchaseReq; /** * Creates a plain object from a CSGetPurchaseReq message. Also converts values to other types if specified. * @param message CSGetPurchaseReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetPurchaseReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetPurchaseReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetPurchaseReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetPurchaseRes. */ interface ICSGetPurchaseRes { /** CSGetPurchaseRes items */ items?: (cs.IPurchaseConfig[]|null); } /** Represents a CSGetPurchaseRes. */ class CSGetPurchaseRes implements ICSGetPurchaseRes { /** * Constructs a new CSGetPurchaseRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetPurchaseRes); /** CSGetPurchaseRes items. */ items: cs.IPurchaseConfig[]; /** * Creates a new CSGetPurchaseRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetPurchaseRes instance */ static create(properties?: cs.ICSGetPurchaseRes): cs.CSGetPurchaseRes; /** * Encodes the specified CSGetPurchaseRes message. Does not implicitly {@link cs.CSGetPurchaseRes.verify|verify} messages. * @param message CSGetPurchaseRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetPurchaseRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetPurchaseRes message, length delimited. Does not implicitly {@link cs.CSGetPurchaseRes.verify|verify} messages. * @param message CSGetPurchaseRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetPurchaseRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetPurchaseRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetPurchaseRes * @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.CSGetPurchaseRes; /** * Decodes a CSGetPurchaseRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetPurchaseRes * @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.CSGetPurchaseRes; /** * Verifies a CSGetPurchaseRes 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 CSGetPurchaseRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetPurchaseRes */ static fromObject(object: { [k: string]: any }): cs.CSGetPurchaseRes; /** * Creates a plain object from a CSGetPurchaseRes message. Also converts values to other types if specified. * @param message CSGetPurchaseRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetPurchaseRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetPurchaseRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetPurchaseRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a LastChatData. */ interface ILastChatData { /** LastChatData id */ id?: (number|null); /** LastChatData girl */ girl?: (cs.IGirls|null); /** LastChatData isRelease */ isRelease?: (boolean|null); /** LastChatData star */ star?: (number|null); /** LastChatData chatRemainCount */ chatRemainCount?: (number|null); /** LastChatData chatTotalCount */ chatTotalCount?: (number|null); /** LastChatData unlockTime */ unlockTime?: (number|Long|null); /** LastChatData msgs */ msgs?: (cs.IChatMsg[]|null); } /** Represents a LastChatData. */ class LastChatData implements ILastChatData { /** * Constructs a new LastChatData. * @param [properties] Properties to set */ constructor(properties?: cs.ILastChatData); /** LastChatData id. */ id: number; /** LastChatData girl. */ girl?: (cs.IGirls|null); /** LastChatData isRelease. */ isRelease: boolean; /** LastChatData star. */ star: number; /** LastChatData chatRemainCount. */ chatRemainCount: number; /** LastChatData chatTotalCount. */ chatTotalCount: number; /** LastChatData unlockTime. */ unlockTime: (number|Long); /** LastChatData msgs. */ msgs: cs.IChatMsg[]; /** * Creates a new LastChatData instance using the specified properties. * @param [properties] Properties to set * @returns LastChatData instance */ static create(properties?: cs.ILastChatData): cs.LastChatData; /** * Encodes the specified LastChatData message. Does not implicitly {@link cs.LastChatData.verify|verify} messages. * @param message LastChatData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ILastChatData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified LastChatData message, length delimited. Does not implicitly {@link cs.LastChatData.verify|verify} messages. * @param message LastChatData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ILastChatData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a LastChatData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns LastChatData * @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.LastChatData; /** * Decodes a LastChatData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns LastChatData * @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.LastChatData; /** * Verifies a LastChatData 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 LastChatData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns LastChatData */ static fromObject(object: { [k: string]: any }): cs.LastChatData; /** * Creates a plain object from a LastChatData message. Also converts values to other types if specified. * @param message LastChatData * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.LastChatData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this LastChatData to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for LastChatData * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetLastChatListReq. */ interface ICSGetLastChatListReq { /** CSGetLastChatListReq page */ page?: (number|null); /** CSGetLastChatListReq limit */ limit?: (number|null); } /** Represents a CSGetLastChatListReq. */ class CSGetLastChatListReq implements ICSGetLastChatListReq { /** * Constructs a new CSGetLastChatListReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetLastChatListReq); /** CSGetLastChatListReq page. */ page: number; /** CSGetLastChatListReq limit. */ limit: number; /** * Creates a new CSGetLastChatListReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetLastChatListReq instance */ static create(properties?: cs.ICSGetLastChatListReq): cs.CSGetLastChatListReq; /** * Encodes the specified CSGetLastChatListReq message. Does not implicitly {@link cs.CSGetLastChatListReq.verify|verify} messages. * @param message CSGetLastChatListReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetLastChatListReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetLastChatListReq message, length delimited. Does not implicitly {@link cs.CSGetLastChatListReq.verify|verify} messages. * @param message CSGetLastChatListReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetLastChatListReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetLastChatListReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetLastChatListReq * @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.CSGetLastChatListReq; /** * Decodes a CSGetLastChatListReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetLastChatListReq * @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.CSGetLastChatListReq; /** * Verifies a CSGetLastChatListReq 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 CSGetLastChatListReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetLastChatListReq */ static fromObject(object: { [k: string]: any }): cs.CSGetLastChatListReq; /** * Creates a plain object from a CSGetLastChatListReq message. Also converts values to other types if specified. * @param message CSGetLastChatListReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetLastChatListReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetLastChatListReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetLastChatListReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetLastChatListRes. */ interface ICSGetLastChatListRes { /** CSGetLastChatListRes LastChatList */ LastChatList?: (cs.ILastChatData[]|null); } /** Represents a CSGetLastChatListRes. */ class CSGetLastChatListRes implements ICSGetLastChatListRes { /** * Constructs a new CSGetLastChatListRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetLastChatListRes); /** CSGetLastChatListRes LastChatList. */ LastChatList: cs.ILastChatData[]; /** * Creates a new CSGetLastChatListRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetLastChatListRes instance */ static create(properties?: cs.ICSGetLastChatListRes): cs.CSGetLastChatListRes; /** * Encodes the specified CSGetLastChatListRes message. Does not implicitly {@link cs.CSGetLastChatListRes.verify|verify} messages. * @param message CSGetLastChatListRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetLastChatListRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetLastChatListRes message, length delimited. Does not implicitly {@link cs.CSGetLastChatListRes.verify|verify} messages. * @param message CSGetLastChatListRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetLastChatListRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetLastChatListRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetLastChatListRes * @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.CSGetLastChatListRes; /** * Decodes a CSGetLastChatListRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetLastChatListRes * @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.CSGetLastChatListRes; /** * Verifies a CSGetLastChatListRes 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 CSGetLastChatListRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetLastChatListRes */ static fromObject(object: { [k: string]: any }): cs.CSGetLastChatListRes; /** * Creates a plain object from a CSGetLastChatListRes message. Also converts values to other types if specified. * @param message CSGetLastChatListRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetLastChatListRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetLastChatListRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetLastChatListRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** EnmRankType enum. */ enum EnmRankType { ERT_Day = 0, ERT_Week = 1, ERT_Month = 2, ERT_Total = 3 } /** Properties of a CSGetRankReq. */ interface ICSGetRankReq { /** CSGetRankReq rankType */ rankType?: (number|null); /** CSGetRankReq page */ page?: (number|null); /** CSGetRankReq limit */ limit?: (number|null); } /** Represents a CSGetRankReq. */ class CSGetRankReq implements ICSGetRankReq { /** * Constructs a new CSGetRankReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetRankReq); /** CSGetRankReq rankType. */ rankType: number; /** CSGetRankReq page. */ page: number; /** CSGetRankReq limit. */ limit: number; /** * Creates a new CSGetRankReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetRankReq instance */ static create(properties?: cs.ICSGetRankReq): cs.CSGetRankReq; /** * Encodes the specified CSGetRankReq message. Does not implicitly {@link cs.CSGetRankReq.verify|verify} messages. * @param message CSGetRankReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetRankReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetRankReq message, length delimited. Does not implicitly {@link cs.CSGetRankReq.verify|verify} messages. * @param message CSGetRankReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetRankReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetRankReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetRankReq * @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.CSGetRankReq; /** * Decodes a CSGetRankReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetRankReq * @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.CSGetRankReq; /** * Verifies a CSGetRankReq 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 CSGetRankReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetRankReq */ static fromObject(object: { [k: string]: any }): cs.CSGetRankReq; /** * Creates a plain object from a CSGetRankReq message. Also converts values to other types if specified. * @param message CSGetRankReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetRankReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetRankReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetRankReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetRankRes. */ interface ICSGetRankRes { /** CSGetRankRes girls */ girls?: (cs.IGirlData[]|null); } /** Represents a CSGetRankRes. */ class CSGetRankRes implements ICSGetRankRes { /** * Constructs a new CSGetRankRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetRankRes); /** CSGetRankRes girls. */ girls: cs.IGirlData[]; /** * Creates a new CSGetRankRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetRankRes instance */ static create(properties?: cs.ICSGetRankRes): cs.CSGetRankRes; /** * Encodes the specified CSGetRankRes message. Does not implicitly {@link cs.CSGetRankRes.verify|verify} messages. * @param message CSGetRankRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetRankRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetRankRes message, length delimited. Does not implicitly {@link cs.CSGetRankRes.verify|verify} messages. * @param message CSGetRankRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetRankRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetRankRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetRankRes * @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.CSGetRankRes; /** * Decodes a CSGetRankRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetRankRes * @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.CSGetRankRes; /** * Verifies a CSGetRankRes 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 CSGetRankRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetRankRes */ static fromObject(object: { [k: string]: any }): cs.CSGetRankRes; /** * Creates a plain object from a CSGetRankRes message. Also converts values to other types if specified. * @param message CSGetRankRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetRankRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetRankRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetRankRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSViewGirlReq. */ interface ICSViewGirlReq { /** CSViewGirlReq girlId */ girlId?: (number|null); } /** Represents a CSViewGirlReq. */ class CSViewGirlReq implements ICSViewGirlReq { /** * Constructs a new CSViewGirlReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSViewGirlReq); /** CSViewGirlReq girlId. */ girlId: number; /** * Creates a new CSViewGirlReq instance using the specified properties. * @param [properties] Properties to set * @returns CSViewGirlReq instance */ static create(properties?: cs.ICSViewGirlReq): cs.CSViewGirlReq; /** * Encodes the specified CSViewGirlReq message. Does not implicitly {@link cs.CSViewGirlReq.verify|verify} messages. * @param message CSViewGirlReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSViewGirlReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSViewGirlReq message, length delimited. Does not implicitly {@link cs.CSViewGirlReq.verify|verify} messages. * @param message CSViewGirlReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSViewGirlReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSViewGirlReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSViewGirlReq * @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.CSViewGirlReq; /** * Decodes a CSViewGirlReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSViewGirlReq * @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.CSViewGirlReq; /** * Verifies a CSViewGirlReq 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 CSViewGirlReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSViewGirlReq */ static fromObject(object: { [k: string]: any }): cs.CSViewGirlReq; /** * Creates a plain object from a CSViewGirlReq message. Also converts values to other types if specified. * @param message CSViewGirlReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSViewGirlReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSViewGirlReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSViewGirlReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSViewGirlRes. */ interface ICSViewGirlRes { } /** Represents a CSViewGirlRes. */ class CSViewGirlRes implements ICSViewGirlRes { /** * Constructs a new CSViewGirlRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSViewGirlRes); /** * Creates a new CSViewGirlRes instance using the specified properties. * @param [properties] Properties to set * @returns CSViewGirlRes instance */ static create(properties?: cs.ICSViewGirlRes): cs.CSViewGirlRes; /** * Encodes the specified CSViewGirlRes message. Does not implicitly {@link cs.CSViewGirlRes.verify|verify} messages. * @param message CSViewGirlRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSViewGirlRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSViewGirlRes message, length delimited. Does not implicitly {@link cs.CSViewGirlRes.verify|verify} messages. * @param message CSViewGirlRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSViewGirlRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSViewGirlRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSViewGirlRes * @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.CSViewGirlRes; /** * Decodes a CSViewGirlRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSViewGirlRes * @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.CSViewGirlRes; /** * Verifies a CSViewGirlRes 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 CSViewGirlRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSViewGirlRes */ static fromObject(object: { [k: string]: any }): cs.CSViewGirlRes; /** * Creates a plain object from a CSViewGirlRes message. Also converts values to other types if specified. * @param message CSViewGirlRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSViewGirlRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSViewGirlRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSViewGirlRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSBookmarkReq. */ interface ICSBookmarkReq { /** CSBookmarkReq girlId */ girlId?: (number|null); /** CSBookmarkReq cancel */ cancel?: (boolean|null); } /** Represents a CSBookmarkReq. */ class CSBookmarkReq implements ICSBookmarkReq { /** * Constructs a new CSBookmarkReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSBookmarkReq); /** CSBookmarkReq girlId. */ girlId: number; /** CSBookmarkReq cancel. */ cancel: boolean; /** * Creates a new CSBookmarkReq instance using the specified properties. * @param [properties] Properties to set * @returns CSBookmarkReq instance */ static create(properties?: cs.ICSBookmarkReq): cs.CSBookmarkReq; /** * Encodes the specified CSBookmarkReq message. Does not implicitly {@link cs.CSBookmarkReq.verify|verify} messages. * @param message CSBookmarkReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSBookmarkReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSBookmarkReq message, length delimited. Does not implicitly {@link cs.CSBookmarkReq.verify|verify} messages. * @param message CSBookmarkReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSBookmarkReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSBookmarkReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSBookmarkReq * @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.CSBookmarkReq; /** * Decodes a CSBookmarkReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSBookmarkReq * @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.CSBookmarkReq; /** * Verifies a CSBookmarkReq 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 CSBookmarkReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSBookmarkReq */ static fromObject(object: { [k: string]: any }): cs.CSBookmarkReq; /** * Creates a plain object from a CSBookmarkReq message. Also converts values to other types if specified. * @param message CSBookmarkReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSBookmarkReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSBookmarkReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSBookmarkReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSBookmarkRes. */ interface ICSBookmarkRes { } /** Represents a CSBookmarkRes. */ class CSBookmarkRes implements ICSBookmarkRes { /** * Constructs a new CSBookmarkRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSBookmarkRes); /** * Creates a new CSBookmarkRes instance using the specified properties. * @param [properties] Properties to set * @returns CSBookmarkRes instance */ static create(properties?: cs.ICSBookmarkRes): cs.CSBookmarkRes; /** * Encodes the specified CSBookmarkRes message. Does not implicitly {@link cs.CSBookmarkRes.verify|verify} messages. * @param message CSBookmarkRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSBookmarkRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSBookmarkRes message, length delimited. Does not implicitly {@link cs.CSBookmarkRes.verify|verify} messages. * @param message CSBookmarkRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSBookmarkRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSBookmarkRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSBookmarkRes * @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.CSBookmarkRes; /** * Decodes a CSBookmarkRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSBookmarkRes * @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.CSBookmarkRes; /** * Verifies a CSBookmarkRes 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 CSBookmarkRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSBookmarkRes */ static fromObject(object: { [k: string]: any }): cs.CSBookmarkRes; /** * Creates a plain object from a CSBookmarkRes message. Also converts values to other types if specified. * @param message CSBookmarkRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSBookmarkRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSBookmarkRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSBookmarkRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetBookmarkReq. */ interface ICSGetBookmarkReq { /** CSGetBookmarkReq page */ page?: (number|null); /** CSGetBookmarkReq limit */ limit?: (number|null); } /** Represents a CSGetBookmarkReq. */ class CSGetBookmarkReq implements ICSGetBookmarkReq { /** * Constructs a new CSGetBookmarkReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetBookmarkReq); /** CSGetBookmarkReq page. */ page: number; /** CSGetBookmarkReq limit. */ limit: number; /** * Creates a new CSGetBookmarkReq instance using the specified properties. * @param [properties] Properties to set * @returns CSGetBookmarkReq instance */ static create(properties?: cs.ICSGetBookmarkReq): cs.CSGetBookmarkReq; /** * Encodes the specified CSGetBookmarkReq message. Does not implicitly {@link cs.CSGetBookmarkReq.verify|verify} messages. * @param message CSGetBookmarkReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetBookmarkReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetBookmarkReq message, length delimited. Does not implicitly {@link cs.CSGetBookmarkReq.verify|verify} messages. * @param message CSGetBookmarkReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetBookmarkReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetBookmarkReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetBookmarkReq * @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.CSGetBookmarkReq; /** * Decodes a CSGetBookmarkReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetBookmarkReq * @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.CSGetBookmarkReq; /** * Verifies a CSGetBookmarkReq 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 CSGetBookmarkReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetBookmarkReq */ static fromObject(object: { [k: string]: any }): cs.CSGetBookmarkReq; /** * Creates a plain object from a CSGetBookmarkReq message. Also converts values to other types if specified. * @param message CSGetBookmarkReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetBookmarkReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetBookmarkReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetBookmarkReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSGetBookmarkRes. */ interface ICSGetBookmarkRes { /** CSGetBookmarkRes girls */ girls?: (cs.IGirlData[]|null); } /** Represents a CSGetBookmarkRes. */ class CSGetBookmarkRes implements ICSGetBookmarkRes { /** * Constructs a new CSGetBookmarkRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSGetBookmarkRes); /** CSGetBookmarkRes girls. */ girls: cs.IGirlData[]; /** * Creates a new CSGetBookmarkRes instance using the specified properties. * @param [properties] Properties to set * @returns CSGetBookmarkRes instance */ static create(properties?: cs.ICSGetBookmarkRes): cs.CSGetBookmarkRes; /** * Encodes the specified CSGetBookmarkRes message. Does not implicitly {@link cs.CSGetBookmarkRes.verify|verify} messages. * @param message CSGetBookmarkRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSGetBookmarkRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSGetBookmarkRes message, length delimited. Does not implicitly {@link cs.CSGetBookmarkRes.verify|verify} messages. * @param message CSGetBookmarkRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSGetBookmarkRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSGetBookmarkRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSGetBookmarkRes * @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.CSGetBookmarkRes; /** * Decodes a CSGetBookmarkRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSGetBookmarkRes * @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.CSGetBookmarkRes; /** * Verifies a CSGetBookmarkRes 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 CSGetBookmarkRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSGetBookmarkRes */ static fromObject(object: { [k: string]: any }): cs.CSGetBookmarkRes; /** * Creates a plain object from a CSGetBookmarkRes message. Also converts values to other types if specified. * @param message CSGetBookmarkRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSGetBookmarkRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSGetBookmarkRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSGetBookmarkRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ 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, Category_eighteen = 1, Category_qinfan = 2, Category_luanlun = 3, Category_bdsm = 4, Category_loli = 5, Category_upcomming = 6 } /** PriceType enum. */ enum PriceType { PriceType_free = 0, PriceType_first_time_free = 1, PriceType_pay = 2 } /** VideoEmotion enum. */ enum VideoEmotion { VideoEmotion_calm_down = 0, VideoEmotion_arousal = 1, VideoEmotion_desire = 2, VideoEmotion_passion = 3, VideoEmotion_orgasm = 4 } /** Properties of an AiCharacters. */ interface IAiCharacters { /** AiCharacters id */ id?: (number|null); /** AiCharacters basePrompt */ basePrompt?: (string|null); /** AiCharacters additionPrompt */ additionPrompt?: (string|null); } /** Represents an AiCharacters. */ class AiCharacters implements IAiCharacters { /** * Constructs a new AiCharacters. * @param [properties] Properties to set */ constructor(properties?: cs.IAiCharacters); /** AiCharacters id. */ id: number; /** AiCharacters basePrompt. */ basePrompt: string; /** AiCharacters additionPrompt. */ additionPrompt: string; /** * Creates a new AiCharacters instance using the specified properties. * @param [properties] Properties to set * @returns AiCharacters instance */ static create(properties?: cs.IAiCharacters): cs.AiCharacters; /** * Encodes the specified AiCharacters message. Does not implicitly {@link cs.AiCharacters.verify|verify} messages. * @param message AiCharacters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IAiCharacters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified AiCharacters message, length delimited. Does not implicitly {@link cs.AiCharacters.verify|verify} messages. * @param message AiCharacters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IAiCharacters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an AiCharacters message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns AiCharacters * @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.AiCharacters; /** * Decodes an AiCharacters message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns AiCharacters * @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.AiCharacters; /** * Verifies an AiCharacters 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 an AiCharacters message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns AiCharacters */ static fromObject(object: { [k: string]: any }): cs.AiCharacters; /** * Creates a plain object from an AiCharacters message. Also converts values to other types if specified. * @param message AiCharacters * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.AiCharacters, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this AiCharacters to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for AiCharacters * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Girls. */ interface IGirls { /** Girls id */ id?: (number|null); /** Girls nameKey */ nameKey?: (string|null); /** Girls age */ age?: (string|null); /** Girls category */ category?: (cs.Category|null); /** Girls tagKey */ tagKey?: (string|null); /** Girls priceType */ priceType?: (cs.PriceType|null); /** Girls price */ price?: (number|null); /** Girls vipUnlock */ vipUnlock?: (number|null); /** Girls avatarPath */ avatarPath?: (string|null); /** Girls listAvatarPath */ listAvatarPath?: (string|null); } /** Represents a Girls. */ class Girls implements IGirls { /** * Constructs a new Girls. * @param [properties] Properties to set */ constructor(properties?: cs.IGirls); /** Girls id. */ id: number; /** Girls nameKey. */ nameKey: string; /** Girls age. */ age: string; /** Girls category. */ category: cs.Category; /** Girls tagKey. */ tagKey: string; /** Girls priceType. */ priceType: cs.PriceType; /** Girls price. */ price: number; /** Girls vipUnlock. */ vipUnlock: number; /** Girls avatarPath. */ avatarPath: string; /** Girls listAvatarPath. */ listAvatarPath: string; /** * Creates a new Girls instance using the specified properties. * @param [properties] Properties to set * @returns Girls instance */ static create(properties?: cs.IGirls): cs.Girls; /** * Encodes the specified Girls message. Does not implicitly {@link cs.Girls.verify|verify} messages. * @param message Girls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IGirls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Girls message, length delimited. Does not implicitly {@link cs.Girls.verify|verify} messages. * @param message Girls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IGirls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Girls message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Girls * @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.Girls; /** * Decodes a Girls message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Girls * @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.Girls; /** * Verifies a Girls 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 Girls message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Girls */ static fromObject(object: { [k: string]: any }): cs.Girls; /** * Creates a plain object from a Girls message. Also converts values to other types if specified. * @param message Girls * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.Girls, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Girls to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for Girls * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GirlsDetail. */ interface IGirlsDetail { /** GirlsDetail id */ id?: (number|null); /** GirlsDetail detailDesc */ detailDesc?: (string|null); /** GirlsDetail commercialImages */ commercialImages?: (cs.IPurchaseCommercialImage[]|null); /** GirlsDetail commercialVideos */ commercialVideos?: (cs.IPurchaseCommercialVideo[]|null); } /** Represents a GirlsDetail. */ class GirlsDetail implements IGirlsDetail { /** * Constructs a new GirlsDetail. * @param [properties] Properties to set */ constructor(properties?: cs.IGirlsDetail); /** GirlsDetail id. */ id: number; /** GirlsDetail detailDesc. */ detailDesc: string; /** GirlsDetail commercialImages. */ commercialImages: cs.IPurchaseCommercialImage[]; /** GirlsDetail commercialVideos. */ commercialVideos: cs.IPurchaseCommercialVideo[]; /** * Creates a new GirlsDetail instance using the specified properties. * @param [properties] Properties to set * @returns GirlsDetail instance */ static create(properties?: cs.IGirlsDetail): cs.GirlsDetail; /** * Encodes the specified GirlsDetail message. Does not implicitly {@link cs.GirlsDetail.verify|verify} messages. * @param message GirlsDetail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IGirlsDetail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GirlsDetail message, length delimited. Does not implicitly {@link cs.GirlsDetail.verify|verify} messages. * @param message GirlsDetail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IGirlsDetail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GirlsDetail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GirlsDetail * @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.GirlsDetail; /** * Decodes a GirlsDetail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GirlsDetail * @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.GirlsDetail; /** * Verifies a GirlsDetail 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 GirlsDetail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GirlsDetail */ static fromObject(object: { [k: string]: any }): cs.GirlsDetail; /** * Creates a plain object from a GirlsDetail message. Also converts values to other types if specified. * @param message GirlsDetail * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.GirlsDetail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GirlsDetail to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for GirlsDetail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GlobalConfig. */ interface IGlobalConfig { /** GlobalConfig ApiKey */ ApiKey?: (string|null); /** GlobalConfig emotionApiKey */ emotionApiKey?: (string|null); /** GlobalConfig Model */ Model?: (string|null); /** GlobalConfig Temperature */ Temperature?: (number|null); /** GlobalConfig MaxTokens */ MaxTokens?: (number|null); /** GlobalConfig Timeout */ Timeout?: (number|null); /** GlobalConfig FreeChatTimes */ FreeChatTimes?: (number|null); /** GlobalConfig OnceChatAddScore */ OnceChatAddScore?: (number|null); /** GlobalConfig ScoreExchangeStarLevel */ ScoreExchangeStarLevel?: (number|null); /** GlobalConfig GameName */ GameName?: (string|null); /** GlobalConfig EmotionBasePrompt */ EmotionBasePrompt?: (string|null); /** GlobalConfig girlBasePrompt */ girlBasePrompt?: (string|null); } /** Represents a GlobalConfig. */ class GlobalConfig implements IGlobalConfig { /** * Constructs a new GlobalConfig. * @param [properties] Properties to set */ constructor(properties?: cs.IGlobalConfig); /** GlobalConfig ApiKey. */ ApiKey: string; /** GlobalConfig emotionApiKey. */ emotionApiKey: string; /** GlobalConfig Model. */ Model: string; /** GlobalConfig Temperature. */ Temperature: number; /** GlobalConfig MaxTokens. */ MaxTokens: number; /** GlobalConfig Timeout. */ Timeout: number; /** GlobalConfig FreeChatTimes. */ FreeChatTimes: number; /** GlobalConfig OnceChatAddScore. */ OnceChatAddScore: number; /** GlobalConfig ScoreExchangeStarLevel. */ ScoreExchangeStarLevel: number; /** GlobalConfig GameName. */ GameName: string; /** GlobalConfig EmotionBasePrompt. */ EmotionBasePrompt: string; /** GlobalConfig girlBasePrompt. */ girlBasePrompt: string; /** * Creates a new GlobalConfig instance using the specified properties. * @param [properties] Properties to set * @returns GlobalConfig instance */ static create(properties?: cs.IGlobalConfig): cs.GlobalConfig; /** * Encodes the specified GlobalConfig message. Does not implicitly {@link cs.GlobalConfig.verify|verify} messages. * @param message GlobalConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IGlobalConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GlobalConfig message, length delimited. Does not implicitly {@link cs.GlobalConfig.verify|verify} messages. * @param message GlobalConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IGlobalConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GlobalConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GlobalConfig * @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.GlobalConfig; /** * Decodes a GlobalConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GlobalConfig * @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.GlobalConfig; /** * Verifies a GlobalConfig 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 GlobalConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GlobalConfig */ static fromObject(object: { [k: string]: any }): cs.GlobalConfig; /** * Creates a plain object from a GlobalConfig message. Also converts values to other types if specified. * @param message GlobalConfig * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.GlobalConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GlobalConfig to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for GlobalConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Language. */ interface ILanguage { /** Language key */ key?: (string|null); /** Language languageEn */ languageEn?: (string|null); /** Language languageCn */ languageCn?: (string|null); /** Language languageHi */ languageHi?: (string|null); /** Language languageFr */ languageFr?: (string|null); /** Language languageDe */ languageDe?: (string|null); } /** Represents a Language. */ class Language implements ILanguage { /** * Constructs a new Language. * @param [properties] Properties to set */ constructor(properties?: cs.ILanguage); /** Language key. */ key: string; /** Language languageEn. */ languageEn: string; /** Language languageCn. */ languageCn: string; /** Language languageHi. */ languageHi: string; /** Language languageFr. */ languageFr: string; /** Language languageDe. */ languageDe: string; /** * Creates a new Language instance using the specified properties. * @param [properties] Properties to set * @returns Language instance */ static create(properties?: cs.ILanguage): cs.Language; /** * Encodes the specified Language message. Does not implicitly {@link cs.Language.verify|verify} messages. * @param message Language message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ILanguage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Language message, length delimited. Does not implicitly {@link cs.Language.verify|verify} messages. * @param message Language message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ILanguage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Language message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Language * @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.Language; /** * Decodes a Language message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Language * @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.Language; /** * Verifies a Language 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 Language message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Language */ static fromObject(object: { [k: string]: any }): cs.Language; /** * Creates a plain object from a Language message. Also converts values to other types if specified. * @param message Language * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.Language, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Language to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for Language * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PurchaseCommercialImage. */ interface IPurchaseCommercialImage { /** PurchaseCommercialImage id */ id?: (number|null); /** PurchaseCommercialImage imageType */ imageType?: (number|null); /** PurchaseCommercialImage unlockCounts */ unlockCounts?: (number|null); /** PurchaseCommercialImage imagePrice */ imagePrice?: (number|null); /** PurchaseCommercialImage path */ path?: (string|null); } /** Represents a PurchaseCommercialImage. */ class PurchaseCommercialImage implements IPurchaseCommercialImage { /** * Constructs a new PurchaseCommercialImage. * @param [properties] Properties to set */ constructor(properties?: cs.IPurchaseCommercialImage); /** PurchaseCommercialImage id. */ id: number; /** PurchaseCommercialImage imageType. */ imageType: number; /** PurchaseCommercialImage unlockCounts. */ unlockCounts: number; /** PurchaseCommercialImage imagePrice. */ imagePrice: number; /** PurchaseCommercialImage path. */ path: string; /** * Creates a new PurchaseCommercialImage instance using the specified properties. * @param [properties] Properties to set * @returns PurchaseCommercialImage instance */ static create(properties?: cs.IPurchaseCommercialImage): cs.PurchaseCommercialImage; /** * Encodes the specified PurchaseCommercialImage message. Does not implicitly {@link cs.PurchaseCommercialImage.verify|verify} messages. * @param message PurchaseCommercialImage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IPurchaseCommercialImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PurchaseCommercialImage message, length delimited. Does not implicitly {@link cs.PurchaseCommercialImage.verify|verify} messages. * @param message PurchaseCommercialImage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IPurchaseCommercialImage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PurchaseCommercialImage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PurchaseCommercialImage * @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.PurchaseCommercialImage; /** * Decodes a PurchaseCommercialImage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PurchaseCommercialImage * @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.PurchaseCommercialImage; /** * Verifies a PurchaseCommercialImage 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 PurchaseCommercialImage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PurchaseCommercialImage */ static fromObject(object: { [k: string]: any }): cs.PurchaseCommercialImage; /** * Creates a plain object from a PurchaseCommercialImage message. Also converts values to other types if specified. * @param message PurchaseCommercialImage * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.PurchaseCommercialImage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PurchaseCommercialImage to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for PurchaseCommercialImage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PurchaseCommercialVideo. */ interface IPurchaseCommercialVideo { /** PurchaseCommercialVideo id */ id?: (number|null); /** PurchaseCommercialVideo path */ path?: (string|null); /** PurchaseCommercialVideo emotion */ emotion?: (cs.VideoEmotion|null); /** PurchaseCommercialVideo videoPrice */ videoPrice?: (number|null); } /** Represents a PurchaseCommercialVideo. */ class PurchaseCommercialVideo implements IPurchaseCommercialVideo { /** * Constructs a new PurchaseCommercialVideo. * @param [properties] Properties to set */ constructor(properties?: cs.IPurchaseCommercialVideo); /** PurchaseCommercialVideo id. */ id: number; /** PurchaseCommercialVideo path. */ path: string; /** PurchaseCommercialVideo emotion. */ emotion: cs.VideoEmotion; /** PurchaseCommercialVideo videoPrice. */ videoPrice: number; /** * Creates a new PurchaseCommercialVideo instance using the specified properties. * @param [properties] Properties to set * @returns PurchaseCommercialVideo instance */ static create(properties?: cs.IPurchaseCommercialVideo): cs.PurchaseCommercialVideo; /** * Encodes the specified PurchaseCommercialVideo message. Does not implicitly {@link cs.PurchaseCommercialVideo.verify|verify} messages. * @param message PurchaseCommercialVideo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IPurchaseCommercialVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PurchaseCommercialVideo message, length delimited. Does not implicitly {@link cs.PurchaseCommercialVideo.verify|verify} messages. * @param message PurchaseCommercialVideo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IPurchaseCommercialVideo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PurchaseCommercialVideo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PurchaseCommercialVideo * @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.PurchaseCommercialVideo; /** * Decodes a PurchaseCommercialVideo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PurchaseCommercialVideo * @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.PurchaseCommercialVideo; /** * Verifies a PurchaseCommercialVideo 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 PurchaseCommercialVideo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PurchaseCommercialVideo */ static fromObject(object: { [k: string]: any }): cs.PurchaseCommercialVideo; /** * Creates a plain object from a PurchaseCommercialVideo message. Also converts values to other types if specified. * @param message PurchaseCommercialVideo * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.PurchaseCommercialVideo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PurchaseCommercialVideo to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for PurchaseCommercialVideo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PurchaseConfig. */ interface IPurchaseConfig { /** PurchaseConfig id */ id?: (number|null); /** PurchaseConfig name */ name?: (string|null); /** PurchaseConfig count */ count?: (number|null); /** PurchaseConfig price */ price?: (number|null); /** PurchaseConfig usd */ usd?: (number|null); } /** Represents a PurchaseConfig. */ class PurchaseConfig implements IPurchaseConfig { /** * Constructs a new PurchaseConfig. * @param [properties] Properties to set */ constructor(properties?: cs.IPurchaseConfig); /** PurchaseConfig id. */ id: number; /** PurchaseConfig name. */ name: string; /** PurchaseConfig count. */ count: number; /** PurchaseConfig price. */ price: number; /** PurchaseConfig usd. */ usd: number; /** * Creates a new PurchaseConfig instance using the specified properties. * @param [properties] Properties to set * @returns PurchaseConfig instance */ static create(properties?: cs.IPurchaseConfig): cs.PurchaseConfig; /** * Encodes the specified PurchaseConfig message. Does not implicitly {@link cs.PurchaseConfig.verify|verify} messages. * @param message PurchaseConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IPurchaseConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PurchaseConfig message, length delimited. Does not implicitly {@link cs.PurchaseConfig.verify|verify} messages. * @param message PurchaseConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IPurchaseConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PurchaseConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PurchaseConfig * @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.PurchaseConfig; /** * Decodes a PurchaseConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PurchaseConfig * @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.PurchaseConfig; /** * Verifies a PurchaseConfig 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 PurchaseConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PurchaseConfig */ static fromObject(object: { [k: string]: any }): cs.PurchaseConfig; /** * Creates a plain object from a PurchaseConfig message. Also converts values to other types if specified. * @param message PurchaseConfig * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.PurchaseConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PurchaseConfig to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for PurchaseConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a Themes. */ interface IThemes { /** Themes id */ id?: (number|null); /** Themes key */ key?: (string|null); /** Themes name */ name?: (string|null); /** Themes category */ category?: (cs.Category|null); /** Themes isRelease */ isRelease?: (boolean|null); /** Themes path */ path?: (string|null); } /** Represents a Themes. */ class Themes implements IThemes { /** * Constructs a new Themes. * @param [properties] Properties to set */ constructor(properties?: cs.IThemes); /** Themes id. */ id: number; /** Themes key. */ key: string; /** Themes name. */ name: string; /** Themes category. */ category: cs.Category; /** Themes isRelease. */ isRelease: boolean; /** Themes path. */ path: string; /** * Creates a new Themes instance using the specified properties. * @param [properties] Properties to set * @returns Themes instance */ static create(properties?: cs.IThemes): cs.Themes; /** * Encodes the specified Themes message. Does not implicitly {@link cs.Themes.verify|verify} messages. * @param message Themes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.IThemes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Themes message, length delimited. Does not implicitly {@link cs.Themes.verify|verify} messages. * @param message Themes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.IThemes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Themes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns Themes * @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.Themes; /** * Decodes a Themes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns Themes * @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.Themes; /** * Verifies a Themes 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 Themes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Themes */ static fromObject(object: { [k: string]: any }): cs.Themes; /** * Creates a plain object from a Themes message. Also converts values to other types if specified. * @param message Themes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.Themes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Themes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for Themes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a vector2. */ interface Ivector2 { /** vector2 x */ x?: (number|null); /** vector2 y */ y?: (number|null); } /** Represents a vector2. */ class vector2 implements Ivector2 { /** * Constructs a new vector2. * @param [properties] Properties to set */ constructor(properties?: cs.Ivector2); /** vector2 x. */ x: number; /** vector2 y. */ y: number; /** * Creates a new vector2 instance using the specified properties. * @param [properties] Properties to set * @returns vector2 instance */ static create(properties?: cs.Ivector2): cs.vector2; /** * Encodes the specified vector2 message. Does not implicitly {@link cs.vector2.verify|verify} messages. * @param message vector2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.Ivector2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified vector2 message, length delimited. Does not implicitly {@link cs.vector2.verify|verify} messages. * @param message vector2 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.Ivector2, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a vector2 message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns vector2 * @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.vector2; /** * Decodes a vector2 message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns vector2 * @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.vector2; /** * Verifies a vector2 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 vector2 message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns vector2 */ static fromObject(object: { [k: string]: any }): cs.vector2; /** * Creates a plain object from a vector2 message. Also converts values to other types if specified. * @param message vector2 * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.vector2, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this vector2 to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for vector2 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a vector3. */ interface Ivector3 { /** vector3 x */ x?: (number|null); /** vector3 y */ y?: (number|null); /** vector3 z */ z?: (number|null); } /** Represents a vector3. */ class vector3 implements Ivector3 { /** * Constructs a new vector3. * @param [properties] Properties to set */ constructor(properties?: cs.Ivector3); /** vector3 x. */ x: number; /** vector3 y. */ y: number; /** vector3 z. */ z: number; /** * Creates a new vector3 instance using the specified properties. * @param [properties] Properties to set * @returns vector3 instance */ static create(properties?: cs.Ivector3): cs.vector3; /** * Encodes the specified vector3 message. Does not implicitly {@link cs.vector3.verify|verify} messages. * @param message vector3 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.Ivector3, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified vector3 message, length delimited. Does not implicitly {@link cs.vector3.verify|verify} messages. * @param message vector3 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.Ivector3, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a vector3 message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns vector3 * @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.vector3; /** * Decodes a vector3 message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns vector3 * @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.vector3; /** * Verifies a vector3 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 vector3 message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns vector3 */ static fromObject(object: { [k: string]: any }): cs.vector3; /** * Creates a plain object from a vector3 message. Also converts values to other types if specified. * @param message vector3 * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.vector3, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this vector3 to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for vector3 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a vector4. */ interface Ivector4 { /** vector4 x */ x?: (number|null); /** vector4 y */ y?: (number|null); /** vector4 z */ z?: (number|null); /** vector4 w */ w?: (number|null); } /** Represents a vector4. */ class vector4 implements Ivector4 { /** * Constructs a new vector4. * @param [properties] Properties to set */ constructor(properties?: cs.Ivector4); /** vector4 x. */ x: number; /** vector4 y. */ y: number; /** vector4 z. */ z: number; /** vector4 w. */ w: number; /** * Creates a new vector4 instance using the specified properties. * @param [properties] Properties to set * @returns vector4 instance */ static create(properties?: cs.Ivector4): cs.vector4; /** * Encodes the specified vector4 message. Does not implicitly {@link cs.vector4.verify|verify} messages. * @param message vector4 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.Ivector4, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified vector4 message, length delimited. Does not implicitly {@link cs.vector4.verify|verify} messages. * @param message vector4 message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.Ivector4, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a vector4 message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns vector4 * @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.vector4; /** * Decodes a vector4 message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns vector4 * @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.vector4; /** * Verifies a vector4 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 vector4 message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns vector4 */ static fromObject(object: { [k: string]: any }): cs.vector4; /** * Creates a plain object from a vector4 message. Also converts values to other types if specified. * @param message vector4 * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.vector4, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this vector4 to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for vector4 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbLanguage. */ interface ITbLanguage { /** TbLanguage items */ items?: (cs.ILanguage[]|null); } /** Represents a TbLanguage. */ class TbLanguage implements ITbLanguage { /** * Constructs a new TbLanguage. * @param [properties] Properties to set */ constructor(properties?: cs.ITbLanguage); /** TbLanguage items. */ items: cs.ILanguage[]; /** * Creates a new TbLanguage instance using the specified properties. * @param [properties] Properties to set * @returns TbLanguage instance */ static create(properties?: cs.ITbLanguage): cs.TbLanguage; /** * Encodes the specified TbLanguage message. Does not implicitly {@link cs.TbLanguage.verify|verify} messages. * @param message TbLanguage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbLanguage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbLanguage message, length delimited. Does not implicitly {@link cs.TbLanguage.verify|verify} messages. * @param message TbLanguage message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbLanguage, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbLanguage message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbLanguage * @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.TbLanguage; /** * Decodes a TbLanguage message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbLanguage * @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.TbLanguage; /** * Verifies a TbLanguage 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 TbLanguage message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbLanguage */ static fromObject(object: { [k: string]: any }): cs.TbLanguage; /** * Creates a plain object from a TbLanguage message. Also converts values to other types if specified. * @param message TbLanguage * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbLanguage, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbLanguage to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbLanguage * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbGirls. */ interface ITbGirls { /** TbGirls items */ items?: (cs.IGirls[]|null); } /** Represents a TbGirls. */ class TbGirls implements ITbGirls { /** * Constructs a new TbGirls. * @param [properties] Properties to set */ constructor(properties?: cs.ITbGirls); /** TbGirls items. */ items: cs.IGirls[]; /** * Creates a new TbGirls instance using the specified properties. * @param [properties] Properties to set * @returns TbGirls instance */ static create(properties?: cs.ITbGirls): cs.TbGirls; /** * Encodes the specified TbGirls message. Does not implicitly {@link cs.TbGirls.verify|verify} messages. * @param message TbGirls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbGirls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbGirls message, length delimited. Does not implicitly {@link cs.TbGirls.verify|verify} messages. * @param message TbGirls message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbGirls, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbGirls message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbGirls * @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.TbGirls; /** * Decodes a TbGirls message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbGirls * @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.TbGirls; /** * Verifies a TbGirls 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 TbGirls message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbGirls */ static fromObject(object: { [k: string]: any }): cs.TbGirls; /** * Creates a plain object from a TbGirls message. Also converts values to other types if specified. * @param message TbGirls * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbGirls, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbGirls to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbGirls * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbGirlsDetail. */ interface ITbGirlsDetail { /** TbGirlsDetail items */ items?: (cs.IGirlsDetail[]|null); } /** Represents a TbGirlsDetail. */ class TbGirlsDetail implements ITbGirlsDetail { /** * Constructs a new TbGirlsDetail. * @param [properties] Properties to set */ constructor(properties?: cs.ITbGirlsDetail); /** TbGirlsDetail items. */ items: cs.IGirlsDetail[]; /** * Creates a new TbGirlsDetail instance using the specified properties. * @param [properties] Properties to set * @returns TbGirlsDetail instance */ static create(properties?: cs.ITbGirlsDetail): cs.TbGirlsDetail; /** * Encodes the specified TbGirlsDetail message. Does not implicitly {@link cs.TbGirlsDetail.verify|verify} messages. * @param message TbGirlsDetail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbGirlsDetail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbGirlsDetail message, length delimited. Does not implicitly {@link cs.TbGirlsDetail.verify|verify} messages. * @param message TbGirlsDetail message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbGirlsDetail, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbGirlsDetail message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbGirlsDetail * @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.TbGirlsDetail; /** * Decodes a TbGirlsDetail message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbGirlsDetail * @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.TbGirlsDetail; /** * Verifies a TbGirlsDetail 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 TbGirlsDetail message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbGirlsDetail */ static fromObject(object: { [k: string]: any }): cs.TbGirlsDetail; /** * Creates a plain object from a TbGirlsDetail message. Also converts values to other types if specified. * @param message TbGirlsDetail * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbGirlsDetail, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbGirlsDetail to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbGirlsDetail * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbThemes. */ interface ITbThemes { /** TbThemes items */ items?: (cs.IThemes[]|null); } /** Represents a TbThemes. */ class TbThemes implements ITbThemes { /** * Constructs a new TbThemes. * @param [properties] Properties to set */ constructor(properties?: cs.ITbThemes); /** TbThemes items. */ items: cs.IThemes[]; /** * Creates a new TbThemes instance using the specified properties. * @param [properties] Properties to set * @returns TbThemes instance */ static create(properties?: cs.ITbThemes): cs.TbThemes; /** * Encodes the specified TbThemes message. Does not implicitly {@link cs.TbThemes.verify|verify} messages. * @param message TbThemes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbThemes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbThemes message, length delimited. Does not implicitly {@link cs.TbThemes.verify|verify} messages. * @param message TbThemes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbThemes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbThemes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbThemes * @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.TbThemes; /** * Decodes a TbThemes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbThemes * @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.TbThemes; /** * Verifies a TbThemes 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 TbThemes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbThemes */ static fromObject(object: { [k: string]: any }): cs.TbThemes; /** * Creates a plain object from a TbThemes message. Also converts values to other types if specified. * @param message TbThemes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbThemes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbThemes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbThemes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbAiCharacters. */ interface ITbAiCharacters { /** TbAiCharacters items */ items?: (cs.IAiCharacters[]|null); } /** Represents a TbAiCharacters. */ class TbAiCharacters implements ITbAiCharacters { /** * Constructs a new TbAiCharacters. * @param [properties] Properties to set */ constructor(properties?: cs.ITbAiCharacters); /** TbAiCharacters items. */ items: cs.IAiCharacters[]; /** * Creates a new TbAiCharacters instance using the specified properties. * @param [properties] Properties to set * @returns TbAiCharacters instance */ static create(properties?: cs.ITbAiCharacters): cs.TbAiCharacters; /** * Encodes the specified TbAiCharacters message. Does not implicitly {@link cs.TbAiCharacters.verify|verify} messages. * @param message TbAiCharacters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbAiCharacters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbAiCharacters message, length delimited. Does not implicitly {@link cs.TbAiCharacters.verify|verify} messages. * @param message TbAiCharacters message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbAiCharacters, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbAiCharacters message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbAiCharacters * @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.TbAiCharacters; /** * Decodes a TbAiCharacters message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbAiCharacters * @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.TbAiCharacters; /** * Verifies a TbAiCharacters 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 TbAiCharacters message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbAiCharacters */ static fromObject(object: { [k: string]: any }): cs.TbAiCharacters; /** * Creates a plain object from a TbAiCharacters message. Also converts values to other types if specified. * @param message TbAiCharacters * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbAiCharacters, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbAiCharacters to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbAiCharacters * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbGlobalConfig. */ interface ITbGlobalConfig { /** TbGlobalConfig items */ items?: (cs.IGlobalConfig[]|null); } /** Represents a TbGlobalConfig. */ class TbGlobalConfig implements ITbGlobalConfig { /** * Constructs a new TbGlobalConfig. * @param [properties] Properties to set */ constructor(properties?: cs.ITbGlobalConfig); /** TbGlobalConfig items. */ items: cs.IGlobalConfig[]; /** * Creates a new TbGlobalConfig instance using the specified properties. * @param [properties] Properties to set * @returns TbGlobalConfig instance */ static create(properties?: cs.ITbGlobalConfig): cs.TbGlobalConfig; /** * Encodes the specified TbGlobalConfig message. Does not implicitly {@link cs.TbGlobalConfig.verify|verify} messages. * @param message TbGlobalConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbGlobalConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbGlobalConfig message, length delimited. Does not implicitly {@link cs.TbGlobalConfig.verify|verify} messages. * @param message TbGlobalConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbGlobalConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbGlobalConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbGlobalConfig * @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.TbGlobalConfig; /** * Decodes a TbGlobalConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbGlobalConfig * @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.TbGlobalConfig; /** * Verifies a TbGlobalConfig 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 TbGlobalConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbGlobalConfig */ static fromObject(object: { [k: string]: any }): cs.TbGlobalConfig; /** * Creates a plain object from a TbGlobalConfig message. Also converts values to other types if specified. * @param message TbGlobalConfig * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbGlobalConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbGlobalConfig to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbGlobalConfig * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a TbPurchaseConfig. */ interface ITbPurchaseConfig { /** TbPurchaseConfig items */ items?: (cs.IPurchaseConfig[]|null); } /** Represents a TbPurchaseConfig. */ class TbPurchaseConfig implements ITbPurchaseConfig { /** * Constructs a new TbPurchaseConfig. * @param [properties] Properties to set */ constructor(properties?: cs.ITbPurchaseConfig); /** TbPurchaseConfig items. */ items: cs.IPurchaseConfig[]; /** * Creates a new TbPurchaseConfig instance using the specified properties. * @param [properties] Properties to set * @returns TbPurchaseConfig instance */ static create(properties?: cs.ITbPurchaseConfig): cs.TbPurchaseConfig; /** * Encodes the specified TbPurchaseConfig message. Does not implicitly {@link cs.TbPurchaseConfig.verify|verify} messages. * @param message TbPurchaseConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ITbPurchaseConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TbPurchaseConfig message, length delimited. Does not implicitly {@link cs.TbPurchaseConfig.verify|verify} messages. * @param message TbPurchaseConfig message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ITbPurchaseConfig, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TbPurchaseConfig message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns TbPurchaseConfig * @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.TbPurchaseConfig; /** * Decodes a TbPurchaseConfig message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns TbPurchaseConfig * @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.TbPurchaseConfig; /** * Verifies a TbPurchaseConfig 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 TbPurchaseConfig message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TbPurchaseConfig */ static fromObject(object: { [k: string]: any }): cs.TbPurchaseConfig; /** * Creates a plain object from a TbPurchaseConfig message. Also converts values to other types if specified. * @param message TbPurchaseConfig * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.TbPurchaseConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TbPurchaseConfig to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for TbPurchaseConfig * @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 { /** CSLoginReq platType */ platType?: (string|null); /** CSLoginReq userId */ userId?: (string|null); /** CSLoginReq device */ device?: (string|null); /** CSLoginReq os */ os?: (number|null); } /** Represents a CSLoginReq. */ class CSLoginReq implements ICSLoginReq { /** * Constructs a new CSLoginReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSLoginReq); /** CSLoginReq platType. */ platType: string; /** CSLoginReq userId. */ userId: string; /** CSLoginReq device. */ device: string; /** CSLoginReq os. */ os: number; /** * Creates a new CSLoginReq instance using the specified properties. * @param [properties] Properties to set * @returns CSLoginReq instance */ static create(properties?: cs.ICSLoginReq): cs.CSLoginReq; /** * Encodes the specified CSLoginReq message. Does not implicitly {@link cs.CSLoginReq.verify|verify} messages. * @param message CSLoginReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSLoginReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSLoginReq message, length delimited. Does not implicitly {@link cs.CSLoginReq.verify|verify} messages. * @param message CSLoginReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSLoginReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSLoginReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSLoginReq * @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.CSLoginReq; /** * Decodes a CSLoginReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSLoginReq * @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.CSLoginReq; /** * Verifies a CSLoginReq 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 CSLoginReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSLoginReq */ static fromObject(object: { [k: string]: any }): cs.CSLoginReq; /** * Creates a plain object from a CSLoginReq message. Also converts values to other types if specified. * @param message CSLoginReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSLoginReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSLoginReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSLoginReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSLoginRes. */ interface ICSLoginRes { /** CSLoginRes name */ name?: (string|null); /** CSLoginRes token */ token?: (string|null); /** CSLoginRes refreshToken */ refreshToken?: (string|null); /** CSLoginRes expire */ expire?: (number|Long|null); /** CSLoginRes accId */ accId?: (string|null); /** CSLoginRes cdn */ cdn?: (string|null); } /** Represents a CSLoginRes. */ class CSLoginRes implements ICSLoginRes { /** * Constructs a new CSLoginRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSLoginRes); /** CSLoginRes name. */ name: string; /** CSLoginRes token. */ token: string; /** CSLoginRes refreshToken. */ refreshToken: string; /** CSLoginRes expire. */ expire: (number|Long); /** CSLoginRes accId. */ accId: string; /** CSLoginRes cdn. */ cdn: string; /** * Creates a new CSLoginRes instance using the specified properties. * @param [properties] Properties to set * @returns CSLoginRes instance */ static create(properties?: cs.ICSLoginRes): cs.CSLoginRes; /** * Encodes the specified CSLoginRes message. Does not implicitly {@link cs.CSLoginRes.verify|verify} messages. * @param message CSLoginRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSLoginRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSLoginRes message, length delimited. Does not implicitly {@link cs.CSLoginRes.verify|verify} messages. * @param message CSLoginRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSLoginRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSLoginRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSLoginRes * @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.CSLoginRes; /** * Decodes a CSLoginRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSLoginRes * @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.CSLoginRes; /** * Verifies a CSLoginRes 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 CSLoginRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSLoginRes */ static fromObject(object: { [k: string]: any }): cs.CSLoginRes; /** * Creates a plain object from a CSLoginRes message. Also converts values to other types if specified. * @param message CSLoginRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSLoginRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSLoginRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSLoginRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSMyInfoReq. */ interface ICSMyInfoReq { } /** Represents a CSMyInfoReq. */ class CSMyInfoReq implements ICSMyInfoReq { /** * Constructs a new CSMyInfoReq. * @param [properties] Properties to set */ constructor(properties?: cs.ICSMyInfoReq); /** * Creates a new CSMyInfoReq instance using the specified properties. * @param [properties] Properties to set * @returns CSMyInfoReq instance */ static create(properties?: cs.ICSMyInfoReq): cs.CSMyInfoReq; /** * Encodes the specified CSMyInfoReq message. Does not implicitly {@link cs.CSMyInfoReq.verify|verify} messages. * @param message CSMyInfoReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSMyInfoReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSMyInfoReq message, length delimited. Does not implicitly {@link cs.CSMyInfoReq.verify|verify} messages. * @param message CSMyInfoReq message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSMyInfoReq, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSMyInfoReq message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSMyInfoReq * @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.CSMyInfoReq; /** * Decodes a CSMyInfoReq message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSMyInfoReq * @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.CSMyInfoReq; /** * Verifies a CSMyInfoReq 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 CSMyInfoReq message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSMyInfoReq */ static fromObject(object: { [k: string]: any }): cs.CSMyInfoReq; /** * Creates a plain object from a CSMyInfoReq message. Also converts values to other types if specified. * @param message CSMyInfoReq * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSMyInfoReq, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSMyInfoReq to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSMyInfoReq * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a CSMyInfoRes. */ interface ICSMyInfoRes { /** CSMyInfoRes balance */ balance?: (number|Long|null); /** CSMyInfoRes vipExpire */ vipExpire?: (number|Long|null); } /** Represents a CSMyInfoRes. */ class CSMyInfoRes implements ICSMyInfoRes { /** * Constructs a new CSMyInfoRes. * @param [properties] Properties to set */ constructor(properties?: cs.ICSMyInfoRes); /** CSMyInfoRes balance. */ balance: (number|Long); /** CSMyInfoRes vipExpire. */ vipExpire: (number|Long); /** * Creates a new CSMyInfoRes instance using the specified properties. * @param [properties] Properties to set * @returns CSMyInfoRes instance */ static create(properties?: cs.ICSMyInfoRes): cs.CSMyInfoRes; /** * Encodes the specified CSMyInfoRes message. Does not implicitly {@link cs.CSMyInfoRes.verify|verify} messages. * @param message CSMyInfoRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encode(message: cs.ICSMyInfoRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CSMyInfoRes message, length delimited. Does not implicitly {@link cs.CSMyInfoRes.verify|verify} messages. * @param message CSMyInfoRes message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ static encodeDelimited(message: cs.ICSMyInfoRes, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CSMyInfoRes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CSMyInfoRes * @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.CSMyInfoRes; /** * Decodes a CSMyInfoRes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CSMyInfoRes * @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.CSMyInfoRes; /** * Verifies a CSMyInfoRes 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 CSMyInfoRes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CSMyInfoRes */ static fromObject(object: { [k: string]: any }): cs.CSMyInfoRes; /** * Creates a plain object from a CSMyInfoRes message. Also converts values to other types if specified. * @param message CSMyInfoRes * @param [options] Conversion options * @returns Plain object */ static toObject(message: cs.CSMyInfoRes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CSMyInfoRes to JSON. * @returns JSON object */ toJSON(): { [k: string]: any }; /** * Gets the default type url for CSMyInfoRes * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ static getTypeUrl(typeUrlPrefix?: string): string; } /** EnmRetCode enum. */ enum EnmRetCode { SUCCESS = 0, GenJWTFailed = 5000, Insufficient = 5001, InvalidArg = 5002, InvalidSign = 5003, JsonFormat = 5004, MySQL = 5005, NotRegist = 5006, NotResConfig = 5007, Rate_Limited = 5008, Redis = 5009, Request_Too_More = 5010, RMGOrder_Code = 5011, RMGOrder_Http = 5012, RMGOrder_MaxQuery = 5013, RMGOrder_NotFound = 5014, TokenExpire = 5015, TokenInvalid = 5016, Web3Order_NotFound = 5017, Web3Order_Timeout = 5018 } } } export default proto;