3372 lines
124 KiB
TypeScript
3372 lines
124 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);
|
|
|
|
/** GirlBrief category */
|
|
category?: (number|null);
|
|
|
|
/** GirlBrief listAvatarPath */
|
|
listAvatarPath?: (string|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;
|
|
|
|
/** GirlBrief category. */
|
|
category: number;
|
|
|
|
/** GirlBrief listAvatarPath. */
|
|
listAvatarPath: string;
|
|
|
|
/**
|
|
* 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 GirlPhoto. */
|
|
interface IGirlPhoto {
|
|
|
|
/** GirlPhoto pic */
|
|
pic?: (string|null);
|
|
|
|
/** GirlPhoto isRelease */
|
|
isRelease?: (boolean|null);
|
|
|
|
/** GirlPhoto price */
|
|
price?: (number|null);
|
|
}
|
|
|
|
/** Represents a GirlPhoto. */
|
|
class GirlPhoto implements IGirlPhoto {
|
|
|
|
/**
|
|
* Constructs a new GirlPhoto.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IGirlPhoto);
|
|
|
|
/** GirlPhoto pic. */
|
|
pic: string;
|
|
|
|
/** GirlPhoto isRelease. */
|
|
isRelease: boolean;
|
|
|
|
/** GirlPhoto price. */
|
|
price: number;
|
|
|
|
/**
|
|
* Creates a new GirlPhoto instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns GirlPhoto instance
|
|
*/
|
|
static create(properties?: cs.IGirlPhoto): cs.GirlPhoto;
|
|
|
|
/**
|
|
* Encodes the specified GirlPhoto message. Does not implicitly {@link cs.GirlPhoto.verify|verify} messages.
|
|
* @param message GirlPhoto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IGirlPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified GirlPhoto message, length delimited. Does not implicitly {@link cs.GirlPhoto.verify|verify} messages.
|
|
* @param message GirlPhoto message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IGirlPhoto, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a GirlPhoto message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns GirlPhoto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.GirlPhoto;
|
|
|
|
/**
|
|
* Decodes a GirlPhoto message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns GirlPhoto
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.GirlPhoto;
|
|
|
|
/**
|
|
* Verifies a GirlPhoto message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a GirlPhoto message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns GirlPhoto
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.GirlPhoto;
|
|
|
|
/**
|
|
* Creates a plain object from a GirlPhoto message. Also converts values to other types if specified.
|
|
* @param message GirlPhoto
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.GirlPhoto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this GirlPhoto to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for GirlPhoto
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a PurchaseCommercialImage. */
|
|
interface IPurchaseCommercialImage {
|
|
|
|
/** PurchaseCommercialImage imageType */
|
|
imageType?: (number|null);
|
|
|
|
/** PurchaseCommercialImage imagePrice */
|
|
imagePrice?: (number|null);
|
|
|
|
/** PurchaseCommercialImage path */
|
|
path?: (string|null);
|
|
|
|
/** PurchaseCommercialImage isRelease */
|
|
isRelease?: (boolean|null);
|
|
}
|
|
|
|
/** Represents a PurchaseCommercialImage. */
|
|
class PurchaseCommercialImage implements IPurchaseCommercialImage {
|
|
|
|
/**
|
|
* Constructs a new PurchaseCommercialImage.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IPurchaseCommercialImage);
|
|
|
|
/** PurchaseCommercialImage imageType. */
|
|
imageType: number;
|
|
|
|
/** PurchaseCommercialImage imagePrice. */
|
|
imagePrice: number;
|
|
|
|
/** PurchaseCommercialImage path. */
|
|
path: string;
|
|
|
|
/** PurchaseCommercialImage isRelease. */
|
|
isRelease: boolean;
|
|
|
|
/**
|
|
* 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 path */
|
|
path?: (string|null);
|
|
|
|
/** PurchaseCommercialVideo emotion */
|
|
emotion?: (number|null);
|
|
|
|
/** PurchaseCommercialVideo videoPrice */
|
|
videoPrice?: (number|null);
|
|
|
|
/** PurchaseCommercialVideo isRelease */
|
|
isRelease?: (boolean|null);
|
|
}
|
|
|
|
/** Represents a PurchaseCommercialVideo. */
|
|
class PurchaseCommercialVideo implements IPurchaseCommercialVideo {
|
|
|
|
/**
|
|
* Constructs a new PurchaseCommercialVideo.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IPurchaseCommercialVideo);
|
|
|
|
/** PurchaseCommercialVideo path. */
|
|
path: string;
|
|
|
|
/** PurchaseCommercialVideo emotion. */
|
|
emotion: number;
|
|
|
|
/** PurchaseCommercialVideo videoPrice. */
|
|
videoPrice: number;
|
|
|
|
/** PurchaseCommercialVideo isRelease. */
|
|
isRelease: boolean;
|
|
|
|
/**
|
|
* 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 GirlDetail. */
|
|
interface IGirlDetail {
|
|
|
|
/** GirlDetail brief */
|
|
brief?: (cs.IGirlBrief|null);
|
|
|
|
/** GirlDetail desc */
|
|
desc?: (string|null);
|
|
|
|
/** GirlDetail isRelease */
|
|
isRelease?: (boolean|null);
|
|
|
|
/** GirlDetail chatCount */
|
|
chatCount?: (number|null);
|
|
|
|
/** GirlDetail images */
|
|
images?: (cs.IPurchaseCommercialImage[]|null);
|
|
|
|
/** GirlDetail videos */
|
|
videos?: (cs.IPurchaseCommercialVideo[]|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 isRelease. */
|
|
isRelease: boolean;
|
|
|
|
/** GirlDetail chatCount. */
|
|
chatCount: number;
|
|
|
|
/** GirlDetail images. */
|
|
images: cs.IPurchaseCommercialImage[];
|
|
|
|
/** GirlDetail videos. */
|
|
videos: cs.IPurchaseCommercialVideo[];
|
|
|
|
/**
|
|
* 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 isRelease */
|
|
isRelease?: (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 isRelease. */
|
|
isRelease: 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?: (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.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 Good. */
|
|
interface IGood {
|
|
|
|
/** Good id */
|
|
id?: (number|null);
|
|
|
|
/** Good name */
|
|
name?: (string|null);
|
|
|
|
/** Good desc */
|
|
desc?: (string|null);
|
|
|
|
/** Good price */
|
|
price?: (string|null);
|
|
|
|
/** Good count */
|
|
count?: (number|null);
|
|
}
|
|
|
|
/** Represents a Good. */
|
|
class Good implements IGood {
|
|
|
|
/**
|
|
* Constructs a new Good.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.IGood);
|
|
|
|
/** Good id. */
|
|
id: number;
|
|
|
|
/** Good name. */
|
|
name: string;
|
|
|
|
/** Good desc. */
|
|
desc: string;
|
|
|
|
/** Good price. */
|
|
price: string;
|
|
|
|
/** Good count. */
|
|
count: number;
|
|
|
|
/**
|
|
* Creates a new Good instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns Good instance
|
|
*/
|
|
static create(properties?: cs.IGood): cs.Good;
|
|
|
|
/**
|
|
* Encodes the specified Good message. Does not implicitly {@link cs.Good.verify|verify} messages.
|
|
* @param message Good message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.IGood, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified Good message, length delimited. Does not implicitly {@link cs.Good.verify|verify} messages.
|
|
* @param message Good message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.IGood, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a Good message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns Good
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.Good;
|
|
|
|
/**
|
|
* Decodes a Good message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns Good
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.Good;
|
|
|
|
/**
|
|
* Verifies a Good message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a Good message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns Good
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.Good;
|
|
|
|
/**
|
|
* Creates a plain object from a Good message. Also converts values to other types if specified.
|
|
* @param message Good
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.Good, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this Good to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for Good
|
|
* @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 Goods */
|
|
Goods?: (cs.IGood[]|null);
|
|
}
|
|
|
|
/** Represents a CSGetShopRes. */
|
|
class CSGetShopRes implements ICSGetShopRes {
|
|
|
|
/**
|
|
* Constructs a new CSGetShopRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSGetShopRes);
|
|
|
|
/** CSGetShopRes Goods. */
|
|
Goods: cs.IGood[];
|
|
|
|
/**
|
|
* 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);
|
|
|
|
/** CSCreateOrderRes orderId */
|
|
orderId?: (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;
|
|
|
|
/** CSCreateOrderRes orderId. */
|
|
orderId: 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 CSQueryOrderReq. */
|
|
interface ICSQueryOrderReq {
|
|
|
|
/** CSQueryOrderReq orderId */
|
|
orderId?: (string|null);
|
|
}
|
|
|
|
/** Represents a CSQueryOrderReq. */
|
|
class CSQueryOrderReq implements ICSQueryOrderReq {
|
|
|
|
/**
|
|
* Constructs a new CSQueryOrderReq.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSQueryOrderReq);
|
|
|
|
/** CSQueryOrderReq orderId. */
|
|
orderId: string;
|
|
|
|
/**
|
|
* Creates a new CSQueryOrderReq instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSQueryOrderReq instance
|
|
*/
|
|
static create(properties?: cs.ICSQueryOrderReq): cs.CSQueryOrderReq;
|
|
|
|
/**
|
|
* Encodes the specified CSQueryOrderReq message. Does not implicitly {@link cs.CSQueryOrderReq.verify|verify} messages.
|
|
* @param message CSQueryOrderReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSQueryOrderReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSQueryOrderReq message, length delimited. Does not implicitly {@link cs.CSQueryOrderReq.verify|verify} messages.
|
|
* @param message CSQueryOrderReq message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSQueryOrderReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSQueryOrderReq message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSQueryOrderReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSQueryOrderReq;
|
|
|
|
/**
|
|
* Decodes a CSQueryOrderReq message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSQueryOrderReq
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSQueryOrderReq;
|
|
|
|
/**
|
|
* Verifies a CSQueryOrderReq message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a CSQueryOrderReq message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSQueryOrderReq
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSQueryOrderReq;
|
|
|
|
/**
|
|
* Creates a plain object from a CSQueryOrderReq message. Also converts values to other types if specified.
|
|
* @param message CSQueryOrderReq
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSQueryOrderReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSQueryOrderReq to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSQueryOrderReq
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a CSQueryOrderRes. */
|
|
interface ICSQueryOrderRes {
|
|
|
|
/** CSQueryOrderRes status */
|
|
status?: (number|null);
|
|
|
|
/** CSQueryOrderRes retCode */
|
|
retCode?: (number|null);
|
|
|
|
/** CSQueryOrderRes diamond */
|
|
diamond?: (number|Long|null);
|
|
|
|
/** CSQueryOrderRes vipExpire */
|
|
vipExpire?: (number|Long|null);
|
|
}
|
|
|
|
/** Represents a CSQueryOrderRes. */
|
|
class CSQueryOrderRes implements ICSQueryOrderRes {
|
|
|
|
/**
|
|
* Constructs a new CSQueryOrderRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSQueryOrderRes);
|
|
|
|
/** CSQueryOrderRes status. */
|
|
status: number;
|
|
|
|
/** CSQueryOrderRes retCode. */
|
|
retCode: number;
|
|
|
|
/** CSQueryOrderRes diamond. */
|
|
diamond: (number|Long);
|
|
|
|
/** CSQueryOrderRes vipExpire. */
|
|
vipExpire: (number|Long);
|
|
|
|
/**
|
|
* Creates a new CSQueryOrderRes instance using the specified properties.
|
|
* @param [properties] Properties to set
|
|
* @returns CSQueryOrderRes instance
|
|
*/
|
|
static create(properties?: cs.ICSQueryOrderRes): cs.CSQueryOrderRes;
|
|
|
|
/**
|
|
* Encodes the specified CSQueryOrderRes message. Does not implicitly {@link cs.CSQueryOrderRes.verify|verify} messages.
|
|
* @param message CSQueryOrderRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encode(message: cs.ICSQueryOrderRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Encodes the specified CSQueryOrderRes message, length delimited. Does not implicitly {@link cs.CSQueryOrderRes.verify|verify} messages.
|
|
* @param message CSQueryOrderRes message or plain object to encode
|
|
* @param [writer] Writer to encode to
|
|
* @returns Writer
|
|
*/
|
|
static encodeDelimited(message: cs.ICSQueryOrderRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
|
|
/**
|
|
* Decodes a CSQueryOrderRes message from the specified reader or buffer.
|
|
* @param reader Reader or buffer to decode from
|
|
* @param [length] Message length if known beforehand
|
|
* @returns CSQueryOrderRes
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSQueryOrderRes;
|
|
|
|
/**
|
|
* Decodes a CSQueryOrderRes message from the specified reader or buffer, length delimited.
|
|
* @param reader Reader or buffer to decode from
|
|
* @returns CSQueryOrderRes
|
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
*/
|
|
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSQueryOrderRes;
|
|
|
|
/**
|
|
* Verifies a CSQueryOrderRes message.
|
|
* @param message Plain object to verify
|
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
*/
|
|
static verify(message: { [k: string]: any }): (string|null);
|
|
|
|
/**
|
|
* Creates a CSQueryOrderRes message from a plain object. Also converts values to their respective internal types.
|
|
* @param object Plain object
|
|
* @returns CSQueryOrderRes
|
|
*/
|
|
static fromObject(object: { [k: string]: any }): cs.CSQueryOrderRes;
|
|
|
|
/**
|
|
* Creates a plain object from a CSQueryOrderRes message. Also converts values to other types if specified.
|
|
* @param message CSQueryOrderRes
|
|
* @param [options] Conversion options
|
|
* @returns Plain object
|
|
*/
|
|
static toObject(message: cs.CSQueryOrderRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
|
|
/**
|
|
* Converts this CSQueryOrderRes to JSON.
|
|
* @returns JSON object
|
|
*/
|
|
toJSON(): { [k: string]: any };
|
|
|
|
/**
|
|
* Gets the default type url for CSQueryOrderRes
|
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
* @returns The default type url
|
|
*/
|
|
static getTypeUrl(typeUrlPrefix?: string): string;
|
|
}
|
|
|
|
/** Properties of a ChatMsg. */
|
|
interface IChatMsg {
|
|
|
|
/** ChatMsg msg */
|
|
msg?: (string|null);
|
|
|
|
/** ChatMsg isAi */
|
|
isAi?: (boolean|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;
|
|
|
|
/**
|
|
* 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 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 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 {
|
|
}
|
|
|
|
/** Represents a CSChatMsgRes. */
|
|
class CSChatMsgRes implements ICSChatMsgRes {
|
|
|
|
/**
|
|
* Constructs a new CSChatMsgRes.
|
|
* @param [properties] Properties to set
|
|
*/
|
|
constructor(properties?: cs.ICSChatMsgRes);
|
|
|
|
/**
|
|
* 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);
|
|
}
|
|
|
|
/** 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;
|
|
|
|
/**
|
|
* 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);
|
|
}
|
|
|
|
/** 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[];
|
|
|
|
/**
|
|
* 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 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;
|