import * as $protobuf from "protobufjs";
import Long = require("long");
/** Namespace client2center_protocols. */
export namespace client2center_protocols {

    /** e_server_msg_type enum. */
    enum e_server_msg_type {
        e_mst_start_c2center = 30000,
        e_mst_c2center_player_connect = 30001,
        e_mst_start_center2c = 35000,
        e_mst_center2c_player_connect_result = 35001,
        e_mst_centerend_index = 40000
    }

    /** Properties of a packetc2center_player_connect. */
    interface Ipacketc2center_player_connect {

        /** packetc2center_player_connect packetId */
        packetId?: (client2center_protocols.e_server_msg_type|null);

        /** packetc2center_player_connect connectInfo */
        connectInfo?: (common_protocol.IPlayerConnect|null);
    }

    /** Represents a packetc2center_player_connect. */
    class packetc2center_player_connect implements Ipacketc2center_player_connect {

        /**
         * Constructs a new packetc2center_player_connect.
         * @param [properties] Properties to set
         */
        constructor(properties?: client2center_protocols.Ipacketc2center_player_connect);

        /** packetc2center_player_connect packetId. */
        public packetId: client2center_protocols.e_server_msg_type;

        /** packetc2center_player_connect connectInfo. */
        public connectInfo?: (common_protocol.IPlayerConnect|null);

        /**
         * Creates a new packetc2center_player_connect instance using the specified properties.
         * @param [properties] Properties to set
         * @returns packetc2center_player_connect instance
         */
        public static create(properties?: client2center_protocols.Ipacketc2center_player_connect): client2center_protocols.packetc2center_player_connect;

        /**
         * Encodes the specified packetc2center_player_connect message. Does not implicitly {@link client2center_protocols.packetc2center_player_connect.verify|verify} messages.
         * @param message packetc2center_player_connect message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encode(message: client2center_protocols.Ipacketc2center_player_connect, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Encodes the specified packetc2center_player_connect message, length delimited. Does not implicitly {@link client2center_protocols.packetc2center_player_connect.verify|verify} messages.
         * @param message packetc2center_player_connect message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encodeDelimited(message: client2center_protocols.Ipacketc2center_player_connect, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Decodes a packetc2center_player_connect message from the specified reader or buffer.
         * @param reader Reader or buffer to decode from
         * @param [length] Message length if known beforehand
         * @returns packetc2center_player_connect
         * @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): client2center_protocols.packetc2center_player_connect;

        /**
         * Decodes a packetc2center_player_connect message from the specified reader or buffer, length delimited.
         * @param reader Reader or buffer to decode from
         * @returns packetc2center_player_connect
         * @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)): client2center_protocols.packetc2center_player_connect;

        /**
         * Verifies a packetc2center_player_connect 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 packetc2center_player_connect message from a plain object. Also converts values to their respective internal types.
         * @param object Plain object
         * @returns packetc2center_player_connect
         */
        public static fromObject(object: { [k: string]: any }): client2center_protocols.packetc2center_player_connect;

        /**
         * Creates a plain object from a packetc2center_player_connect message. Also converts values to other types if specified.
         * @param message packetc2center_player_connect
         * @param [options] Conversion options
         * @returns Plain object
         */
        public static toObject(message: client2center_protocols.packetc2center_player_connect, options?: $protobuf.IConversionOptions): { [k: string]: any };

        /**
         * Converts this packetc2center_player_connect to JSON.
         * @returns JSON object
         */
        public toJSON(): { [k: string]: any };

        /**
         * Gets the default type url for packetc2center_player_connect
         * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
         * @returns The default type url
         */
        public static getTypeUrl(typeUrlPrefix?: string): string;
    }

    /** Properties of a packetcenter2c_player_connect_result. */
    interface Ipacketcenter2c_player_connect_result {

        /** packetcenter2c_player_connect_result packetId */
        packetId?: (client2center_protocols.e_server_msg_type|null);

        /** packetcenter2c_player_connect_result resultInfo */
        resultInfo?: (common_protocol.IPlayerConnectResult|null);
    }

