import * as $protobuf from "protobufjs"; import Long = require("long"); /** Namespace msg_info_def. */ export namespace msg_info_def { /** Properties of a msg_gift. */ interface Imsg_gift { /** msg_gift giftId */ giftId?: (number|null); /** msg_gift count */ count?: (number|null); } /** Represents a msg_gift. */ class msg_gift implements Imsg_gift { /** * Constructs a new msg_gift. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.Imsg_gift); /** msg_gift giftId. */ public giftId: number; /** msg_gift count. */ public count: number; /** * Creates a new msg_gift instance using the specified properties. * @param [properties] Properties to set * @returns msg_gift instance */ public static create(properties?: msg_info_def.Imsg_gift): msg_info_def.msg_gift; /** * Encodes the specified msg_gift message. Does not implicitly {@link msg_info_def.msg_gift.verify|verify} messages. * @param message msg_gift message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.Imsg_gift, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified msg_gift message, length delimited. Does not implicitly {@link msg_info_def.msg_gift.verify|verify} messages. * @param message msg_gift message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.Imsg_gift, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a msg_gift message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns msg_gift * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_gift; /** * Decodes a msg_gift message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns msg_gift * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_gift; /** * Verifies a msg_gift message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a msg_gift message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns msg_gift */ public static fromObject(object: { [k: string]: any }): msg_info_def.msg_gift; /** * Creates a plain object from a msg_gift message. Also converts values to other types if specified. * @param message msg_gift * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.msg_gift, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this msg_gift to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for msg_gift * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActivityItemInfo. */ interface IActivityItemInfo { /** ActivityItemInfo activityId */ activityId?: (number|null); /** ActivityItemInfo itemId */ itemId?: (number|null); /** ActivityItemInfo count */ count?: (number|null); } /** Represents an ActivityItemInfo. */ class ActivityItemInfo implements IActivityItemInfo { /** * Constructs a new ActivityItemInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IActivityItemInfo); /** ActivityItemInfo activityId. */ public activityId: number; /** ActivityItemInfo itemId. */ public itemId: number; /** ActivityItemInfo count. */ public count: number; /** * Creates a new ActivityItemInfo instance using the specified properties. * @param [properties] Properties to set * @returns ActivityItemInfo instance */ public static create(properties?: msg_info_def.IActivityItemInfo): msg_info_def.ActivityItemInfo; /** * Encodes the specified ActivityItemInfo message. Does not implicitly {@link msg_info_def.ActivityItemInfo.verify|verify} messages. * @param message ActivityItemInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IActivityItemInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActivityItemInfo message, length delimited. Does not implicitly {@link msg_info_def.ActivityItemInfo.verify|verify} messages. * @param message ActivityItemInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IActivityItemInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActivityItemInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActivityItemInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ActivityItemInfo; /** * Decodes an ActivityItemInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActivityItemInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ActivityItemInfo; /** * Verifies an ActivityItemInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActivityItemInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActivityItemInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.ActivityItemInfo; /** * Creates a plain object from an ActivityItemInfo message. Also converts values to other types if specified. * @param message ActivityItemInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.ActivityItemInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActivityItemInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActivityItemInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ItemInfo. */ interface IItemInfo { /** ItemInfo itemId */ itemId?: (number|null); /** ItemInfo count */ count?: (number|null); } /** Represents an ItemInfo. */ class ItemInfo implements IItemInfo { /** * Constructs a new ItemInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IItemInfo); /** ItemInfo itemId. */ public itemId: number; /** ItemInfo count. */ public count: number; /** * Creates a new ItemInfo instance using the specified properties. * @param [properties] Properties to set * @returns ItemInfo instance */ public static create(properties?: msg_info_def.IItemInfo): msg_info_def.ItemInfo; /** * Encodes the specified ItemInfo message. Does not implicitly {@link msg_info_def.ItemInfo.verify|verify} messages. * @param message ItemInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IItemInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ItemInfo message, length delimited. Does not implicitly {@link msg_info_def.ItemInfo.verify|verify} messages. * @param message ItemInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IItemInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ItemInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ItemInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ItemInfo; /** * Decodes an ItemInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ItemInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ItemInfo; /** * Verifies an ItemInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ItemInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ItemInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.ItemInfo; /** * Creates a plain object from an ItemInfo message. Also converts values to other types if specified. * @param message ItemInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.ItemInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ItemInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ItemInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a msg_quest_info. */ interface Imsg_quest_info { /** msg_quest_info questid */ questid?: (number|null); /** msg_quest_info count */ count?: (number|null); /** msg_quest_info received */ received?: (number|null); /** msg_quest_info combinationQuests */ combinationQuests?: (number[]|null); /** msg_quest_info endTime */ endTime?: (number|null); /** msg_quest_info param */ param?: (number|null); } /** Represents a msg_quest_info. */ class msg_quest_info implements Imsg_quest_info { /** * Constructs a new msg_quest_info. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.Imsg_quest_info); /** msg_quest_info questid. */ public questid: number; /** msg_quest_info count. */ public count: number; /** msg_quest_info received. */ public received: number; /** msg_quest_info combinationQuests. */ public combinationQuests: number[]; /** msg_quest_info endTime. */ public endTime: number; /** msg_quest_info param. */ public param: number; /** * Creates a new msg_quest_info instance using the specified properties. * @param [properties] Properties to set * @returns msg_quest_info instance */ public static create(properties?: msg_info_def.Imsg_quest_info): msg_info_def.msg_quest_info; /** * Encodes the specified msg_quest_info message. Does not implicitly {@link msg_info_def.msg_quest_info.verify|verify} messages. * @param message msg_quest_info message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.Imsg_quest_info, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified msg_quest_info message, length delimited. Does not implicitly {@link msg_info_def.msg_quest_info.verify|verify} messages. * @param message msg_quest_info message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.Imsg_quest_info, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a msg_quest_info message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns msg_quest_info * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_quest_info; /** * Decodes a msg_quest_info message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns msg_quest_info * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_quest_info; /** * Verifies a msg_quest_info message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a msg_quest_info message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns msg_quest_info */ public static fromObject(object: { [k: string]: any }): msg_info_def.msg_quest_info; /** * Creates a plain object from a msg_quest_info message. Also converts values to other types if specified. * @param message msg_quest_info * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.msg_quest_info, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this msg_quest_info to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for msg_quest_info * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a ServiceInfo. */ interface IServiceInfo { /** ServiceInfo infoType */ infoType?: (number|null); /** ServiceInfo key */ key?: (string|null); /** ServiceInfo value */ value?: (string|null); } /** Represents a ServiceInfo. */ class ServiceInfo implements IServiceInfo { /** * Constructs a new ServiceInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IServiceInfo); /** ServiceInfo infoType. */ public infoType: number; /** ServiceInfo key. */ public key: string; /** ServiceInfo value. */ public value: string; /** * Creates a new ServiceInfo instance using the specified properties. * @param [properties] Properties to set * @returns ServiceInfo instance */ public static create(properties?: msg_info_def.IServiceInfo): msg_info_def.ServiceInfo; /** * Encodes the specified ServiceInfo message. Does not implicitly {@link msg_info_def.ServiceInfo.verify|verify} messages. * @param message ServiceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IServiceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceInfo message, length delimited. Does not implicitly {@link msg_info_def.ServiceInfo.verify|verify} messages. * @param message ServiceInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IServiceInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ServiceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ServiceInfo; /** * Decodes a ServiceInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ServiceInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ServiceInfo; /** * Verifies a ServiceInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.ServiceInfo; /** * Creates a plain object from a ServiceInfo message. Also converts values to other types if specified. * @param message ServiceInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.ServiceInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ServiceInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a BoxInfo. */ interface IBoxInfo { /** BoxInfo isOpen */ isOpen?: (boolean|null); /** BoxInfo containGold */ containGold?: (number|null); } /** Represents a BoxInfo. */ class BoxInfo implements IBoxInfo { /** * Constructs a new BoxInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IBoxInfo); /** BoxInfo isOpen. */ public isOpen: boolean; /** BoxInfo containGold. */ public containGold: number; /** * Creates a new BoxInfo instance using the specified properties. * @param [properties] Properties to set * @returns BoxInfo instance */ public static create(properties?: msg_info_def.IBoxInfo): msg_info_def.BoxInfo; /** * Encodes the specified BoxInfo message. Does not implicitly {@link msg_info_def.BoxInfo.verify|verify} messages. * @param message BoxInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IBoxInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BoxInfo message, length delimited. Does not implicitly {@link msg_info_def.BoxInfo.verify|verify} messages. * @param message BoxInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IBoxInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BoxInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns BoxInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.BoxInfo; /** * Decodes a BoxInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns BoxInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.BoxInfo; /** * Verifies a BoxInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a BoxInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BoxInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.BoxInfo; /** * Creates a plain object from a BoxInfo message. Also converts values to other types if specified. * @param message BoxInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.BoxInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BoxInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for BoxInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of an ActivityReceiveInfo. */ interface IActivityReceiveInfo { /** ActivityReceiveInfo activityId */ activityId?: (number|null); /** ActivityReceiveInfo isReceive */ isReceive?: (boolean|null); /** ActivityReceiveInfo isFinish */ isFinish?: (boolean|null); } /** Represents an ActivityReceiveInfo. */ class ActivityReceiveInfo implements IActivityReceiveInfo { /** * Constructs a new ActivityReceiveInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IActivityReceiveInfo); /** ActivityReceiveInfo activityId. */ public activityId: number; /** ActivityReceiveInfo isReceive. */ public isReceive: boolean; /** ActivityReceiveInfo isFinish. */ public isFinish: boolean; /** * Creates a new ActivityReceiveInfo instance using the specified properties. * @param [properties] Properties to set * @returns ActivityReceiveInfo instance */ public static create(properties?: msg_info_def.IActivityReceiveInfo): msg_info_def.ActivityReceiveInfo; /** * Encodes the specified ActivityReceiveInfo message. Does not implicitly {@link msg_info_def.ActivityReceiveInfo.verify|verify} messages. * @param message ActivityReceiveInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IActivityReceiveInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActivityReceiveInfo message, length delimited. Does not implicitly {@link msg_info_def.ActivityReceiveInfo.verify|verify} messages. * @param message ActivityReceiveInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IActivityReceiveInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActivityReceiveInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns ActivityReceiveInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.ActivityReceiveInfo; /** * Decodes an ActivityReceiveInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns ActivityReceiveInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.ActivityReceiveInfo; /** * Verifies an ActivityReceiveInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActivityReceiveInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActivityReceiveInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.ActivityReceiveInfo; /** * Creates a plain object from an ActivityReceiveInfo message. Also converts values to other types if specified. * @param message ActivityReceiveInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.ActivityReceiveInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActivityReceiveInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for ActivityReceiveInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a GiftInfo. */ interface IGiftInfo { /** GiftInfo giftId */ giftId?: (number|null); /** GiftInfo count */ count?: (number|null); /** GiftInfo endTime */ endTime?: (number|null); } /** Represents a GiftInfo. */ class GiftInfo implements IGiftInfo { /** * Constructs a new GiftInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IGiftInfo); /** GiftInfo giftId. */ public giftId: number; /** GiftInfo count. */ public count: number; /** GiftInfo endTime. */ public endTime: number; /** * Creates a new GiftInfo instance using the specified properties. * @param [properties] Properties to set * @returns GiftInfo instance */ public static create(properties?: msg_info_def.IGiftInfo): msg_info_def.GiftInfo; /** * Encodes the specified GiftInfo message. Does not implicitly {@link msg_info_def.GiftInfo.verify|verify} messages. * @param message GiftInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IGiftInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GiftInfo message, length delimited. Does not implicitly {@link msg_info_def.GiftInfo.verify|verify} messages. * @param message GiftInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IGiftInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GiftInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns GiftInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.GiftInfo; /** * Decodes a GiftInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns GiftInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.GiftInfo; /** * Verifies a GiftInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a GiftInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GiftInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.GiftInfo; /** * Creates a plain object from a GiftInfo message. Also converts values to other types if specified. * @param message GiftInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.GiftInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GiftInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for GiftInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PayInfo. */ interface IPayInfo { /** PayInfo payid */ payid?: (number|null); /** PayInfo paycount */ paycount?: (number|null); /** PayInfo endtime */ endtime?: (number|null); /** PayInfo canpay */ canpay?: (boolean|null); } /** Represents a PayInfo. */ class PayInfo implements IPayInfo { /** * Constructs a new PayInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IPayInfo); /** PayInfo payid. */ public payid: number; /** PayInfo paycount. */ public paycount: number; /** PayInfo endtime. */ public endtime: number; /** PayInfo canpay. */ public canpay: boolean; /** * Creates a new PayInfo instance using the specified properties. * @param [properties] Properties to set * @returns PayInfo instance */ public static create(properties?: msg_info_def.IPayInfo): msg_info_def.PayInfo; /** * Encodes the specified PayInfo message. Does not implicitly {@link msg_info_def.PayInfo.verify|verify} messages. * @param message PayInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IPayInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PayInfo message, length delimited. Does not implicitly {@link msg_info_def.PayInfo.verify|verify} messages. * @param message PayInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IPayInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PayInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PayInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.PayInfo; /** * Decodes a PayInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PayInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.PayInfo; /** * Verifies a PayInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PayInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PayInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.PayInfo; /** * Creates a plain object from a PayInfo message. Also converts values to other types if specified. * @param message PayInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.PayInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PayInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PayInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a SailCeremonyInfo. */ interface ISailCeremonyInfo { /** SailCeremonyInfo endTime */ endTime?: (number|null); /** SailCeremonyInfo signCheck */ signCheck?: (number[]|null); /** SailCeremonyInfo totalSignCheck */ totalSignCheck?: (number[]|null); /** SailCeremonyInfo vipCheck */ vipCheck?: (number[]|null); /** SailCeremonyInfo achieveLvCheck */ achieveLvCheck?: (number[]|null); /** SailCeremonyInfo piggyBankFishGold */ piggyBankFishGold?: (number|null); /** SailCeremonyInfo piggyBankOnlineGold */ piggyBankOnlineGold?: (number|null); /** SailCeremonyInfo curPiggyBankGold */ curPiggyBankGold?: (number|null); /** SailCeremonyInfo topAchievementPoints */ topAchievementPoints?: (number|null); /** SailCeremonyInfo achievementPoints */ achievementPoints?: (number|null); /** SailCeremonyInfo achievementLv */ achievementLv?: (number|null); /** SailCeremonyInfo canRecvMysteryBox */ canRecvMysteryBox?: (boolean|null); } /** Represents a SailCeremonyInfo. */ class SailCeremonyInfo implements ISailCeremonyInfo { /** * Constructs a new SailCeremonyInfo. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.ISailCeremonyInfo); /** SailCeremonyInfo endTime. */ public endTime: number; /** SailCeremonyInfo signCheck. */ public signCheck: number[]; /** SailCeremonyInfo totalSignCheck. */ public totalSignCheck: number[]; /** SailCeremonyInfo vipCheck. */ public vipCheck: number[]; /** SailCeremonyInfo achieveLvCheck. */ public achieveLvCheck: number[]; /** SailCeremonyInfo piggyBankFishGold. */ public piggyBankFishGold: number; /** SailCeremonyInfo piggyBankOnlineGold. */ public piggyBankOnlineGold: number; /** SailCeremonyInfo curPiggyBankGold. */ public curPiggyBankGold: number; /** SailCeremonyInfo topAchievementPoints. */ public topAchievementPoints: number; /** SailCeremonyInfo achievementPoints. */ public achievementPoints: number; /** SailCeremonyInfo achievementLv. */ public achievementLv: number; /** SailCeremonyInfo canRecvMysteryBox. */ public canRecvMysteryBox: boolean; /** * Creates a new SailCeremonyInfo instance using the specified properties. * @param [properties] Properties to set * @returns SailCeremonyInfo instance */ public static create(properties?: msg_info_def.ISailCeremonyInfo): msg_info_def.SailCeremonyInfo; /** * Encodes the specified SailCeremonyInfo message. Does not implicitly {@link msg_info_def.SailCeremonyInfo.verify|verify} messages. * @param message SailCeremonyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.ISailCeremonyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SailCeremonyInfo message, length delimited. Does not implicitly {@link msg_info_def.SailCeremonyInfo.verify|verify} messages. * @param message SailCeremonyInfo message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.ISailCeremonyInfo, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SailCeremonyInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SailCeremonyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.SailCeremonyInfo; /** * Decodes a SailCeremonyInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SailCeremonyInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.SailCeremonyInfo; /** * Verifies a SailCeremonyInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a SailCeremonyInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SailCeremonyInfo */ public static fromObject(object: { [k: string]: any }): msg_info_def.SailCeremonyInfo; /** * Creates a plain object from a SailCeremonyInfo message. Also converts values to other types if specified. * @param message SailCeremonyInfo * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.SailCeremonyInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SailCeremonyInfo to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for SailCeremonyInfo * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a msg_account_info. */ interface Imsg_account_info { /** msg_account_info aid */ aid?: (number|null); /** msg_account_info nickname */ nickname?: (string|null); /** msg_account_info gold */ gold?: (number|Long|null); /** msg_account_info diamond */ diamond?: (number|null); /** msg_account_info ticket */ ticket?: (number|null); /** msg_account_info chip */ chip?: (number|null); /** msg_account_info redPacket */ redPacket?: (number|null); /** msg_account_info goldingot */ goldingot?: (number|null); /** msg_account_info tombola */ tombola?: (number|null); /** msg_account_info viplvl */ viplvl?: (number|null); /** msg_account_info vipexp */ vipexp?: (number|Long|null); /** msg_account_info headId */ headId?: (number|null); /** msg_account_info frameId */ frameId?: (number|null); /** msg_account_info sex */ sex?: (number|null); /** msg_account_info platform */ platform?: (string|null); /** msg_account_info playerlvl */ playerlvl?: (number|null); /** msg_account_info turretlvl */ turretlvl?: (number|null); /** msg_account_info monthCardRemainSecondTime */ monthCardRemainSecondTime?: (number|null); /** msg_account_info goldMonthCardRemainSecondTime */ goldMonthCardRemainSecondTime?: (number|null); /** msg_account_info diamondMonthCardRemainSecondTime */ diamondMonthCardRemainSecondTime?: (number|null); /** msg_account_info hasReceiveRechargeReward */ hasReceiveRechargeReward?: (boolean|null); /** msg_account_info curRecharge */ curRecharge?: (number|null); /** msg_account_info todayRecharge */ todayRecharge?: (number|null); /** msg_account_info createTime */ createTime?: (number|null); /** msg_account_info monthCardTime */ monthCardTime?: (number|null); /** msg_account_info goldMonthCardTime */ goldMonthCardTime?: (number|null); /** msg_account_info diamondMonthCardTime */ diamondMonthCardTime?: (number|null); /** msg_account_info dailyActive */ dailyActive?: (number|null); /** msg_account_info weeklyActive */ weeklyActive?: (number|null); /** msg_account_info hasGetDailyActiveBox */ hasGetDailyActiveBox?: (number[]|null); /** msg_account_info hasGetWeeklyActiveBox */ hasGetWeeklyActiveBox?: (number[]|null); /** msg_account_info hasReceiveMonthCardReward */ hasReceiveMonthCardReward?: (boolean|null); /** msg_account_info hasReceiveGoldMonthCardReward */ hasReceiveGoldMonthCardReward?: (boolean|null); /** msg_account_info hasReceiveDiamondMonthCardReward */ hasReceiveDiamondMonthCardReward?: (boolean|null); /** msg_account_info collected */ collected?: (number|null); /** msg_account_info payinfos */ payinfos?: (msg_info_def.IPayInfo[]|null); /** msg_account_info newGuildHasFinishStep */ newGuildHasFinishStep?: (number[]|null); /** msg_account_info todayAirdropCount */ todayAirdropCount?: (number|null); /** msg_account_info todayAirdropErrorCount */ todayAirdropErrorCount?: (number|null); /** msg_account_info serviceInfos */ serviceInfos?: (msg_info_def.IServiceInfo[]|null); /** msg_account_info giftinfos */ giftinfos?: (msg_info_def.IGiftInfo[]|null); /** msg_account_info blueVipLvl */ blueVipLvl?: (number|null); /** msg_account_info hasReciveVIPMoney */ hasReciveVIPMoney?: (boolean|null); /** msg_account_info onlineRewardIndex */ onlineRewardIndex?: (number|null); /** msg_account_info onlineRewardTime */ onlineRewardTime?: (number|null); /** msg_account_info onlineRewardBuff */ onlineRewardBuff?: (number|null); /** msg_account_info isBindMobilePhone */ isBindMobilePhone?: (boolean|null); /** msg_account_info isVIPBindMobilePhone */ isVIPBindMobilePhone?: (boolean|null); /** msg_account_info updateNicknameCount */ updateNicknameCount?: (number|null); /** msg_account_info vipRewardCheck */ vipRewardCheck?: (boolean[]|null); /** msg_account_info vipPoint */ vipPoint?: (number|null); /** msg_account_info diamondPayinfos */ diamondPayinfos?: (msg_info_def.IPayInfo[]|null); /** msg_account_info SevenDayRechargeCurDay */ SevenDayRechargeCurDay?: (number|null); /** msg_account_info SevenDayRechargeTicket */ SevenDayRechargeTicket?: (number|null); /** msg_account_info SevenDayRechargeEndTime */ SevenDayRechargeEndTime?: (number|null); /** msg_account_info SevenDayRechargeLeftSeconds */ SevenDayRechargeLeftSeconds?: (number|null); /** msg_account_info RedPacketEndTime */ RedPacketEndTime?: (number|null); /** msg_account_info weekCardRemainSecondTime */ weekCardRemainSecondTime?: (number|null); /** msg_account_info weekCardTime */ weekCardTime?: (number|null); /** msg_account_info hasReceiveWeekCardReward */ hasReceiveWeekCardReward?: (boolean|null); /** msg_account_info dailyGrowGiftLottery */ dailyGrowGiftLottery?: (number|null); /** msg_account_info isVertifyIdCard */ isVertifyIdCard?: (boolean|null); /** msg_account_info dailyExchangeTicket */ dailyExchangeTicket?: (number|null); /** msg_account_info sailInfo */ sailInfo?: (msg_info_def.ISailCeremonyInfo|null); /** msg_account_info returnBenifitEndTime */ returnBenifitEndTime?: (number|null); /** msg_account_info returnBenifitRecharged */ returnBenifitRecharged?: (number|null); /** msg_account_info returnBenifitRechargedCheck */ returnBenifitRechargedCheck?: (number[]|null); /** msg_account_info returnBenifitLoginDay */ returnBenifitLoginDay?: (number|null); /** msg_account_info returnBenifitCanLogin */ returnBenifitCanLogin?: (boolean|null); /** msg_account_info abysmFishingKingEndTime */ abysmFishingKingEndTime?: (number|null); /** msg_account_info abysmFishingKingSignCount */ abysmFishingKingSignCount?: (number|null); /** msg_account_info abysmFishingKingRechared */ abysmFishingKingRechared?: (number|null); /** msg_account_info abysmFishingKingCanSign */ abysmFishingKingCanSign?: (boolean|null); /** msg_account_info JDChip */ JDChip?: (number|null); /** msg_account_info DragonBall */ DragonBall?: (number|null); /** msg_account_info GloryCrystal */ GloryCrystal?: (number|null); /** msg_account_info DragonballLotteryLuckyValue */ DragonballLotteryLuckyValue?: (number|null); } /** Represents a msg_account_info. */ class msg_account_info implements Imsg_account_info { /** * Constructs a new msg_account_info. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.Imsg_account_info); /** msg_account_info aid. */ public aid: number; /** msg_account_info nickname. */ public nickname: string; /** msg_account_info gold. */ public gold: (number|Long); /** msg_account_info diamond. */ public diamond: number; /** msg_account_info ticket. */ public ticket: number; /** msg_account_info chip. */ public chip: number; /** msg_account_info redPacket. */ public redPacket: number; /** msg_account_info goldingot. */ public goldingot: number; /** msg_account_info tombola. */ public tombola: number; /** msg_account_info viplvl. */ public viplvl: number; /** msg_account_info vipexp. */ public vipexp: (number|Long); /** msg_account_info headId. */ public headId: number; /** msg_account_info frameId. */ public frameId: number; /** msg_account_info sex. */ public sex: number; /** msg_account_info platform. */ public platform: string; /** msg_account_info playerlvl. */ public playerlvl: number; /** msg_account_info turretlvl. */ public turretlvl: number; /** msg_account_info monthCardRemainSecondTime. */ public monthCardRemainSecondTime: number; /** msg_account_info goldMonthCardRemainSecondTime. */ public goldMonthCardRemainSecondTime: number; /** msg_account_info diamondMonthCardRemainSecondTime. */ public diamondMonthCardRemainSecondTime: number; /** msg_account_info hasReceiveRechargeReward. */ public hasReceiveRechargeReward: boolean; /** msg_account_info curRecharge. */ public curRecharge: number; /** msg_account_info todayRecharge. */ public todayRecharge: number; /** msg_account_info createTime. */ public createTime: number; /** msg_account_info monthCardTime. */ public monthCardTime: number; /** msg_account_info goldMonthCardTime. */ public goldMonthCardTime: number; /** msg_account_info diamondMonthCardTime. */ public diamondMonthCardTime: number; /** msg_account_info dailyActive. */ public dailyActive: number; /** msg_account_info weeklyActive. */ public weeklyActive: number; /** msg_account_info hasGetDailyActiveBox. */ public hasGetDailyActiveBox: number[]; /** msg_account_info hasGetWeeklyActiveBox. */ public hasGetWeeklyActiveBox: number[]; /** msg_account_info hasReceiveMonthCardReward. */ public hasReceiveMonthCardReward: boolean; /** msg_account_info hasReceiveGoldMonthCardReward. */ public hasReceiveGoldMonthCardReward: boolean; /** msg_account_info hasReceiveDiamondMonthCardReward. */ public hasReceiveDiamondMonthCardReward: boolean; /** msg_account_info collected. */ public collected: number; /** msg_account_info payinfos. */ public payinfos: msg_info_def.IPayInfo[]; /** msg_account_info newGuildHasFinishStep. */ public newGuildHasFinishStep: number[]; /** msg_account_info todayAirdropCount. */ public todayAirdropCount: number; /** msg_account_info todayAirdropErrorCount. */ public todayAirdropErrorCount: number; /** msg_account_info serviceInfos. */ public serviceInfos: msg_info_def.IServiceInfo[]; /** msg_account_info giftinfos. */ public giftinfos: msg_info_def.IGiftInfo[]; /** msg_account_info blueVipLvl. */ public blueVipLvl: number; /** msg_account_info hasReciveVIPMoney. */ public hasReciveVIPMoney: boolean; /** msg_account_info onlineRewardIndex. */ public onlineRewardIndex: number; /** msg_account_info onlineRewardTime. */ public onlineRewardTime: number; /** msg_account_info onlineRewardBuff. */ public onlineRewardBuff: number; /** msg_account_info isBindMobilePhone. */ public isBindMobilePhone: boolean; /** msg_account_info isVIPBindMobilePhone. */ public isVIPBindMobilePhone: boolean; /** msg_account_info updateNicknameCount. */ public updateNicknameCount: number; /** msg_account_info vipRewardCheck. */ public vipRewardCheck: boolean[]; /** msg_account_info vipPoint. */ public vipPoint: number; /** msg_account_info diamondPayinfos. */ public diamondPayinfos: msg_info_def.IPayInfo[]; /** msg_account_info SevenDayRechargeCurDay. */ public SevenDayRechargeCurDay: number; /** msg_account_info SevenDayRechargeTicket. */ public SevenDayRechargeTicket: number; /** msg_account_info SevenDayRechargeEndTime. */ public SevenDayRechargeEndTime: number; /** msg_account_info SevenDayRechargeLeftSeconds. */ public SevenDayRechargeLeftSeconds: number; /** msg_account_info RedPacketEndTime. */ public RedPacketEndTime: number; /** msg_account_info weekCardRemainSecondTime. */ public weekCardRemainSecondTime: number; /** msg_account_info weekCardTime. */ public weekCardTime: number; /** msg_account_info hasReceiveWeekCardReward. */ public hasReceiveWeekCardReward: boolean; /** msg_account_info dailyGrowGiftLottery. */ public dailyGrowGiftLottery: number; /** msg_account_info isVertifyIdCard. */ public isVertifyIdCard: boolean; /** msg_account_info dailyExchangeTicket. */ public dailyExchangeTicket: number; /** msg_account_info sailInfo. */ public sailInfo?: (msg_info_def.ISailCeremonyInfo|null); /** msg_account_info returnBenifitEndTime. */ public returnBenifitEndTime: number; /** msg_account_info returnBenifitRecharged. */ public returnBenifitRecharged: number; /** msg_account_info returnBenifitRechargedCheck. */ public returnBenifitRechargedCheck: number[]; /** msg_account_info returnBenifitLoginDay. */ public returnBenifitLoginDay: number; /** msg_account_info returnBenifitCanLogin. */ public returnBenifitCanLogin: boolean; /** msg_account_info abysmFishingKingEndTime. */ public abysmFishingKingEndTime: number; /** msg_account_info abysmFishingKingSignCount. */ public abysmFishingKingSignCount: number; /** msg_account_info abysmFishingKingRechared. */ public abysmFishingKingRechared: number; /** msg_account_info abysmFishingKingCanSign. */ public abysmFishingKingCanSign: boolean; /** msg_account_info JDChip. */ public JDChip: number; /** msg_account_info DragonBall. */ public DragonBall: number; /** msg_account_info GloryCrystal. */ public GloryCrystal: number; /** msg_account_info DragonballLotteryLuckyValue. */ public DragonballLotteryLuckyValue: number; /** * Creates a new msg_account_info instance using the specified properties. * @param [properties] Properties to set * @returns msg_account_info instance */ public static create(properties?: msg_info_def.Imsg_account_info): msg_info_def.msg_account_info; /** * Encodes the specified msg_account_info message. Does not implicitly {@link msg_info_def.msg_account_info.verify|verify} messages. * @param message msg_account_info message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.Imsg_account_info, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified msg_account_info message, length delimited. Does not implicitly {@link msg_info_def.msg_account_info.verify|verify} messages. * @param message msg_account_info message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.Imsg_account_info, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a msg_account_info message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns msg_account_info * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.msg_account_info; /** * Decodes a msg_account_info message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns msg_account_info * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.msg_account_info; /** * Verifies a msg_account_info message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a msg_account_info message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns msg_account_info */ public static fromObject(object: { [k: string]: any }): msg_info_def.msg_account_info; /** * Creates a plain object from a msg_account_info message. Also converts values to other types if specified. * @param message msg_account_info * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.msg_account_info, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this msg_account_info to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for msg_account_info * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } /** Properties of a PlayerIntProp. */ interface IPlayerIntProp { /** PlayerIntProp propType */ propType?: (number|null); /** PlayerIntProp val */ val?: (number|null); } /** Represents a PlayerIntProp. */ class PlayerIntProp implements IPlayerIntProp { /** * Constructs a new PlayerIntProp. * @param [properties] Properties to set */ constructor(properties?: msg_info_def.IPlayerIntProp); /** PlayerIntProp propType. */ public propType: number; /** PlayerIntProp val. */ public val: number; /** * Creates a new PlayerIntProp instance using the specified properties. * @param [properties] Properties to set * @returns PlayerIntProp instance */ public static create(properties?: msg_info_def.IPlayerIntProp): msg_info_def.PlayerIntProp; /** * Encodes the specified PlayerIntProp message. Does not implicitly {@link msg_info_def.PlayerIntProp.verify|verify} messages. * @param message PlayerIntProp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: msg_info_def.IPlayerIntProp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PlayerIntProp message, length delimited. Does not implicitly {@link msg_info_def.PlayerIntProp.verify|verify} messages. * @param message PlayerIntProp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: msg_info_def.IPlayerIntProp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PlayerIntProp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns PlayerIntProp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): msg_info_def.PlayerIntProp; /** * Decodes a PlayerIntProp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns PlayerIntProp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): msg_info_def.PlayerIntProp; /** * Verifies a PlayerIntProp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ public static verify(message: { [k: string]: any }): (string|null); /** * Creates a PlayerIntProp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PlayerIntProp */ public static fromObject(object: { [k: string]: any }): msg_info_def.PlayerIntProp; /** * Creates a plain object from a PlayerIntProp message. Also converts values to other types if specified. * @param message PlayerIntProp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: msg_info_def.PlayerIntProp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PlayerIntProp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; /** * Gets the default type url for PlayerIntProp * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") * @returns The default type url */ public static getTypeUrl(typeUrlPrefix?: string): string; } }