|
|
@@ -23,11 +23,77 @@ goog.exportSymbol('proto.to.v1.ToActionSimple', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.ToActionUsersDetailReply', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.ToAnyUserHistoryGpsQueryRequest', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.ToMapInfo', null, global);
|
|
|
+goog.exportSymbol('proto.to.v1.ToSendCodeToPhoneRequest', null, global);
|
|
|
+goog.exportSymbol('proto.to.v1.ToSignInRequest', null, global);
|
|
|
+goog.exportSymbol('proto.to.v1.ToSignOutRequest', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.ToUserGpsQueryReply', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.ToUsersInGameHistoryGpsQueryRequest', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.UserArriveControlPoint', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.UserGpsInfo', null, global);
|
|
|
goog.exportSymbol('proto.to.v1.UserInGameInfo', null, global);
|
|
|
+/**
|
|
|
+ * Generated by JsPbCodeGenerator.
|
|
|
+ * @param {Array=} opt_data Optional initial data array, typically from a
|
|
|
+ * server response, or constructed directly in Javascript. The array is used
|
|
|
+ * in place and becomes part of the constructed object. It is not cloned.
|
|
|
+ * If no data is provided, the constructed object will be empty, but still
|
|
|
+ * valid.
|
|
|
+ * @extends {jspb.Message}
|
|
|
+ * @constructor
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest = function(opt_data) {
|
|
|
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
|
+};
|
|
|
+goog.inherits(proto.to.v1.ToSignOutRequest, jspb.Message);
|
|
|
+if (goog.DEBUG && !COMPILED) {
|
|
|
+ /**
|
|
|
+ * @public
|
|
|
+ * @override
|
|
|
+ */
|
|
|
+ proto.to.v1.ToSignOutRequest.displayName = 'proto.to.v1.ToSignOutRequest';
|
|
|
+}
|
|
|
+/**
|
|
|
+ * Generated by JsPbCodeGenerator.
|
|
|
+ * @param {Array=} opt_data Optional initial data array, typically from a
|
|
|
+ * server response, or constructed directly in Javascript. The array is used
|
|
|
+ * in place and becomes part of the constructed object. It is not cloned.
|
|
|
+ * If no data is provided, the constructed object will be empty, but still
|
|
|
+ * valid.
|
|
|
+ * @extends {jspb.Message}
|
|
|
+ * @constructor
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest = function(opt_data) {
|
|
|
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
|
+};
|
|
|
+goog.inherits(proto.to.v1.ToSendCodeToPhoneRequest, jspb.Message);
|
|
|
+if (goog.DEBUG && !COMPILED) {
|
|
|
+ /**
|
|
|
+ * @public
|
|
|
+ * @override
|
|
|
+ */
|
|
|
+ proto.to.v1.ToSendCodeToPhoneRequest.displayName = 'proto.to.v1.ToSendCodeToPhoneRequest';
|
|
|
+}
|
|
|
+/**
|
|
|
+ * Generated by JsPbCodeGenerator.
|
|
|
+ * @param {Array=} opt_data Optional initial data array, typically from a
|
|
|
+ * server response, or constructed directly in Javascript. The array is used
|
|
|
+ * in place and becomes part of the constructed object. It is not cloned.
|
|
|
+ * If no data is provided, the constructed object will be empty, but still
|
|
|
+ * valid.
|
|
|
+ * @extends {jspb.Message}
|
|
|
+ * @constructor
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest = function(opt_data) {
|
|
|
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
|
+};
|
|
|
+goog.inherits(proto.to.v1.ToSignInRequest, jspb.Message);
|
|
|
+if (goog.DEBUG && !COMPILED) {
|
|
|
+ /**
|
|
|
+ * @public
|
|
|
+ * @override
|
|
|
+ */
|
|
|
+ proto.to.v1.ToSignInRequest.displayName = 'proto.to.v1.ToSignInRequest';
|
|
|
+}
|
|
|
/**
|
|
|
* Generated by JsPbCodeGenerator.
|
|
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
|
@@ -260,6 +326,516 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
proto.to.v1.UserArriveControlPoint.displayName = 'proto.to.v1.UserArriveControlPoint';
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
+/**
|
|
|
+ * Creates an object representation of this proto.
|
|
|
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
|
+ * Optional fields that are not set will be set to undefined.
|
|
|
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
|
+ * For the list of reserved names please see:
|
|
|
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
|
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
|
+ * JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @return {!Object}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
+ return proto.to.v1.ToSignOutRequest.toObject(opt_includeInstance, this);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Static version of the {@see toObject} method.
|
|
|
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
|
+ * the JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @param {!proto.to.v1.ToSignOutRequest} msg The msg instance to transform.
|
|
|
+ * @return {!Object}
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.toObject = function(includeInstance, msg) {
|
|
|
+ var f, obj = {
|
|
|
+ name: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
+ };
|
|
|
+
|
|
|
+ if (includeInstance) {
|
|
|
+ obj.$jspbMessageInstance = msg;
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
+};
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format).
|
|
|
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
|
+ * @return {!proto.to.v1.ToSignOutRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.deserializeBinary = function(bytes) {
|
|
|
+ var reader = new jspb.BinaryReader(bytes);
|
|
|
+ var msg = new proto.to.v1.ToSignOutRequest;
|
|
|
+ return proto.to.v1.ToSignOutRequest.deserializeBinaryFromReader(msg, reader);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format) from the
|
|
|
+ * given reader into the given message object.
|
|
|
+ * @param {!proto.to.v1.ToSignOutRequest} msg The message object to deserialize into.
|
|
|
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
|
+ * @return {!proto.to.v1.ToSignOutRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
+ while (reader.nextField()) {
|
|
|
+ if (reader.isEndGroup()) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ var field = reader.getFieldNumber();
|
|
|
+ switch (field) {
|
|
|
+ case 1:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setName(value);
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ reader.skipField();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return msg;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the message to binary data (in protobuf wire format).
|
|
|
+ * @return {!Uint8Array}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.prototype.serializeBinary = function() {
|
|
|
+ var writer = new jspb.BinaryWriter();
|
|
|
+ proto.to.v1.ToSignOutRequest.serializeBinaryToWriter(this, writer);
|
|
|
+ return writer.getResultBuffer();
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the given message to binary data (in protobuf wire
|
|
|
+ * format), writing to the given BinaryWriter.
|
|
|
+ * @param {!proto.to.v1.ToSignOutRequest} message
|
|
|
+ * @param {!jspb.BinaryWriter} writer
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
+ var f = undefined;
|
|
|
+ f = message.getName();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 1,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string name = 1;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.prototype.getName = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.ToSignOutRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignOutRequest.prototype.setName = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 1, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
+/**
|
|
|
+ * Creates an object representation of this proto.
|
|
|
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
|
+ * Optional fields that are not set will be set to undefined.
|
|
|
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
|
+ * For the list of reserved names please see:
|
|
|
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
|
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
|
+ * JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @return {!Object}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
+ return proto.to.v1.ToSendCodeToPhoneRequest.toObject(opt_includeInstance, this);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Static version of the {@see toObject} method.
|
|
|
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
|
+ * the JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @param {!proto.to.v1.ToSendCodeToPhoneRequest} msg The msg instance to transform.
|
|
|
+ * @return {!Object}
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.toObject = function(includeInstance, msg) {
|
|
|
+ var f, obj = {
|
|
|
+ phone: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
+ usertype: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
|
+ smstype: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
|
+ };
|
|
|
+
|
|
|
+ if (includeInstance) {
|
|
|
+ obj.$jspbMessageInstance = msg;
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
+};
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format).
|
|
|
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
|
+ * @return {!proto.to.v1.ToSendCodeToPhoneRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.deserializeBinary = function(bytes) {
|
|
|
+ var reader = new jspb.BinaryReader(bytes);
|
|
|
+ var msg = new proto.to.v1.ToSendCodeToPhoneRequest;
|
|
|
+ return proto.to.v1.ToSendCodeToPhoneRequest.deserializeBinaryFromReader(msg, reader);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format) from the
|
|
|
+ * given reader into the given message object.
|
|
|
+ * @param {!proto.to.v1.ToSendCodeToPhoneRequest} msg The message object to deserialize into.
|
|
|
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
|
+ * @return {!proto.to.v1.ToSendCodeToPhoneRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
+ while (reader.nextField()) {
|
|
|
+ if (reader.isEndGroup()) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ var field = reader.getFieldNumber();
|
|
|
+ switch (field) {
|
|
|
+ case 1:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setPhone(value);
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ var value = /** @type {!proto.base.v1.UserType} */ (reader.readEnum());
|
|
|
+ msg.setUsertype(value);
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ var value = /** @type {!proto.base.v1.SmsType} */ (reader.readEnum());
|
|
|
+ msg.setSmstype(value);
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ reader.skipField();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return msg;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the message to binary data (in protobuf wire format).
|
|
|
+ * @return {!Uint8Array}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.serializeBinary = function() {
|
|
|
+ var writer = new jspb.BinaryWriter();
|
|
|
+ proto.to.v1.ToSendCodeToPhoneRequest.serializeBinaryToWriter(this, writer);
|
|
|
+ return writer.getResultBuffer();
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the given message to binary data (in protobuf wire
|
|
|
+ * format), writing to the given BinaryWriter.
|
|
|
+ * @param {!proto.to.v1.ToSendCodeToPhoneRequest} message
|
|
|
+ * @param {!jspb.BinaryWriter} writer
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
+ var f = undefined;
|
|
|
+ f = message.getPhone();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 1,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+ f = message.getUsertype();
|
|
|
+ if (f !== 0.0) {
|
|
|
+ writer.writeEnum(
|
|
|
+ 2,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+ f = message.getSmstype();
|
|
|
+ if (f !== 0.0) {
|
|
|
+ writer.writeEnum(
|
|
|
+ 3,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string phone = 1;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.getPhone = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.ToSendCodeToPhoneRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.setPhone = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 1, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional base.v1.UserType userType = 2;
|
|
|
+ * @return {!proto.base.v1.UserType}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.getUsertype = function() {
|
|
|
+ return /** @type {!proto.base.v1.UserType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {!proto.base.v1.UserType} value
|
|
|
+ * @return {!proto.to.v1.ToSendCodeToPhoneRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.setUsertype = function(value) {
|
|
|
+ return jspb.Message.setProto3EnumField(this, 2, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional base.v1.SmsType smsType = 3;
|
|
|
+ * @return {!proto.base.v1.SmsType}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.getSmstype = function() {
|
|
|
+ return /** @type {!proto.base.v1.SmsType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {!proto.base.v1.SmsType} value
|
|
|
+ * @return {!proto.to.v1.ToSendCodeToPhoneRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSendCodeToPhoneRequest.prototype.setSmstype = function(value) {
|
|
|
+ return jspb.Message.setProto3EnumField(this, 3, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
+/**
|
|
|
+ * Creates an object representation of this proto.
|
|
|
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
|
+ * Optional fields that are not set will be set to undefined.
|
|
|
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
|
+ * For the list of reserved names please see:
|
|
|
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
|
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
|
+ * JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @return {!Object}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
+ return proto.to.v1.ToSignInRequest.toObject(opt_includeInstance, this);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Static version of the {@see toObject} method.
|
|
|
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
|
+ * the JSPB instance for transitional soy proto support:
|
|
|
+ * http://goto/soy-param-migration
|
|
|
+ * @param {!proto.to.v1.ToSignInRequest} msg The msg instance to transform.
|
|
|
+ * @return {!Object}
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.toObject = function(includeInstance, msg) {
|
|
|
+ var f, obj = {
|
|
|
+ usercode: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
+ password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
+ ip: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
|
+ };
|
|
|
+
|
|
|
+ if (includeInstance) {
|
|
|
+ obj.$jspbMessageInstance = msg;
|
|
|
+ }
|
|
|
+ return obj;
|
|
|
+};
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format).
|
|
|
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
|
+ * @return {!proto.to.v1.ToSignInRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.deserializeBinary = function(bytes) {
|
|
|
+ var reader = new jspb.BinaryReader(bytes);
|
|
|
+ var msg = new proto.to.v1.ToSignInRequest;
|
|
|
+ return proto.to.v1.ToSignInRequest.deserializeBinaryFromReader(msg, reader);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Deserializes binary data (in protobuf wire format) from the
|
|
|
+ * given reader into the given message object.
|
|
|
+ * @param {!proto.to.v1.ToSignInRequest} msg The message object to deserialize into.
|
|
|
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
|
+ * @return {!proto.to.v1.ToSignInRequest}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
+ while (reader.nextField()) {
|
|
|
+ if (reader.isEndGroup()) {
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ var field = reader.getFieldNumber();
|
|
|
+ switch (field) {
|
|
|
+ case 1:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setUsercode(value);
|
|
|
+ break;
|
|
|
+ case 2:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setPassword(value);
|
|
|
+ break;
|
|
|
+ case 3:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setIp(value);
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ reader.skipField();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return msg;
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the message to binary data (in protobuf wire format).
|
|
|
+ * @return {!Uint8Array}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.serializeBinary = function() {
|
|
|
+ var writer = new jspb.BinaryWriter();
|
|
|
+ proto.to.v1.ToSignInRequest.serializeBinaryToWriter(this, writer);
|
|
|
+ return writer.getResultBuffer();
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * Serializes the given message to binary data (in protobuf wire
|
|
|
+ * format), writing to the given BinaryWriter.
|
|
|
+ * @param {!proto.to.v1.ToSignInRequest} message
|
|
|
+ * @param {!jspb.BinaryWriter} writer
|
|
|
+ * @suppress {unusedLocalVariables} f is only used for nested messages
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
+ var f = undefined;
|
|
|
+ f = message.getUsercode();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 1,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+ f = message.getPassword();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 2,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+ f = message.getIp();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 3,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string userCode = 1;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.getUsercode = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.ToSignInRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.setUsercode = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 1, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string password = 2;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.getPassword = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.ToSignInRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.setPassword = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 2, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string ip = 3;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.getIp = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.ToSignInRequest} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.ToSignInRequest.prototype.setIp = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 3, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* List of repeated fields within this message type.
|
|
|
* @private {!Array<number>}
|
|
|
@@ -1566,7 +2142,9 @@ proto.to.v1.UserInGameInfo.toObject = function(includeInstance, msg) {
|
|
|
totalcontrolnum: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
|
startsecondstamp: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
|
endsecondstamp: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
|
- mstate: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
|
+ mstate: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
|
+ lasthr: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
|
+ phone: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
|
};
|
|
|
|
|
|
if (includeInstance) {
|
|
|
@@ -1659,6 +2237,14 @@ proto.to.v1.UserInGameInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
var value = /** @type {number} */ (reader.readInt32());
|
|
|
msg.setMstate(value);
|
|
|
break;
|
|
|
+ case 15:
|
|
|
+ var value = /** @type {number} */ (reader.readInt32());
|
|
|
+ msg.setLasthr(value);
|
|
|
+ break;
|
|
|
+ case 16:
|
|
|
+ var value = /** @type {string} */ (reader.readString());
|
|
|
+ msg.setPhone(value);
|
|
|
+ break;
|
|
|
default:
|
|
|
reader.skipField();
|
|
|
break;
|
|
|
@@ -1786,6 +2372,20 @@ proto.to.v1.UserInGameInfo.serializeBinaryToWriter = function(message, writer) {
|
|
|
f
|
|
|
);
|
|
|
}
|
|
|
+ f = message.getLasthr();
|
|
|
+ if (f !== 0) {
|
|
|
+ writer.writeInt32(
|
|
|
+ 15,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
+ f = message.getPhone();
|
|
|
+ if (f.length > 0) {
|
|
|
+ writer.writeString(
|
|
|
+ 16,
|
|
|
+ f
|
|
|
+ );
|
|
|
+ }
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2041,6 +2641,42 @@ proto.to.v1.UserInGameInfo.prototype.setMstate = function(value) {
|
|
|
};
|
|
|
|
|
|
|
|
|
+/**
|
|
|
+ * optional int32 lastHr = 15;
|
|
|
+ * @return {number}
|
|
|
+ */
|
|
|
+proto.to.v1.UserInGameInfo.prototype.getLasthr = function() {
|
|
|
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {number} value
|
|
|
+ * @return {!proto.to.v1.UserInGameInfo} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.UserInGameInfo.prototype.setLasthr = function(value) {
|
|
|
+ return jspb.Message.setProto3IntField(this, 15, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * optional string phone = 16;
|
|
|
+ * @return {string}
|
|
|
+ */
|
|
|
+proto.to.v1.UserInGameInfo.prototype.getPhone = function() {
|
|
|
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * @param {string} value
|
|
|
+ * @return {!proto.to.v1.UserInGameInfo} returns this
|
|
|
+ */
|
|
|
+proto.to.v1.UserInGameInfo.prototype.setPhone = function(value) {
|
|
|
+ return jspb.Message.setProto3StringField(this, 16, value);
|
|
|
+};
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* List of repeated fields within this message type.
|
|
|
@@ -2675,7 +3311,7 @@ proto.to.v1.UserGpsInfo.toObject = function(includeInstance, msg) {
|
|
|
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
|
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
|
directionradian: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
|
- gpstimemillisecondstamp: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
|
+ gpstimesecondstamp: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
|
};
|
|
|
|
|
|
if (includeInstance) {
|
|
|
@@ -2730,7 +3366,7 @@ proto.to.v1.UserGpsInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
break;
|
|
|
case 5:
|
|
|
var value = /** @type {number} */ (reader.readInt64());
|
|
|
- msg.setGpstimemillisecondstamp(value);
|
|
|
+ msg.setGpstimesecondstamp(value);
|
|
|
break;
|
|
|
default:
|
|
|
reader.skipField();
|
|
|
@@ -2789,7 +3425,7 @@ proto.to.v1.UserGpsInfo.serializeBinaryToWriter = function(message, writer) {
|
|
|
f
|
|
|
);
|
|
|
}
|
|
|
- f = message.getGpstimemillisecondstamp();
|
|
|
+ f = message.getGpstimesecondstamp();
|
|
|
if (f !== 0) {
|
|
|
writer.writeInt64(
|
|
|
5,
|
|
|
@@ -2872,10 +3508,10 @@ proto.to.v1.UserGpsInfo.prototype.setDirectionradian = function(value) {
|
|
|
|
|
|
|
|
|
/**
|
|
|
- * optional int64 gpsTimeMillisecondStamp = 5;
|
|
|
+ * optional int64 gpsTimeSecondStamp = 5;
|
|
|
* @return {number}
|
|
|
*/
|
|
|
-proto.to.v1.UserGpsInfo.prototype.getGpstimemillisecondstamp = function() {
|
|
|
+proto.to.v1.UserGpsInfo.prototype.getGpstimesecondstamp = function() {
|
|
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
|
};
|
|
|
|
|
|
@@ -2884,7 +3520,7 @@ proto.to.v1.UserGpsInfo.prototype.getGpstimemillisecondstamp = function() {
|
|
|
* @param {number} value
|
|
|
* @return {!proto.to.v1.UserGpsInfo} returns this
|
|
|
*/
|
|
|
-proto.to.v1.UserGpsInfo.prototype.setGpstimemillisecondstamp = function(value) {
|
|
|
+proto.to.v1.UserGpsInfo.prototype.setGpstimesecondstamp = function(value) {
|
|
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
|
};
|
|
|
|