    /** Represents a packetcenter2c_player_connect_result. */
    class packetcenter2c_player_connect_result implements Ipacketcenter2c_player_connect_result {

        /**
         * Constructs a new packetcenter2c_player_connect_result.
         * @param [properties] Properties to set
         */
        constructor(properties?: client2center_protocols.Ipacketcenter2c_player_connect_result);

        /** packetcenter2c_player_connect_result packetId. */
        public packetId: client2center_protocols.e_server_msg_type;

        /** packetcenter2c_player_connect_result resultInfo. */
        public resultInfo?: (common_protocol.IPlayerConnectResult|null);

        /**
         * Creates a new packetcenter2c_player_connect_result instance using the specified properties.
         * @param [properties] Properties to set
         * @returns packetcenter2c_player_connect_result instance
         */
        public static create(properties?: client2center_protocols.Ipacketcenter2c_player_connect_result): client2center_protocols.packetcenter2c_player_connect_result;

        /**
         * Encodes the specified packetcenter2c_player_connect_result message. Does not implicitly {@link client2center_protocols.packetcenter2c_player_connect_result.verify|verify} messages.
         * @param message packetcenter2c_player_connect_result message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encode(message: client2center_protocols.Ipacketcenter2c_player_connect_result, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Encodes the specified packetcenter2c_player_connect_result message, length delimited. Does not implicitly {@link client2center_protocols.packetcenter2c_player_connect_result.verify|verify} messages.
         * @param message packetcenter2c_player_connect_result message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encodeDelimited(message: client2center_protocols.Ipacketcenter2c_player_connect_result, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Decodes a packetcenter2c_player_connect_result message from the specified reader or buffer.
         * @param reader Reader or buffer to decode from
         * @param [length] Message length if known beforehand
         * @returns packetcenter2c_player_connect_result
         * @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): client2center_protocols.packetcenter2c_player_connect_result;

        /**
         * Decodes a packetcenter2c_player_connect_result message from the specified reader or buffer, length delimited.
         * @param reader Reader or buffer to decode from
         * @returns packetcenter2c_player_connect_result
         * @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)): client2center_protocols.packetcenter2c_player_connect_result;

        /**
         * Verifies a packetcenter2c_player_connect_result 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 packetcenter2c_player_connect_result message from a plain object. Also converts values to their respective internal types.
         * @param object Plain object
         * @returns packetcenter2c_player_connect_result
         */
        public static fromObject(object: { [k: string]: any }): client2center_protocols.packetcenter2c_player_connect_result;

        /**
         * Creates a plain object from a packetcenter2c_player_connect_result message. Also converts values to other types if specified.
         * @param message packetcenter2c_player_connect_result
         * @param [options] Conversion options
         * @returns Plain object
         */
        public static toObject(message: client2center_protocols.packetcenter2c_player_connect_result, options?: $protobuf.IConversionOptions): { [k: string]: any };

        /**
         * Converts this packetcenter2c_player_connect_result to JSON.
         * @returns JSON object
         */
        public toJSON(): { [k: string]: any };

        /**
         * Gets the default type url for packetcenter2c_player_connect_result
         * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
         * @returns The default type url
         */
        public static getTypeUrl(typeUrlPrefix?: string): string;
    }
}

/** Namespace msg_type_def. */
export namespace msg_type_def {

