协议更新
This commit is contained in:
Vendored
+745
-6
@@ -32,6 +32,12 @@ export namespace cs {
|
||||
|
||||
/** GirlBrief star */
|
||||
star?: (number|null);
|
||||
|
||||
/** GirlBrief category */
|
||||
category?: (number|null);
|
||||
|
||||
/** GirlBrief listAvatarPath */
|
||||
listAvatarPath?: (string|null);
|
||||
}
|
||||
|
||||
/** Represents a GirlBrief. */
|
||||
@@ -67,6 +73,12 @@ 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
|
||||
@@ -254,6 +266,236 @@ toJSON(): { [k: string]: any };
|
||||
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 {
|
||||
|
||||
@@ -263,14 +505,17 @@ static getTypeUrl(typeUrlPrefix?: string): string;
|
||||
/** GirlDetail desc */
|
||||
desc?: (string|null);
|
||||
|
||||
/** GirlDetail photos */
|
||||
photos?: (cs.IGirlPhoto[]|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. */
|
||||
@@ -288,15 +533,18 @@ brief?: (cs.IGirlBrief|null);
|
||||
/** GirlDetail desc. */
|
||||
desc: string;
|
||||
|
||||
/** GirlDetail photos. */
|
||||
photos: cs.IGirlPhoto[];
|
||||
|
||||
/** 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
|
||||
@@ -2193,6 +2441,497 @@ toJSON(): { [k: string]: any };
|
||||
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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user