2409 lines
88 KiB
TypeScript
2409 lines
88 KiB
TypeScript
|
|
|
|
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 GirlBrief. */
|
|
interface IGirlBrief {
|
|
|
|
/** GirlBrief id */
|
|
id?: (number|null);
|
|
|
|
/** GirlBrief name */
|
|
name?: (string|null);
|
|
|
|
/** GirlBrief age */
|
|
age?: (number|null);
|
|
|
|
/** GirlBrief tagKey */
|
|
tagKey?: (string|null);
|
|
|
|
/** GirlBrief priceType */
|
|
priceType?: (number|null);
|
|
|
|
/** GirlBrief price */
|
|
price?: (number|Long|null);
|
|
|
|
/** GirlBrief avatar */
|
|
avatar?: (string|null);
|
|
|
|
/** GirlBrief star */
|
|
star?: (number|null);
|
|
}
|
|
|
|
/** Represents a GirlBrief. */
|
|
class GirlBrief implements IGirlBrief {
|
|
|
|
/**
|
|
* Constructs a new GirlBrief.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IGirlBrief);
|
|
|
|
/** GirlBrief id. */
|
|
id: number;
|
|
|
|
/** GirlBrief name. */
|
|
name: string;
|
|
|
|
/** GirlBrief age. */
|
|
age: number;
|
|
|
|
/** GirlBrief tagKey. */
|
|
tagKey: string;
|
|
|
|
/** GirlBrief priceType. */
|
|
priceType: number;
|
|
|
|
/** GirlBrief price. */
|
|
price: (number|Long);
|
|
|
|
/** GirlBrief avatar. */
|
|
avatar: string;
|
|
|
|
/** GirlBrief star. */
|
|
star: number;
|
|
|
|
/**
|
|
* Creates a new GirlBrief instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns GirlBrief instance
|
|
*/
|
|
static create(properties?: cs.IGirlBrief): cs.GirlBrief;
|
|
|
|
/**
|
|
* Encodes the specified GirlBrief message. Does not implicitly {@link cs.GirlBrief.verify|verify} messages.
|
|
* @param message GirlBrief message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IGirlBrief, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified GirlBrief message, length delimited. Does not implicitly {@link cs.GirlBrief.verify|verify} messages.
|
|
* @param message GirlBrief message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IGirlBrief, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a GirlBrief message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns GirlBrief
|
|
* @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.GirlBrief;
|
|
|
|
/**
|
|
* Decodes a GirlBrief message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns GirlBrief
|
|
* @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.GirlBrief;
|
|
|
|
/**
|
|
* Verifies a GirlBrief 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 GirlBrief message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns GirlBrief
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.GirlBrief;
|
|
|
|
/**
|
|
* Creates a plain object from a GirlBrief message. Also converts values to other types if specified.
|
|
* @param message GirlBrief
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.GirlBrief, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this GirlBrief to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for GirlBrief
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a GirlDetail. */
|
|
interface IGirlDetail {
|
|
|
|
/** GirlDetail brief */
|
|
brief?: (cs.IGirlBrief|null);
|
|
|
|
/** GirlDetail desc */
|
|
desc?: (string|null);
|
|
|
|
/** GirlDetail pics */
|
|
pics?: (string[]|null);
|
|
}
|
|
|
|
/** Represents a GirlDetail. */
|
|
class GirlDetail implements IGirlDetail {
|
|
|
|
/**
|
|
* Constructs a new GirlDetail.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IGirlDetail);
|
|
|
|
/** GirlDetail brief. */
|
|
brief?: (cs.IGirlBrief|null);
|
|
|
|
/** GirlDetail desc. */
|
|
desc: string;
|
|
|
|
/** GirlDetail pics. */
|
|
pics: string[];
|
|
|
|
/**
|
|
* Creates a new GirlDetail instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns GirlDetail instance
|
|
*/
|
|
static create(properties?: cs.IGirlDetail): cs.GirlDetail;
|
|
|
|
/**
|
|
* Encodes the specified GirlDetail message. Does not implicitly {@link cs.GirlDetail.verify|verify} messages.
|
|
* @param message GirlDetail message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IGirlDetail, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified GirlDetail message, length delimited. Does not implicitly {@link cs.GirlDetail.verify|verify} messages.
|
|
* @param message GirlDetail message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IGirlDetail, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a GirlDetail message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns GirlDetail
|
|
* @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.GirlDetail;
|
|
|
|
/**
|
|
* Decodes a GirlDetail message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns GirlDetail
|
|
* @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.GirlDetail;
|
|
|
|
/**
|
|
* Verifies a GirlDetail 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 GirlDetail message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns GirlDetail
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.GirlDetail;
|
|
|
|
/**
|
|
* Creates a plain object from a GirlDetail message. Also converts values to other types if specified.
|
|
* @param message GirlDetail
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.GirlDetail, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this GirlDetail to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for GirlDetail
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** 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 girls */
|
|
girls?: (cs.IGirlBrief[]|null);
|
|
}
|
|
|
|
/** Represents a CSDailyRecommendRes. */
|
|
class CSDailyRecommendRes implements ICSDailyRecommendRes {
|
|
|
|
/**
|
|
* Constructs a new CSDailyRecommendRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSDailyRecommendRes);
|
|
|
|
/** CSDailyRecommendRes girls. */
|
|
girls: cs.IGirlBrief[];
|
|
|
|
/**
|
|
* 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 HallTheme. */
|
|
interface IHallTheme {
|
|
|
|
/** HallTheme id */
|
|
id?: (number|null);
|
|
|
|
/** HallTheme key */
|
|
key?: (string|null);
|
|
|
|
/** HallTheme name */
|
|
name?: (string|null);
|
|
|
|
/** HallTheme category */
|
|
category?: (number|null);
|
|
|
|
/** HallTheme isLock */
|
|
isLock?: (boolean|null);
|
|
|
|
/** HallTheme path */
|
|
path?: (string|null);
|
|
}
|
|
|
|
/** Represents a HallTheme. */
|
|
class HallTheme implements IHallTheme {
|
|
|
|
/**
|
|
* Constructs a new HallTheme.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IHallTheme);
|
|
|
|
/** HallTheme id. */
|
|
id: number;
|
|
|
|
/** HallTheme key. */
|
|
key: string;
|
|
|
|
/** HallTheme name. */
|
|
name: string;
|
|
|
|
/** HallTheme category. */
|
|
category: number;
|
|
|
|
/** HallTheme isLock. */
|
|
isLock: boolean;
|
|
|
|
/** HallTheme path. */
|
|
path: string;
|
|
|
|
/**
|
|
* Creates a new HallTheme instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns HallTheme instance
|
|
*/
|
|
static create(properties?: cs.IHallTheme): cs.HallTheme;
|
|
|
|
/**
|
|
* Encodes the specified HallTheme message. Does not implicitly {@link cs.HallTheme.verify|verify} messages.
|
|
* @param message HallTheme message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IHallTheme, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified HallTheme message, length delimited. Does not implicitly {@link cs.HallTheme.verify|verify} messages.
|
|
* @param message HallTheme message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IHallTheme, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a HallTheme message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns HallTheme
|
|
* @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.HallTheme;
|
|
|
|
/**
|
|
* Decodes a HallTheme message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns HallTheme
|
|
* @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.HallTheme;
|
|
|
|
/**
|
|
* Verifies a HallTheme 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 HallTheme message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns HallTheme
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.HallTheme;
|
|
|
|
/**
|
|
* Creates a plain object from a HallTheme message. Also converts values to other types if specified.
|
|
* @param message HallTheme
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.HallTheme, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this HallTheme to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for HallTheme
|
|
* @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.IHallTheme[]|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.IHallTheme[];
|
|
|
|
/**
|
|
* 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 CSGetGirlListReq. */
|
|
interface ICSGetGirlListReq {
|
|
|
|
/** CSGetGirlListReq category */
|
|
category?: (string|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: string;
|
|
|
|
/** 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.IGirlBrief[]|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.IGirlBrief[];
|
|
|
|
/**
|
|
* 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 detail */
|
|
detail?: (cs.IGirlDetail|null);
|
|
}
|
|
|
|
/** Represents a CSGetGirlDetailRes. */
|
|
class CSGetGirlDetailRes implements ICSGetGirlDetailRes {
|
|
|
|
/**
|
|
* Constructs a new CSGetGirlDetailRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSGetGirlDetailRes);
|
|
|
|
/** CSGetGirlDetailRes detail. */
|
|
detail?: (cs.IGirlDetail|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 Diamond. */
|
|
interface IDiamond {
|
|
|
|
/** Diamond id */
|
|
id?: (number|null);
|
|
|
|
/** Diamond name */
|
|
name?: (string|null);
|
|
|
|
/** Diamond price */
|
|
price?: (string|null);
|
|
|
|
/** Diamond diamonCount */
|
|
diamonCount?: (number|null);
|
|
}
|
|
|
|
/** Represents a Diamond. */
|
|
class Diamond implements IDiamond {
|
|
|
|
/**
|
|
* Constructs a new Diamond.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IDiamond);
|
|
|
|
/** Diamond id. */
|
|
id: number;
|
|
|
|
/** Diamond name. */
|
|
name: string;
|
|
|
|
/** Diamond price. */
|
|
price: string;
|
|
|
|
/** Diamond diamonCount. */
|
|
diamonCount: number;
|
|
|
|
/**
|
|
* Creates a new Diamond instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Diamond instance
|
|
*/
|
|
static create(properties?: cs.IDiamond): cs.Diamond;
|
|
|
|
/**
|
|
* Encodes the specified Diamond message. Does not implicitly {@link cs.Diamond.verify|verify} messages.
|
|
* @param message Diamond message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IDiamond, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Diamond message, length delimited. Does not implicitly {@link cs.Diamond.verify|verify} messages.
|
|
* @param message Diamond message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IDiamond, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a Diamond message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Diamond
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Diamond;
|
|
|
|
/**
|
|
* Decodes a Diamond message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Diamond
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Diamond;
|
|
|
|
/**
|
|
* Verifies a Diamond message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a Diamond message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Diamond
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.Diamond;
|
|
|
|
/**
|
|
* Creates a plain object from a Diamond message. Also converts values to other types if specified.
|
|
* @param message Diamond
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.Diamond, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Diamond to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Diamond
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a Vip. */
|
|
interface IVip {
|
|
|
|
/** Vip id */
|
|
id?: (number|null);
|
|
|
|
/** Vip name */
|
|
name?: (string|null);
|
|
|
|
/** Vip desc */
|
|
desc?: (string|null);
|
|
|
|
/** Vip price */
|
|
price?: (string|null);
|
|
}
|
|
|
|
/** Represents a Vip. */
|
|
class Vip implements IVip {
|
|
|
|
/**
|
|
* Constructs a new Vip.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IVip);
|
|
|
|
/** Vip id. */
|
|
id: number;
|
|
|
|
/** Vip name. */
|
|
name: string;
|
|
|
|
/** Vip desc. */
|
|
desc: string;
|
|
|
|
/** Vip price. */
|
|
price: string;
|
|
|
|
/**
|
|
* Creates a new Vip instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Vip instance
|
|
*/
|
|
static create(properties?: cs.IVip): cs.Vip;
|
|
|
|
/**
|
|
* Encodes the specified Vip message. Does not implicitly {@link cs.Vip.verify|verify} messages.
|
|
* @param message Vip message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IVip, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Vip message, length delimited. Does not implicitly {@link cs.Vip.verify|verify} messages.
|
|
* @param message Vip message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IVip, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a Vip message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Vip
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Vip;
|
|
|
|
/**
|
|
* Decodes a Vip message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Vip
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Vip;
|
|
|
|
/**
|
|
* Verifies a Vip message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a Vip message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Vip
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.Vip;
|
|
|
|
/**
|
|
* Creates a plain object from a Vip message. Also converts values to other types if specified.
|
|
* @param message Vip
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.Vip, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Vip to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Vip
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSGetShopReq. */
|
|
interface ICSGetShopReq {
|
|
}
|
|
|
|
/** Represents a CSGetShopReq. */
|
|
class CSGetShopReq implements ICSGetShopReq {
|
|
|
|
/**
|
|
* Constructs a new CSGetShopReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSGetShopReq);
|
|
|
|
/**
|
|
* Creates a new CSGetShopReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSGetShopReq instance
|
|
*/
|
|
static create(properties?: cs.ICSGetShopReq): cs.CSGetShopReq;
|
|
|
|
/**
|
|
* Encodes the specified CSGetShopReq message. Does not implicitly {@link cs.CSGetShopReq.verify|verify} messages.
|
|
* @param message CSGetShopReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSGetShopReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSGetShopReq message, length delimited. Does not implicitly {@link cs.CSGetShopReq.verify|verify} messages.
|
|
* @param message CSGetShopReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSGetShopReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSGetShopReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSGetShopReq
|
|
* @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.CSGetShopReq;
|
|
|
|
/**
|
|
* Decodes a CSGetShopReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSGetShopReq
|
|
* @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.CSGetShopReq;
|
|
|
|
/**
|
|
* Verifies a CSGetShopReq 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 CSGetShopReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSGetShopReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSGetShopReq;
|
|
|
|
/**
|
|
* Creates a plain object from a CSGetShopReq message. Also converts values to other types if specified.
|
|
* @param message CSGetShopReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSGetShopReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSGetShopReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSGetShopReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSGetShopRes. */
|
|
interface ICSGetShopRes {
|
|
|
|
/** CSGetShopRes diamonds */
|
|
diamonds?: (cs.IDiamond[]|null);
|
|
|
|
/** CSGetShopRes vips */
|
|
vips?: (cs.IVip[]|null);
|
|
}
|
|
|
|
/** Represents a CSGetShopRes. */
|
|
class CSGetShopRes implements ICSGetShopRes {
|
|
|
|
/**
|
|
* Constructs a new CSGetShopRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSGetShopRes);
|
|
|
|
/** CSGetShopRes diamonds. */
|
|
diamonds: cs.IDiamond[];
|
|
|
|
/** CSGetShopRes vips. */
|
|
vips: cs.IVip[];
|
|
|
|
/**
|
|
* Creates a new CSGetShopRes instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSGetShopRes instance
|
|
*/
|
|
static create(properties?: cs.ICSGetShopRes): cs.CSGetShopRes;
|
|
|
|
/**
|
|
* Encodes the specified CSGetShopRes message. Does not implicitly {@link cs.CSGetShopRes.verify|verify} messages.
|
|
* @param message CSGetShopRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSGetShopRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSGetShopRes message, length delimited. Does not implicitly {@link cs.CSGetShopRes.verify|verify} messages.
|
|
* @param message CSGetShopRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSGetShopRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSGetShopRes message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSGetShopRes
|
|
* @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.CSGetShopRes;
|
|
|
|
/**
|
|
* Decodes a CSGetShopRes message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSGetShopRes
|
|
* @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.CSGetShopRes;
|
|
|
|
/**
|
|
* Verifies a CSGetShopRes 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 CSGetShopRes message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSGetShopRes
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSGetShopRes;
|
|
|
|
/**
|
|
* Creates a plain object from a CSGetShopRes message. Also converts values to other types if specified.
|
|
* @param message CSGetShopRes
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSGetShopRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSGetShopRes to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSGetShopRes
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSBuyChatReq. */
|
|
interface ICSBuyChatReq {
|
|
|
|
/** CSBuyChatReq girlId */
|
|
girlId?: (number|null);
|
|
|
|
/** CSBuyChatReq times */
|
|
times?: (number|null);
|
|
}
|
|
|
|
/** Represents a CSBuyChatReq. */
|
|
class CSBuyChatReq implements ICSBuyChatReq {
|
|
|
|
/**
|
|
* Constructs a new CSBuyChatReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSBuyChatReq);
|
|
|
|
/** CSBuyChatReq girlId. */
|
|
girlId: number;
|
|
|
|
/** CSBuyChatReq times. */
|
|
times: number;
|
|
|
|
/**
|
|
* Creates a new CSBuyChatReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSBuyChatReq instance
|
|
*/
|
|
static create(properties?: cs.ICSBuyChatReq): cs.CSBuyChatReq;
|
|
|
|
/**
|
|
* Encodes the specified CSBuyChatReq message. Does not implicitly {@link cs.CSBuyChatReq.verify|verify} messages.
|
|
* @param message CSBuyChatReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSBuyChatReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSBuyChatReq message, length delimited. Does not implicitly {@link cs.CSBuyChatReq.verify|verify} messages.
|
|
* @param message CSBuyChatReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSBuyChatReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSBuyChatReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSBuyChatReq
|
|
* @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.CSBuyChatReq;
|
|
|
|
/**
|
|
* Decodes a CSBuyChatReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSBuyChatReq
|
|
* @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.CSBuyChatReq;
|
|
|
|
/**
|
|
* Verifies a CSBuyChatReq 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 CSBuyChatReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSBuyChatReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSBuyChatReq;
|
|
|
|
/**
|
|
* Creates a plain object from a CSBuyChatReq message. Also converts values to other types if specified.
|
|
* @param message CSBuyChatReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSBuyChatReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSBuyChatReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSBuyChatReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSBuyChatRes. */
|
|
interface ICSBuyChatRes {
|
|
}
|
|
|
|
/** Represents a CSBuyChatRes. */
|
|
class CSBuyChatRes implements ICSBuyChatRes {
|
|
|
|
/**
|
|
* Constructs a new CSBuyChatRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSBuyChatRes);
|
|
|
|
/**
|
|
* Creates a new CSBuyChatRes instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSBuyChatRes instance
|
|
*/
|
|
static create(properties?: cs.ICSBuyChatRes): cs.CSBuyChatRes;
|
|
|
|
/**
|
|
* Encodes the specified CSBuyChatRes message. Does not implicitly {@link cs.CSBuyChatRes.verify|verify} messages.
|
|
* @param message CSBuyChatRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSBuyChatRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSBuyChatRes message, length delimited. Does not implicitly {@link cs.CSBuyChatRes.verify|verify} messages.
|
|
* @param message CSBuyChatRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSBuyChatRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSBuyChatRes message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSBuyChatRes
|
|
* @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.CSBuyChatRes;
|
|
|
|
/**
|
|
* Decodes a CSBuyChatRes message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSBuyChatRes
|
|
* @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.CSBuyChatRes;
|
|
|
|
/**
|
|
* Verifies a CSBuyChatRes 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 CSBuyChatRes message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSBuyChatRes
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSBuyChatRes;
|
|
|
|
/**
|
|
* Creates a plain object from a CSBuyChatRes message. Also converts values to other types if specified.
|
|
* @param message CSBuyChatRes
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSBuyChatRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSBuyChatRes to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSBuyChatRes
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSCreateOrderReq. */
|
|
interface ICSCreateOrderReq {
|
|
|
|
/** CSCreateOrderReq id */
|
|
id?: (number|null);
|
|
}
|
|
|
|
/** Represents a CSCreateOrderReq. */
|
|
class CSCreateOrderReq implements ICSCreateOrderReq {
|
|
|
|
/**
|
|
* Constructs a new CSCreateOrderReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSCreateOrderReq);
|
|
|
|
/** CSCreateOrderReq id. */
|
|
id: 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);
|
|
}
|
|
|
|
/** Represents a CSCreateOrderRes. */
|
|
class CSCreateOrderRes implements ICSCreateOrderRes {
|
|
|
|
/**
|
|
* Constructs a new CSCreateOrderRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSCreateOrderRes);
|
|
|
|
/** CSCreateOrderRes payUrl. */
|
|
payUrl: string;
|
|
|
|
/**
|
|
* 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 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);
|
|
}
|
|
|
|
/** 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);
|
|
|
|
/**
|
|
* 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 diamond */
|
|
diamond?: (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 diamond. */
|
|
diamond: (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 = 5010,
|
|
InvalidArg = 5013,
|
|
MySQL = 5027,
|
|
TokenExpire = 5046,
|
|
TokenInvalid = 5047
|
|
}
|
|
}
|
|
|
|
}
|
|
export default proto;
|