    /** e_msg_result_def enum. */
    enum e_msg_result_def {
        e_rmt_unknow = 0,
        e_rmt_success = 1,
        e_rmt_fail = 2,
        e_rmt_change_gate = 3,
        e_rmt_connect_full = 4,
        e_rmt_player_max = 5,
        e_rmt_has_dial_lottery = 6,
        e_rmt_error_nickname = 7,
        e_rmt_same_nickname = 8,
        e_rmt_length_beyond_range = 9,
        e_rmt_gold_not_enough = 10,
        e_rmt_ticket_not_enough = 11,
        e_rmt_room_full = 12,
        e_rmt_vip_under = 13,
        e_rmt_player_level_under = 14,
        e_rmt_turret_level_under = 15,
        e_rmt_friend_full = 16,
        e_rmt_exists_friend = 17,
        e_rmt_player_not_exists = 18,
        e_rmt_runout_count = 19,
        e_rmt_time_not_arrive = 20,
        e_rmt_bet_index_error = 21,
        e_rmt_outof_bet_limit = 22,
        e_rmt_no_find_table = 23,
        e_rmt_pwd_not_same = 24,
        e_rmt_format_invalid = 25,
        e_rmt_need_set_pwd = 26,
        e_rmt_pwd_error = 27,
        e_rmt_not_find_item = 28,
        e_rmt_friend_offline = 29,
        e_rmt_not_in_game = 30,
        e_rmt_cant_buyitem = 31,
        e_rmt_cannot_add_self = 32,
        e_rmt_chat_too_often = 33,
        e_rmt_exp_not_enough = 34,
        e_rmt_level_max = 35,
        e_rmt_cannot_collect = 36,
        e_rmt_has_bind_phone = 37,
        e_rmt_code_error = 38,
        e_rmt_beyond_limit = 39,
        e_rmt_not_bind_phone = 40,
        e_rmt_cannot_sendto_self = 41,
        e_rmt_room_notopen = 42,
        e_rmt_bet_full = 43,
        e_rmt_game_begun = 44,
        e_rmt_banker_not_bet = 45,
        e_rmt_banker_is_full = 46,
        e_rmt_can_not_leave = 47,
        e_rmt_has_receive_reward = 48,
        e_rmt_not_recharge = 49,
        e_rmt_custom_head_freezing = 50,
        e_rmt_now_banker_first = 51,
        e_rmt_has_in_banker_list = 52,
        e_rmt_now_is_banker = 53,
        e_rmt_is_not_banker = 54,
        e_rmt_haven_apply_leave = 55,
        e_rmt_banker_not_enough = 56,
        e_rmt_banker_betgold_is_full = 57,
        e_rmt_other_betgold_is_full = 58,
        e_rmt_error_game_state = 59,
        e_rmt_box_not_exist = 60,
        e_rmt_box_has_opened = 61,
        e_rmt_thank_you_not_enough = 62,
        e_rmt_now_is_you = 63,
        e_rmt_banker_protect = 64,
        e_rmt_snatch_is_you = 65,
        e_rmt_snatch_is_low = 66,
        e_rmt_last_speaker_not_finish = 67,
        e_rmt_speaker_beyond_max_count = 68,
        e_rmt_roping_over = 69,
        e_rmt_activity_outofdate = 70,
        e_rmt_activity_not_satisfy_cond = 71,
        e_rmt_time_over = 72,
        e_rmt_not_follow = 73,
        e_rmt_not_follow_roping = 74,
        e_rmt_chip_not_enough = 75,
        e_rmt_month_card_out_date = 76,
        e_rmt_not_follow_prize_claw = 77,
        e_rmt_box_lottery_has_finish = 78,
        e_rmt_is_game_item = 79,
        e_rmt_dragon_ball_not_enough = 80,
        e_rmt_entrance_ticket_not_enough = 81,
        e_rmt_match_not_start = 82,
        e_rmt_match_will_end = 83,
        e_rmt_boss_cant_use_item = 84,
        e_rmt_lucky_not_enough = 85,
        e_rmt_item_not_enough = 86,
        e_rmt_uptype_error = 87,
        e_rmt_uplevel_fail = 88,
        e_rmt_not_open_function = 89,
        e_rmt_finish = 90,
        e_rmt_not_in_lobby = 91,
        e_rmt_not_find_cdkey = 92,
        e_rmt_has_used_cdkey = 93,
        e_rmt_cdkey_outofdate = 94,
        e_rmt_cdkey_error_overmuch = 95,
        e_rmt_has_received_cdkey_rewrad = 96,
        e_rmt_payment_only_once = 97,
        e_rmt_win_beyond_limit = 98,
        e_rmt_lose_beyond_limit = 99,
        e_rmt_player_betgold_limit = 100,
        e_rmt_rate_limit = 101,
        e_rmt_not_new_player = 102,
        e_rmt_not_friend = 103,
        e_rmt_abandon_qianggou = 104,
        e_rmt_hold_qianggou = 105,
        e_rmt_not_hold_qianggou = 106,
        e_rmt_signup_beyond_maxcount = 107,
        e_rmt_not_find_game_server = 108,
        e_rmt_game_version_error = 109,
        e_rmt_cding = 110,
        e_rmt_using = 111,
        e_rmt_item_can_not_usetime = 112,
        e_rmt_use_item_viproom = 113,
        e_rmt_dbchip_not_enough = 114,
        e_rmt_not_find_bwroom = 115,
        e_rmt_item_uselimit = 116,
        e_rmt_resign_count_limit = 117,
        e_rmt_diamond_not_enough = 118,
        e_rmt_no_buff = 119,
        e_rmt_can_not_find_fish = 120,
        e_rmt_not_signed = 121,
        e_rmt_not_completed = 122,
        e_rmt_energy_not_enought = 123,
        e_rmt_jackpot_not_enought = 124,
        e_rmt_has_bind_id_card = 125,
        e_rmt_number_error = 126,
        e_rmt_blue_level_under = 127,
        e_rmt_not_blue_lux = 128,
        e_rmt_not_blue_player = 129,
        e_rmt_not_blue_year = 130,
        e_rmt_daily_exchange_limit = 131,
        e_rmt_has_signed = 132
    }

