协议修改
This commit is contained in:
Vendored
+188
@@ -2951,6 +2951,194 @@ toJSON(): { [k: string]: any };
|
||||
static getTypeUrl(typeUrlPrefix?: string): string;
|
||||
}
|
||||
|
||||
/** Properties of a CSGetPurchaseReq. */
|
||||
interface ICSGetPurchaseReq {
|
||||
}
|
||||
|
||||
/** Represents a CSGetPurchaseReq. */
|
||||
class CSGetPurchaseReq implements ICSGetPurchaseReq {
|
||||
|
||||
/**
|
||||
* Constructs a new CSGetPurchaseReq.
|
||||
* @param [properties] Properties to set
|
||||
*/
|
||||
constructor(properties?: cs.ICSGetPurchaseReq);
|
||||
|
||||
/**
|
||||
* Creates a new CSGetPurchaseReq instance using the specified properties.
|
||||
* @param [properties] Properties to set
|
||||
* @returns CSGetPurchaseReq instance
|
||||
*/
|
||||
static create(properties?: cs.ICSGetPurchaseReq): cs.CSGetPurchaseReq;
|
||||
|
||||
/**
|
||||
* Encodes the specified CSGetPurchaseReq message. Does not implicitly {@link cs.CSGetPurchaseReq.verify|verify} messages.
|
||||
* @param message CSGetPurchaseReq message or plain object to encode
|
||||
* @param [writer] Writer to encode to
|
||||
* @returns Writer
|
||||
*/
|
||||
static encode(message: cs.ICSGetPurchaseReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
||||
|
||||
/**
|
||||
* Encodes the specified CSGetPurchaseReq message, length delimited. Does not implicitly {@link cs.CSGetPurchaseReq.verify|verify} messages.
|
||||
* @param message CSGetPurchaseReq message or plain object to encode
|
||||
* @param [writer] Writer to encode to
|
||||
* @returns Writer
|
||||
*/
|
||||
static encodeDelimited(message: cs.ICSGetPurchaseReq, writer?: $protobuf.Writer): $protobuf.Writer;
|
||||
|
||||
/**
|
||||
* Decodes a CSGetPurchaseReq message from the specified reader or buffer.
|
||||
* @param reader Reader or buffer to decode from
|
||||
* @param [length] Message length if known beforehand
|
||||
* @returns CSGetPurchaseReq
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSGetPurchaseReq;
|
||||
|
||||
/**
|
||||
* Decodes a CSGetPurchaseReq message from the specified reader or buffer, length delimited.
|
||||
* @param reader Reader or buffer to decode from
|
||||
* @returns CSGetPurchaseReq
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSGetPurchaseReq;
|
||||
|
||||
/**
|
||||
* Verifies a CSGetPurchaseReq message.
|
||||
* @param message Plain object to verify
|
||||
* @returns `null` if valid, otherwise the reason why it is not
|
||||
*/
|
||||
static verify(message: { [k: string]: any }): (string|null);
|
||||
|
||||
/**
|
||||
* Creates a CSGetPurchaseReq message from a plain object. Also converts values to their respective internal types.
|
||||
* @param object Plain object
|
||||
* @returns CSGetPurchaseReq
|
||||
*/
|
||||
static fromObject(object: { [k: string]: any }): cs.CSGetPurchaseReq;
|
||||
|
||||
/**
|
||||
* Creates a plain object from a CSGetPurchaseReq message. Also converts values to other types if specified.
|
||||
* @param message CSGetPurchaseReq
|
||||
* @param [options] Conversion options
|
||||
* @returns Plain object
|
||||
*/
|
||||
static toObject(message: cs.CSGetPurchaseReq, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
||||
|
||||
/**
|
||||
* Converts this CSGetPurchaseReq to JSON.
|
||||
* @returns JSON object
|
||||
*/
|
||||
toJSON(): { [k: string]: any };
|
||||
|
||||
/**
|
||||
* Gets the default type url for CSGetPurchaseReq
|
||||
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
||||
* @returns The default type url
|
||||
*/
|
||||
static getTypeUrl(typeUrlPrefix?: string): string;
|
||||
}
|
||||
|
||||
/** Properties of a CSGetPurchaseRes. */
|
||||
interface ICSGetPurchaseRes {
|
||||
|
||||
/** CSGetPurchaseRes items */
|
||||
items?: (cs.IPurchaseConfig[]|null);
|
||||
}
|
||||
|
||||
/** Represents a CSGetPurchaseRes. */
|
||||
class CSGetPurchaseRes implements ICSGetPurchaseRes {
|
||||
|
||||
/**
|
||||
* Constructs a new CSGetPurchaseRes.
|
||||
* @param [properties] Properties to set
|
||||
*/
|
||||
constructor(properties?: cs.ICSGetPurchaseRes);
|
||||
|
||||
/** CSGetPurchaseRes items. */
|
||||
items: cs.IPurchaseConfig[];
|
||||
|
||||
/**
|
||||
* Creates a new CSGetPurchaseRes instance using the specified properties.
|
||||
* @param [properties] Properties to set
|
||||
* @returns CSGetPurchaseRes instance
|
||||
*/
|
||||
static create(properties?: cs.ICSGetPurchaseRes): cs.CSGetPurchaseRes;
|
||||
|
||||
/**
|
||||
* Encodes the specified CSGetPurchaseRes message. Does not implicitly {@link cs.CSGetPurchaseRes.verify|verify} messages.
|
||||
* @param message CSGetPurchaseRes message or plain object to encode
|
||||
* @param [writer] Writer to encode to
|
||||
* @returns Writer
|
||||
*/
|
||||
static encode(message: cs.ICSGetPurchaseRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
||||
|
||||
/**
|
||||
* Encodes the specified CSGetPurchaseRes message, length delimited. Does not implicitly {@link cs.CSGetPurchaseRes.verify|verify} messages.
|
||||
* @param message CSGetPurchaseRes message or plain object to encode
|
||||
* @param [writer] Writer to encode to
|
||||
* @returns Writer
|
||||
*/
|
||||
static encodeDelimited(message: cs.ICSGetPurchaseRes, writer?: $protobuf.Writer): $protobuf.Writer;
|
||||
|
||||
/**
|
||||
* Decodes a CSGetPurchaseRes message from the specified reader or buffer.
|
||||
* @param reader Reader or buffer to decode from
|
||||
* @param [length] Message length if known beforehand
|
||||
* @returns CSGetPurchaseRes
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): cs.CSGetPurchaseRes;
|
||||
|
||||
/**
|
||||
* Decodes a CSGetPurchaseRes message from the specified reader or buffer, length delimited.
|
||||
* @param reader Reader or buffer to decode from
|
||||
* @returns CSGetPurchaseRes
|
||||
* @throws {Error} If the payload is not a reader or valid buffer
|
||||
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
||||
*/
|
||||
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): cs.CSGetPurchaseRes;
|
||||
|
||||
/**
|
||||
* Verifies a CSGetPurchaseRes message.
|
||||
* @param message Plain object to verify
|
||||
* @returns `null` if valid, otherwise the reason why it is not
|
||||
*/
|
||||
static verify(message: { [k: string]: any }): (string|null);
|
||||
|
||||
/**
|
||||
* Creates a CSGetPurchaseRes message from a plain object. Also converts values to their respective internal types.
|
||||
* @param object Plain object
|
||||
* @returns CSGetPurchaseRes
|
||||
*/
|
||||
static fromObject(object: { [k: string]: any }): cs.CSGetPurchaseRes;
|
||||
|
||||
/**
|
||||
* Creates a plain object from a CSGetPurchaseRes message. Also converts values to other types if specified.
|
||||
* @param message CSGetPurchaseRes
|
||||
* @param [options] Conversion options
|
||||
* @returns Plain object
|
||||
*/
|
||||
static toObject(message: cs.CSGetPurchaseRes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
||||
|
||||
/**
|
||||
* Converts this CSGetPurchaseRes to JSON.
|
||||
* @returns JSON object
|
||||
*/
|
||||
toJSON(): { [k: string]: any };
|
||||
|
||||
/**
|
||||
* Gets the default type url for CSGetPurchaseRes
|
||||
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
||||
* @returns The default type url
|
||||
*/
|
||||
static getTypeUrl(typeUrlPrefix?: string): string;
|
||||
}
|
||||
|
||||
/** Category enum. */
|
||||
enum Category {
|
||||
Category_mature = 0,
|
||||
|
||||
Reference in New Issue
Block a user