import * as $protobuf from "protobufjs"; /** Namespace hallproto. */ export namespace hallproto { /** ENUM_C2S_ID enum. */ enum ENUM_C2S_ID { GET_GAMEINFO = 1, UPTO_GAMEINFO = 2 } /** ENUM_S2C_ID enum. */ enum ENUM_S2C_ID { USERINFO_RESP = 101 } /** Properties of a MeansProp. */ interface IMeansProp { /** MeansProp num */ num?: (number|Long|null); /** MeansProp bUnlock */ bUnlock?: (boolean|null); /** MeansProp unlockfee */ unlockfee?: (number|null); /** MeansProp level */ level?: (number|null); /** MeansProp catchFishes */ catchFishes?: (number[]|null); } /** Represents a MeansProp. */ class MeansProp implements IMeansProp { /** * Constructs a new MeansProp. * @param [properties] Properties to set */ constructor(properties?: hallproto.IMeansProp); /** MeansProp num. */ public num: (number|Long); /** MeansProp bUnlock. */ public bUnlock: boolean; /** MeansProp unlockfee. */ public unlockfee: number; /** MeansProp level. */ public level: number; /** MeansProp catchFishes. */ public catchFishes: number[]; /** * Creates a new MeansProp instance using the specified properties. * @param [properties] Properties to set * @returns MeansProp instance */ public static create(properties?: hallproto.IMeansProp): hallproto.MeansProp; /** * Encodes the specified MeansProp message. Does not implicitly {@link hallproto.MeansProp.verify|verify} messages. * @param message MeansProp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: hallproto.IMeansProp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MeansProp message, length delimited. Does not implicitly {@link hallproto.MeansProp.verify|verify} messages. * @param message MeansProp message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: hallproto.IMeansProp, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MeansProp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MeansProp * @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): hallproto.MeansProp; /** * Decodes a MeansProp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MeansProp * @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)): hallproto.MeansProp; /** * Verifies a MeansProp 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 MeansProp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MeansProp */ public static fromObject(object: { [k: string]: any }): hallproto.MeansProp; /** * Creates a plain object from a MeansProp message. Also converts values to other types if specified. * @param message MeansProp * @param [options] Conversion options * @returns Plain object */ public static toObject(message: hallproto.MeansProp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MeansProp to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a MeansData. */ interface IMeansData { /** MeansData id */ id?: (number|null); /** MeansData prop */ prop?: (hallproto.IMeansProp|null); } /** Represents a MeansData. */ class MeansData implements IMeansData { /** * Constructs a new MeansData. * @param [properties] Properties to set */ constructor(properties?: hallproto.IMeansData); /** MeansData id. */ public id: number; /** MeansData prop. */ public prop?: (hallproto.IMeansProp|null); /** * Creates a new MeansData instance using the specified properties. * @param [properties] Properties to set * @returns MeansData instance */ public static create(properties?: hallproto.IMeansData): hallproto.MeansData; /** * Encodes the specified MeansData message. Does not implicitly {@link hallproto.MeansData.verify|verify} messages. * @param message MeansData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: hallproto.IMeansData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MeansData message, length delimited. Does not implicitly {@link hallproto.MeansData.verify|verify} messages. * @param message MeansData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: hallproto.IMeansData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MeansData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns MeansData * @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): hallproto.MeansData; /** * Decodes a MeansData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns MeansData * @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)): hallproto.MeansData; /** * Verifies a MeansData 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 MeansData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MeansData */ public static fromObject(object: { [k: string]: any }): hallproto.MeansData; /** * Creates a plain object from a MeansData message. Also converts values to other types if specified. * @param message MeansData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: hallproto.MeansData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MeansData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a SingInData. */ interface ISingInData { /** SingInData weekOnetime */ weekOnetime?: (number|Long|null); /** SingInData singInlist */ singInlist?: (hallproto.SingInData.IsingIn[]|null); } /** Represents a SingInData. */ class SingInData implements ISingInData { /** * Constructs a new SingInData. * @param [properties] Properties to set */ constructor(properties?: hallproto.ISingInData); /** SingInData weekOnetime. */ public weekOnetime: (number|Long); /** SingInData singInlist. */ public singInlist: hallproto.SingInData.IsingIn[]; /** * Creates a new SingInData instance using the specified properties. * @param [properties] Properties to set * @returns SingInData instance */ public static create(properties?: hallproto.ISingInData): hallproto.SingInData; /** * Encodes the specified SingInData message. Does not implicitly {@link hallproto.SingInData.verify|verify} messages. * @param message SingInData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: hallproto.ISingInData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SingInData message, length delimited. Does not implicitly {@link hallproto.SingInData.verify|verify} messages. * @param message SingInData message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: hallproto.ISingInData, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SingInData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns SingInData * @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): hallproto.SingInData; /** * Decodes a SingInData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns SingInData * @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)): hallproto.SingInData; /** * Verifies a SingInData 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 SingInData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SingInData */ public static fromObject(object: { [k: string]: any }): hallproto.SingInData; /** * Creates a plain object from a SingInData message. Also converts values to other types if specified. * @param message SingInData * @param [options] Conversion options * @returns Plain object */ public static toObject(message: hallproto.SingInData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SingInData to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } namespace SingInData { /** Properties of a singIn. */ interface IsingIn { /** singIn weekDay */ weekDay?: (number|null); /** singIn sInType */ sInType?: (number|null); } /** Represents a singIn. */ class singIn implements IsingIn { /** * Constructs a new singIn. * @param [properties] Properties to set */ constructor(properties?: hallproto.SingInData.IsingIn); /** singIn weekDay. */ public weekDay: number; /** singIn sInType. */ public sInType: number; /** * Creates a new singIn instance using the specified properties. * @param [properties] Properties to set * @returns singIn instance */ public static create(properties?: hallproto.SingInData.IsingIn): hallproto.SingInData.singIn; /** * Encodes the specified singIn message. Does not implicitly {@link hallproto.SingInData.singIn.verify|verify} messages. * @param message singIn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: hallproto.SingInData.IsingIn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified singIn message, length delimited. Does not implicitly {@link hallproto.SingInData.singIn.verify|verify} messages. * @param message singIn message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: hallproto.SingInData.IsingIn, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a singIn message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns singIn * @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): hallproto.SingInData.singIn; /** * Decodes a singIn message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns singIn * @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)): hallproto.SingInData.singIn; /** * Verifies a singIn 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 singIn message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns singIn */ public static fromObject(object: { [k: string]: any }): hallproto.SingInData.singIn; /** * Creates a plain object from a singIn message. Also converts values to other types if specified. * @param message singIn * @param [options] Conversion options * @returns Plain object */ public static toObject(message: hallproto.SingInData.singIn, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this singIn to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Properties of a CMD_GAMEINFO. */ interface ICMD_GAMEINFO { /** CMD_GAMEINFO userId */ userId?: (number|null); /** CMD_GAMEINFO meansData */ meansData?: (hallproto.IMeansData[]|null); /** CMD_GAMEINFO singInData */ singInData?: (hallproto.ISingInData|null); } /** Represents a CMD_GAMEINFO. */ class CMD_GAMEINFO implements ICMD_GAMEINFO { /** * Constructs a new CMD_GAMEINFO. * @param [properties] Properties to set */ constructor(properties?: hallproto.ICMD_GAMEINFO); /** CMD_GAMEINFO userId. */ public userId: number; /** CMD_GAMEINFO meansData. */ public meansData: hallproto.IMeansData[]; /** CMD_GAMEINFO singInData. */ public singInData?: (hallproto.ISingInData|null); /** * Creates a new CMD_GAMEINFO instance using the specified properties. * @param [properties] Properties to set * @returns CMD_GAMEINFO instance */ public static create(properties?: hallproto.ICMD_GAMEINFO): hallproto.CMD_GAMEINFO; /** * Encodes the specified CMD_GAMEINFO message. Does not implicitly {@link hallproto.CMD_GAMEINFO.verify|verify} messages. * @param message CMD_GAMEINFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: hallproto.ICMD_GAMEINFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CMD_GAMEINFO message, length delimited. Does not implicitly {@link hallproto.CMD_GAMEINFO.verify|verify} messages. * @param message CMD_GAMEINFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: hallproto.ICMD_GAMEINFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CMD_GAMEINFO message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CMD_GAMEINFO * @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): hallproto.CMD_GAMEINFO; /** * Decodes a CMD_GAMEINFO message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CMD_GAMEINFO * @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)): hallproto.CMD_GAMEINFO; /** * Verifies a CMD_GAMEINFO 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 CMD_GAMEINFO message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CMD_GAMEINFO */ public static fromObject(object: { [k: string]: any }): hallproto.CMD_GAMEINFO; /** * Creates a plain object from a CMD_GAMEINFO message. Also converts values to other types if specified. * @param message CMD_GAMEINFO * @param [options] Conversion options * @returns Plain object */ public static toObject(message: hallproto.CMD_GAMEINFO, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CMD_GAMEINFO to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } } /** Namespace tokenproto. */ export namespace tokenproto { /** ENUM_C2S_ID enum. */ enum ENUM_C2S_ID { TOKEN_BY_CLIENT = 1, TOKEN_BY_ACCOUNT = 2, TOKEN_BY_PLATFORM = 3 } /** ENUM_S2C_ID enum. */ enum ENUM_S2C_ID { TOKEN_RESP = 100 } /** Properties of a CMD_C2S_CLIENTINFO. */ interface ICMD_C2S_CLIENTINFO { /** CMD_C2S_CLIENTINFO uuid */ uuid?: (string|null); } /** Represents a CMD_C2S_CLIENTINFO. */ class CMD_C2S_CLIENTINFO implements ICMD_C2S_CLIENTINFO { /** * Constructs a new CMD_C2S_CLIENTINFO. * @param [properties] Properties to set */ constructor(properties?: tokenproto.ICMD_C2S_CLIENTINFO); /** CMD_C2S_CLIENTINFO uuid. */ public uuid: string; /** * Creates a new CMD_C2S_CLIENTINFO instance using the specified properties. * @param [properties] Properties to set * @returns CMD_C2S_CLIENTINFO instance */ public static create(properties?: tokenproto.ICMD_C2S_CLIENTINFO): tokenproto.CMD_C2S_CLIENTINFO; /** * Encodes the specified CMD_C2S_CLIENTINFO message. Does not implicitly {@link tokenproto.CMD_C2S_CLIENTINFO.verify|verify} messages. * @param message CMD_C2S_CLIENTINFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: tokenproto.ICMD_C2S_CLIENTINFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CMD_C2S_CLIENTINFO message, length delimited. Does not implicitly {@link tokenproto.CMD_C2S_CLIENTINFO.verify|verify} messages. * @param message CMD_C2S_CLIENTINFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: tokenproto.ICMD_C2S_CLIENTINFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CMD_C2S_CLIENTINFO message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CMD_C2S_CLIENTINFO * @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): tokenproto.CMD_C2S_CLIENTINFO; /** * Decodes a CMD_C2S_CLIENTINFO message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CMD_C2S_CLIENTINFO * @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)): tokenproto.CMD_C2S_CLIENTINFO; /** * Verifies a CMD_C2S_CLIENTINFO 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 CMD_C2S_CLIENTINFO message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CMD_C2S_CLIENTINFO */ public static fromObject(object: { [k: string]: any }): tokenproto.CMD_C2S_CLIENTINFO; /** * Creates a plain object from a CMD_C2S_CLIENTINFO message. Also converts values to other types if specified. * @param message CMD_C2S_CLIENTINFO * @param [options] Conversion options * @returns Plain object */ public static toObject(message: tokenproto.CMD_C2S_CLIENTINFO, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CMD_C2S_CLIENTINFO to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CMD_C2S_ACCOUNT. */ interface ICMD_C2S_ACCOUNT { /** CMD_C2S_ACCOUNT account */ account?: (string|null); /** CMD_C2S_ACCOUNT code */ code?: (string|null); } /** Represents a CMD_C2S_ACCOUNT. */ class CMD_C2S_ACCOUNT implements ICMD_C2S_ACCOUNT { /** * Constructs a new CMD_C2S_ACCOUNT. * @param [properties] Properties to set */ constructor(properties?: tokenproto.ICMD_C2S_ACCOUNT); /** CMD_C2S_ACCOUNT account. */ public account: string; /** CMD_C2S_ACCOUNT code. */ public code: string; /** * Creates a new CMD_C2S_ACCOUNT instance using the specified properties. * @param [properties] Properties to set * @returns CMD_C2S_ACCOUNT instance */ public static create(properties?: tokenproto.ICMD_C2S_ACCOUNT): tokenproto.CMD_C2S_ACCOUNT; /** * Encodes the specified CMD_C2S_ACCOUNT message. Does not implicitly {@link tokenproto.CMD_C2S_ACCOUNT.verify|verify} messages. * @param message CMD_C2S_ACCOUNT message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: tokenproto.ICMD_C2S_ACCOUNT, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CMD_C2S_ACCOUNT message, length delimited. Does not implicitly {@link tokenproto.CMD_C2S_ACCOUNT.verify|verify} messages. * @param message CMD_C2S_ACCOUNT message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: tokenproto.ICMD_C2S_ACCOUNT, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CMD_C2S_ACCOUNT message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CMD_C2S_ACCOUNT * @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): tokenproto.CMD_C2S_ACCOUNT; /** * Decodes a CMD_C2S_ACCOUNT message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CMD_C2S_ACCOUNT * @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)): tokenproto.CMD_C2S_ACCOUNT; /** * Verifies a CMD_C2S_ACCOUNT 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 CMD_C2S_ACCOUNT message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CMD_C2S_ACCOUNT */ public static fromObject(object: { [k: string]: any }): tokenproto.CMD_C2S_ACCOUNT; /** * Creates a plain object from a CMD_C2S_ACCOUNT message. Also converts values to other types if specified. * @param message CMD_C2S_ACCOUNT * @param [options] Conversion options * @returns Plain object */ public static toObject(message: tokenproto.CMD_C2S_ACCOUNT, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CMD_C2S_ACCOUNT to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } /** Properties of a CMD_S2C_TOKEN_INFO. */ interface ICMD_S2C_TOKEN_INFO { /** CMD_S2C_TOKEN_INFO code */ code?: (number|null); /** CMD_S2C_TOKEN_INFO tokenStr */ tokenStr?: (string|null); } /** Represents a CMD_S2C_TOKEN_INFO. */ class CMD_S2C_TOKEN_INFO implements ICMD_S2C_TOKEN_INFO { /** * Constructs a new CMD_S2C_TOKEN_INFO. * @param [properties] Properties to set */ constructor(properties?: tokenproto.ICMD_S2C_TOKEN_INFO); /** CMD_S2C_TOKEN_INFO code. */ public code: number; /** CMD_S2C_TOKEN_INFO tokenStr. */ public tokenStr: string; /** * Creates a new CMD_S2C_TOKEN_INFO instance using the specified properties. * @param [properties] Properties to set * @returns CMD_S2C_TOKEN_INFO instance */ public static create(properties?: tokenproto.ICMD_S2C_TOKEN_INFO): tokenproto.CMD_S2C_TOKEN_INFO; /** * Encodes the specified CMD_S2C_TOKEN_INFO message. Does not implicitly {@link tokenproto.CMD_S2C_TOKEN_INFO.verify|verify} messages. * @param message CMD_S2C_TOKEN_INFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encode(message: tokenproto.ICMD_S2C_TOKEN_INFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CMD_S2C_TOKEN_INFO message, length delimited. Does not implicitly {@link tokenproto.CMD_S2C_TOKEN_INFO.verify|verify} messages. * @param message CMD_S2C_TOKEN_INFO message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ public static encodeDelimited(message: tokenproto.ICMD_S2C_TOKEN_INFO, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CMD_S2C_TOKEN_INFO message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand * @returns CMD_S2C_TOKEN_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): tokenproto.CMD_S2C_TOKEN_INFO; /** * Decodes a CMD_S2C_TOKEN_INFO message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from * @returns CMD_S2C_TOKEN_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)): tokenproto.CMD_S2C_TOKEN_INFO; /** * Verifies a CMD_S2C_TOKEN_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 CMD_S2C_TOKEN_INFO message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CMD_S2C_TOKEN_INFO */ public static fromObject(object: { [k: string]: any }): tokenproto.CMD_S2C_TOKEN_INFO; /** * Creates a plain object from a CMD_S2C_TOKEN_INFO message. Also converts values to other types if specified. * @param message CMD_S2C_TOKEN_INFO * @param [options] Conversion options * @returns Plain object */ public static toObject(message: tokenproto.CMD_S2C_TOKEN_INFO, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CMD_S2C_TOKEN_INFO to JSON. * @returns JSON object */ public toJSON(): { [k: string]: any }; } }