    /** e_item_type_def enum. */
    enum e_item_type_def {
        e_itd_gold = 1,
        e_itd_diamond = 2,
        e_itd_ticket = 3,
        e_itd_count_acc = 4,
        e_itd_iconcustom = 5,
        e_itd_photoframe = 6,
        e_itd_auto_fire = 7,
        e_itd_vip = 8,
        e_itd_exchange = 9,
        e_itd_nickname = 10,
        e_itd_fish_item = 11,
        e_itd_materialstone = 12,
        e_itd_call = 13,
        e_itd_monthcard = 14,
        e_itd_active = 15,
        e_itd_turret = 16,
        e_itd_torpedo = 17,
        e_itd_dimensity = 18,
        e_itd_contribution = 19,
        e_itd_chip = 20,
        e_itd_material = 21,
        e_itd_time_acc = 22,
        e_itd_recharge = 23,
        e_itd_dimensity_discount = 24,
        e_itd_lottery_ticket = 25,
        e_itd_weekcard = 26,
        e_itd_half_price_violent = 27,
        e_itd_exchange_stone = 28,
        e_itd_turret_level = 29,
        e_itd_turret_chip = 30,
        e_itd_turret_gift = 31,
        e_itd_gift = 32,
        e_itd_dragon_ball_chip = 33,
        e_itd_give_bead = 34,
        e_itd_sex = 35,
        e_itd_createtime = 37,
        e_itd_used_bead = 38,
        e_itd_is_new_addplayer = 39,
        e_itd_channel = 40,
        e_itd_deviceid = 41,
        e_itd_player_level = 42,
        e_itd_blue_vip = 43,
        e_itd_gold_monthcard = 44,
        e_itd_diamond_monthcard = 45,
        e_itd_medium_grade_room = 50,
        e_itd_high_grade_room = 51,
        e_itd_crocodile_score = 52,
        e_itd_color_egg = 53,
        e_itd_torpedo_gift = 54,
        e_itd_activity_item = 55,
        e_itd_monkey_score = 56,
        e_itd_tomorrow_buff = 57,
        e_itd_energy = 58,
        e_itd_vip_exp = 60,
        e_itd_player_exp = 61,
        e_itd_goldingot = 62,
        e_itd_tombola = 63,
        e_itd_wing = 64,
        e_itd_buff = 100,
        e_itd_phone_card = 101,
        e_itd_jd_card = 102,
        e_itd_legendary_fish_gold = 104,
        e_itd_vip_point = 105,
        e_itd_red_packet = 106,
        e_itd_JD_chip = 107,
        e_itd_dragonball = 108,
        e_itd_glorycrystal = 109,
        e_itd_base_turret = 515,
        e_itd_trigger_event = 666
    }

    /** e_turret_def enum. */
    enum e_turret_def {
        e_turret_base = 1
    }

    /** e_item_id_def enum. */
    enum e_item_id_def {
        e_it_gold = 1,
        e_it_diamond = 2,
        e_it_ticket = 3,
        e_it_dimensity = 28,
        e_it_chip = 30
    }

    /** e_sex_def enum. */
    enum e_sex_def {
        sex_unknown = 0,
        sex_boy = 1,
        sex_girl = 2,
        sex_max = 3
    }

    /** ENotifyType enum. */
    enum ENotifyType {
        NotifyTypeSys = 200,
        NotifyTypePlayerSpeaker = 199,
        NotifyTypeWinningPrize = 198,
        NotifyTypeImportantConsume = 197,
        NotifyTypeRobot = 196
    }

    /** ENotifyShowPos enum. */
    enum ENotifyShowPos {
        pos_up = 0,
        pos_down = 1
    }

    /** BoxLotteryResult enum. */
    enum BoxLotteryResult {
        result_big_prize = 0,
        result_samll_prize = 1,
        result_thank_you = 2
    }

    /** RechargeType enum. */
    enum RechargeType {
        typeGold = 1,
        typeDiamond = 2,
        typeMonthCard = 3,
        typeNormalGift = 4,
        typeTurret = 5,
        typeLimitTimeGift = 6,
        typeTriggerGift = 7,
        typeDailyGift = 8,
        typeWeekCard = 9,
        typeVipLimitGift = 10,
        typeDailyTreasure = 11,
        typeUpToLevel = 20,
        typeNyGiftGoldChange = 21
    }
}

/** 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;
    }
}

/** Namespace common_protocol. */
export namespace common_protocol {

    /** Properties of a PlayerConnect. */
    interface IPlayerConnect {

        /** PlayerConnect account */
        account?: (string|null);

        /** PlayerConnect token */
        token?: (string|null);

        /** PlayerConnect sign */
        sign?: (string|null);

        /** PlayerConnect platform */
        platform?: (string|null);

        /** PlayerConnect payPlatform */
        payPlatform?: (string|null);

        /** PlayerConnect channel */
        channel?: (string|null);
    }

    /** Represents a PlayerConnect. */
    class PlayerConnect implements IPlayerConnect {

        /**
         * Constructs a new PlayerConnect.
         * @param [properties] Properties to set
         */
        constructor(properties?: common_protocol.IPlayerConnect);

        /** PlayerConnect account. */
        public account: string;

        /** PlayerConnect token. */
        public token: string;

        /** PlayerConnect sign. */
        public sign: string;

        /** PlayerConnect platform. */
        public platform: string;

        /** PlayerConnect payPlatform. */
        public payPlatform: string;

        /** PlayerConnect channel. */
        public channel: string;

        /**
         * Creates a new PlayerConnect instance using the specified properties.
         * @param [properties] Properties to set
         * @returns PlayerConnect instance
         */
        public static create(properties?: common_protocol.IPlayerConnect): common_protocol.PlayerConnect;

        /**
         * Encodes the specified PlayerConnect message. Does not implicitly {@link common_protocol.PlayerConnect.verify|verify} messages.
         * @param message PlayerConnect message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encode(message: common_protocol.IPlayerConnect, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Encodes the specified PlayerConnect message, length delimited. Does not implicitly {@link common_protocol.PlayerConnect.verify|verify} messages.
         * @param message PlayerConnect message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encodeDelimited(message: common_protocol.IPlayerConnect, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Decodes a PlayerConnect message from the specified reader or buffer.
         * @param reader Reader or buffer to decode from
         * @param [length] Message length if known beforehand
         * @returns PlayerConnect
         * @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): common_protocol.PlayerConnect;

        /**
         * Decodes a PlayerConnect message from the specified reader or buffer, length delimited.
         * @param reader Reader or buffer to decode from
         * @returns PlayerConnect
         * @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)): common_protocol.PlayerConnect;

        /**
         * Verifies a PlayerConnect 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 PlayerConnect message from a plain object. Also converts values to their respective internal types.
         * @param object Plain object
         * @returns PlayerConnect
         */
        public static fromObject(object: { [k: string]: any }): common_protocol.PlayerConnect;

        /**
         * Creates a plain object from a PlayerConnect message. Also converts values to other types if specified.
         * @param message PlayerConnect
         * @param [options] Conversion options
         * @returns Plain object
         */
        public static toObject(message: common_protocol.PlayerConnect, options?: $protobuf.IConversionOptions): { [k: string]: any };

        /**
         * Converts this PlayerConnect to JSON.
         * @returns JSON object
         */
        public toJSON(): { [k: string]: any };

        /**
         * Gets the default type url for PlayerConnect
         * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
         * @returns The default type url
         */
        public static getTypeUrl(typeUrlPrefix?: string): string;
    }

    /** Properties of a PlayerConnectResult. */
    interface IPlayerConnectResult {

        /** PlayerConnectResult servertime */
        servertime?: (number|null);

        /** PlayerConnectResult gaming */
        gaming?: (number|null);

        /** PlayerConnectResult ver */
        ver?: (string|null);

        /** PlayerConnectResult result */
        result?: (number|null);
    }

    /** Represents a PlayerConnectResult. */
    class PlayerConnectResult implements IPlayerConnectResult {

        /**
         * Constructs a new PlayerConnectResult.
         * @param [properties] Properties to set
         */
        constructor(properties?: common_protocol.IPlayerConnectResult);

        /** PlayerConnectResult servertime. */
        public servertime: number;

        /** PlayerConnectResult gaming. */
        public gaming: number;

        /** PlayerConnectResult ver. */
        public ver: string;

        /** PlayerConnectResult result. */
        public result: number;

        /**
         * Creates a new PlayerConnectResult instance using the specified properties.
         * @param [properties] Properties to set
         * @returns PlayerConnectResult instance
         */
        public static create(properties?: common_protocol.IPlayerConnectResult): common_protocol.PlayerConnectResult;

        /**
         * Encodes the specified PlayerConnectResult message. Does not implicitly {@link common_protocol.PlayerConnectResult.verify|verify} messages.
         * @param message PlayerConnectResult message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encode(message: common_protocol.IPlayerConnectResult, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Encodes the specified PlayerConnectResult message, length delimited. Does not implicitly {@link common_protocol.PlayerConnectResult.verify|verify} messages.
         * @param message PlayerConnectResult message or plain object to encode
         * @param [writer] Writer to encode to
         * @returns Writer
         */
        public static encodeDelimited(message: common_protocol.IPlayerConnectResult, writer?: $protobuf.Writer): $protobuf.Writer;

        /**
         * Decodes a PlayerConnectResult message from the specified reader or buffer.
         * @param reader Reader or buffer to decode from
         * @param [length] Message length if known beforehand
         * @returns PlayerConnectResult
         * @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): common_protocol.PlayerConnectResult;

        /**
         * Decodes a PlayerConnectResult message from the specified reader or buffer, length delimited.
         * @param reader Reader or buffer to decode from
         * @returns PlayerConnectResult
         * @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)): common_protocol.PlayerConnectResult;

        /**
         * Verifies a PlayerConnectResult 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 PlayerConnectResult message from a plain object. Also converts values to their respective internal types.
         * @param object Plain object
         * @returns PlayerConnectResult
         */
        public static fromObject(object: { [k: string]: any }): common_protocol.PlayerConnectResult;

        /**
         * Creates a plain object from a PlayerConnectResult message. Also converts values to other types if specified.
         * @param message PlayerConnectResult
         * @param [options] Conversion options
         * @returns Plain object
         */
        public static toObject(message: common_protocol.PlayerConnectResult, options?: $protobuf.IConversionOptions): { [k: string]: any };

        /**
         * Converts this PlayerConnectResult to JSON.
         * @returns JSON object
         */
        public toJSON(): { [k: string]: any };

        /**
         * Gets the default type url for PlayerConnectResult
         * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
         * @returns The default type url
         */
        public static getTypeUrl(typeUrlPrefix?: string): string;
    }
}
