Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
7656c76f94
|
@ -85983,9 +85983,9 @@ public final class CommonProto {
|
|||
*/
|
||||
int getLevel();
|
||||
|
||||
// optional int32 remainHp = 4;
|
||||
// optional double remainHp = 4;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -85993,13 +85993,13 @@ public final class CommonProto {
|
|||
*/
|
||||
boolean hasRemainHp();
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
int getRemainHp();
|
||||
double getRemainHp();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionSimpleBossInfo}
|
||||
|
@ -86067,9 +86067,9 @@ public final class CommonProto {
|
|||
level_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
case 33: {
|
||||
bitField0_ |= 0x00000008;
|
||||
remainHp_ = input.readInt32();
|
||||
remainHp_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -86168,11 +86168,11 @@ public final class CommonProto {
|
|||
return level_;
|
||||
}
|
||||
|
||||
// optional int32 remainHp = 4;
|
||||
// optional double remainHp = 4;
|
||||
public static final int REMAINHP_FIELD_NUMBER = 4;
|
||||
private int remainHp_;
|
||||
private double remainHp_;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -86182,13 +86182,13 @@ public final class CommonProto {
|
|||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public int getRemainHp() {
|
||||
public double getRemainHp() {
|
||||
return remainHp_;
|
||||
}
|
||||
|
||||
|
@ -86196,7 +86196,7 @@ public final class CommonProto {
|
|||
heroTid_ = 0;
|
||||
star_ = 0;
|
||||
level_ = 0;
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
|
@ -86220,7 +86220,7 @@ public final class CommonProto {
|
|||
output.writeInt32(3, level_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeInt32(4, remainHp_);
|
||||
output.writeDouble(4, remainHp_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
@ -86245,7 +86245,7 @@ public final class CommonProto {
|
|||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(4, remainHp_);
|
||||
.computeDoubleSize(4, remainHp_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSerializedSize = size;
|
||||
|
@ -86369,7 +86369,7 @@ public final class CommonProto {
|
|||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
level_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
return this;
|
||||
}
|
||||
|
@ -86585,10 +86585,10 @@ public final class CommonProto {
|
|||
return this;
|
||||
}
|
||||
|
||||
// optional int32 remainHp = 4;
|
||||
private int remainHp_ ;
|
||||
// optional double remainHp = 4;
|
||||
private double remainHp_ ;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -86598,30 +86598,30 @@ public final class CommonProto {
|
|||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public int getRemainHp() {
|
||||
public double getRemainHp() {
|
||||
return remainHp_;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public Builder setRemainHp(int value) {
|
||||
public Builder setRemainHp(double value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
remainHp_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 4;</code>
|
||||
* <code>optional double remainHp = 4;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -86629,7 +86629,7 @@ public final class CommonProto {
|
|||
*/
|
||||
public Builder clearRemainHp() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
@ -87590,9 +87590,9 @@ public final class CommonProto {
|
|||
com.google.protobuf.ByteString
|
||||
getHeroIdBytes();
|
||||
|
||||
// optional int32 remainHp = 2;
|
||||
// optional double remainHp = 2;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -87600,13 +87600,13 @@ public final class CommonProto {
|
|||
*/
|
||||
boolean hasRemainHp();
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
int getRemainHp();
|
||||
double getRemainHp();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.ExpeditionSimpleHeroInfo}
|
||||
|
@ -87664,9 +87664,9 @@ public final class CommonProto {
|
|||
heroId_ = input.readBytes();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
case 17: {
|
||||
bitField0_ |= 0x00000002;
|
||||
remainHp_ = input.readInt32();
|
||||
remainHp_ = input.readDouble();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -87764,11 +87764,11 @@ public final class CommonProto {
|
|||
}
|
||||
}
|
||||
|
||||
// optional int32 remainHp = 2;
|
||||
// optional double remainHp = 2;
|
||||
public static final int REMAINHP_FIELD_NUMBER = 2;
|
||||
private int remainHp_;
|
||||
private double remainHp_;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -87778,19 +87778,19 @@ public final class CommonProto {
|
|||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public int getRemainHp() {
|
||||
public double getRemainHp() {
|
||||
return remainHp_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
heroId_ = "";
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
|
@ -87808,7 +87808,7 @@ public final class CommonProto {
|
|||
output.writeBytes(1, getHeroIdBytes());
|
||||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
output.writeInt32(2, remainHp_);
|
||||
output.writeDouble(2, remainHp_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
@ -87825,7 +87825,7 @@ public final class CommonProto {
|
|||
}
|
||||
if (((bitField0_ & 0x00000002) == 0x00000002)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(2, remainHp_);
|
||||
.computeDoubleSize(2, remainHp_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSerializedSize = size;
|
||||
|
@ -87945,7 +87945,7 @@ public final class CommonProto {
|
|||
super.clear();
|
||||
heroId_ = "";
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
return this;
|
||||
}
|
||||
|
@ -88132,10 +88132,10 @@ public final class CommonProto {
|
|||
return this;
|
||||
}
|
||||
|
||||
// optional int32 remainHp = 2;
|
||||
private int remainHp_ ;
|
||||
// optional double remainHp = 2;
|
||||
private double remainHp_ ;
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -88145,30 +88145,30 @@ public final class CommonProto {
|
|||
return ((bitField0_ & 0x00000002) == 0x00000002);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public int getRemainHp() {
|
||||
public double getRemainHp() {
|
||||
return remainHp_;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
* </pre>
|
||||
*/
|
||||
public Builder setRemainHp(int value) {
|
||||
public Builder setRemainHp(double value) {
|
||||
bitField0_ |= 0x00000002;
|
||||
remainHp_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 remainHp = 2;</code>
|
||||
* <code>optional double remainHp = 2;</code>
|
||||
*
|
||||
* <pre>
|
||||
*剩余血量
|
||||
|
@ -88176,7 +88176,7 @@ public final class CommonProto {
|
|||
*/
|
||||
public Builder clearRemainHp() {
|
||||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
remainHp_ = 0;
|
||||
remainHp_ = 0D;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
@ -88939,12 +88939,12 @@ public final class CommonProto {
|
|||
"editionTeamInfo\022\r\n\005state\030\005 \001(\005\022\023\n\013holyEq" +
|
||||
"uipID\030\006 \003(\005\"Z\n\030ExpeditionSimpleBossInfo\022" +
|
||||
"\017\n\007heroTid\030\001 \001(\005\022\014\n\004star\030\002 \001(\005\022\r\n\005level\030" +
|
||||
"\003 \001(\005\022\020\n\010remainHp\030\004 \001(\005\"\202\001\n\022ExpeditionTe" +
|
||||
"\003 \001(\005\022\020\n\010remainHp\030\004 \001(\001\"\202\001\n\022ExpeditionTe" +
|
||||
"amInfo\022B\n\004hero\030\001 \003(\01324.com.ljsd.jieling.",
|
||||
"protocols.ExpeditionSimpleBossInfo\022\024\n\014Po" +
|
||||
"kemonInfos\030\002 \003(\005\022\022\n\ntotalForce\030\003 \001(\005\"<\n\030" +
|
||||
"ExpeditionSimpleHeroInfo\022\016\n\006heroId\030\001 \001(\t" +
|
||||
"\022\020\n\010remainHp\030\002 \001(\005B\002H\001"
|
||||
"\022\020\n\010remainHp\030\002 \001(\001B\002H\001"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||
|
|
|
@ -39538,6 +39538,871 @@ public final class Family {
|
|||
// @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.RedPackageDetailResponse)
|
||||
}
|
||||
|
||||
public interface RedPackageLikeRequestOrBuilder
|
||||
extends com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
// optional int32 uid = 1;
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
boolean hasUid();
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
int getUid();
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.RedPackageLikeRequest}
|
||||
*/
|
||||
public static final class RedPackageLikeRequest extends
|
||||
com.google.protobuf.GeneratedMessage
|
||||
implements RedPackageLikeRequestOrBuilder {
|
||||
// Use RedPackageLikeRequest.newBuilder() to construct.
|
||||
private RedPackageLikeRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
this.unknownFields = builder.getUnknownFields();
|
||||
}
|
||||
private RedPackageLikeRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
||||
|
||||
private static final RedPackageLikeRequest defaultInstance;
|
||||
public static RedPackageLikeRequest getDefaultInstance() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
public RedPackageLikeRequest getDefaultInstanceForType() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private RedPackageLikeRequest(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
initFields();
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
bitField0_ |= 0x00000001;
|
||||
uid_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e.getMessage()).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.class, com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.Builder.class);
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Parser<RedPackageLikeRequest> PARSER =
|
||||
new com.google.protobuf.AbstractParser<RedPackageLikeRequest>() {
|
||||
public RedPackageLikeRequest parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new RedPackageLikeRequest(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<RedPackageLikeRequest> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
private int bitField0_;
|
||||
// optional int32 uid = 1;
|
||||
public static final int UID_FIELD_NUMBER = 1;
|
||||
private int uid_;
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public boolean hasUid() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUid() {
|
||||
return uid_;
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
uid_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized != -1) return isInitialized == 1;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
output.writeInt32(1, uid_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
private int memoizedSerializedSize = -1;
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSerializedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32Size(1, uid_);
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSerializedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
protected java.lang.Object writeReplace()
|
||||
throws java.io.ObjectStreamException {
|
||||
return super.writeReplace();
|
||||
}
|
||||
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static Builder newBuilder() { return Builder.create(); }
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder(com.ljsd.jieling.protocols.Family.RedPackageLikeRequest prototype) {
|
||||
return newBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() { return newBuilder(this); }
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.RedPackageLikeRequest}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
||||
implements com.ljsd.jieling.protocols.Family.RedPackageLikeRequestOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.class, com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
private static Builder create() {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
uid_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return create().mergeFrom(buildPartial());
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.RedPackageLikeRequest getDefaultInstanceForType() {
|
||||
return com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.getDefaultInstance();
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.RedPackageLikeRequest build() {
|
||||
com.ljsd.jieling.protocols.Family.RedPackageLikeRequest result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.RedPackageLikeRequest buildPartial() {
|
||||
com.ljsd.jieling.protocols.Family.RedPackageLikeRequest result = new com.ljsd.jieling.protocols.Family.RedPackageLikeRequest(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
int to_bitField0_ = 0;
|
||||
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
to_bitField0_ |= 0x00000001;
|
||||
}
|
||||
result.uid_ = uid_;
|
||||
result.bitField0_ = to_bitField0_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof com.ljsd.jieling.protocols.Family.RedPackageLikeRequest) {
|
||||
return mergeFrom((com.ljsd.jieling.protocols.Family.RedPackageLikeRequest)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.ljsd.jieling.protocols.Family.RedPackageLikeRequest other) {
|
||||
if (other == com.ljsd.jieling.protocols.Family.RedPackageLikeRequest.getDefaultInstance()) return this;
|
||||
if (other.hasUid()) {
|
||||
setUid(other.getUid());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.ljsd.jieling.protocols.Family.RedPackageLikeRequest parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.ljsd.jieling.protocols.Family.RedPackageLikeRequest) e.getUnfinishedMessage();
|
||||
throw e;
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
// optional int32 uid = 1;
|
||||
private int uid_ ;
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public boolean hasUid() {
|
||||
return ((bitField0_ & 0x00000001) == 0x00000001);
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUid() {
|
||||
return uid_;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder setUid(int value) {
|
||||
bitField0_ |= 0x00000001;
|
||||
uid_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder clearUid() {
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
uid_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.RedPackageLikeRequest)
|
||||
}
|
||||
|
||||
static {
|
||||
defaultInstance = new RedPackageLikeRequest(true);
|
||||
defaultInstance.initFields();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.RedPackageLikeRequest)
|
||||
}
|
||||
|
||||
public interface GetAllSendLikeResponseOrBuilder
|
||||
extends com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
// repeated int32 uid = 1;
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
java.util.List<java.lang.Integer> getUidList();
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
int getUidCount();
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
int getUid(int index);
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.GetAllSendLikeResponse}
|
||||
*/
|
||||
public static final class GetAllSendLikeResponse extends
|
||||
com.google.protobuf.GeneratedMessage
|
||||
implements GetAllSendLikeResponseOrBuilder {
|
||||
// Use GetAllSendLikeResponse.newBuilder() to construct.
|
||||
private GetAllSendLikeResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
this.unknownFields = builder.getUnknownFields();
|
||||
}
|
||||
private GetAllSendLikeResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
||||
|
||||
private static final GetAllSendLikeResponse defaultInstance;
|
||||
public static GetAllSendLikeResponse getDefaultInstance() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
public GetAllSendLikeResponse getDefaultInstanceForType() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private GetAllSendLikeResponse(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
initFields();
|
||||
int mutable_bitField0_ = 0;
|
||||
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
||||
com.google.protobuf.UnknownFieldSet.newBuilder();
|
||||
try {
|
||||
boolean done = false;
|
||||
while (!done) {
|
||||
int tag = input.readTag();
|
||||
switch (tag) {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
uid_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
uid_.add(input.readInt32());
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
int length = input.readRawVarint32();
|
||||
int limit = input.pushLimit(length);
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
|
||||
uid_ = new java.util.ArrayList<java.lang.Integer>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
while (input.getBytesUntilLimit() > 0) {
|
||||
uid_.add(input.readInt32());
|
||||
}
|
||||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e.getMessage()).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
uid_ = java.util.Collections.unmodifiableList(uid_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.class, com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.Builder.class);
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Parser<GetAllSendLikeResponse> PARSER =
|
||||
new com.google.protobuf.AbstractParser<GetAllSendLikeResponse>() {
|
||||
public GetAllSendLikeResponse parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new GetAllSendLikeResponse(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<GetAllSendLikeResponse> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
// repeated int32 uid = 1;
|
||||
public static final int UID_FIELD_NUMBER = 1;
|
||||
private java.util.List<java.lang.Integer> uid_;
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getUidList() {
|
||||
return uid_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUidCount() {
|
||||
return uid_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUid(int index) {
|
||||
return uid_.get(index);
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
uid_ = java.util.Collections.emptyList();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized != -1) return isInitialized == 1;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
for (int i = 0; i < uid_.size(); i++) {
|
||||
output.writeInt32(1, uid_.get(i));
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
private int memoizedSerializedSize = -1;
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSerializedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
{
|
||||
int dataSize = 0;
|
||||
for (int i = 0; i < uid_.size(); i++) {
|
||||
dataSize += com.google.protobuf.CodedOutputStream
|
||||
.computeInt32SizeNoTag(uid_.get(i));
|
||||
}
|
||||
size += dataSize;
|
||||
size += 1 * getUidList().size();
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSerializedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
protected java.lang.Object writeReplace()
|
||||
throws java.io.ObjectStreamException {
|
||||
return super.writeReplace();
|
||||
}
|
||||
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static Builder newBuilder() { return Builder.create(); }
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder(com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse prototype) {
|
||||
return newBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() { return newBuilder(this); }
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.GetAllSendLikeResponse}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
||||
implements com.ljsd.jieling.protocols.Family.GetAllSendLikeResponseOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.class, com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
||||
}
|
||||
}
|
||||
private static Builder create() {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
uid_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return create().mergeFrom(buildPartial());
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.ljsd.jieling.protocols.Family.internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse getDefaultInstanceForType() {
|
||||
return com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.getDefaultInstance();
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse build() {
|
||||
com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse buildPartial() {
|
||||
com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse result = new com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
uid_ = java.util.Collections.unmodifiableList(uid_);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.uid_ = uid_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse) {
|
||||
return mergeFrom((com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse other) {
|
||||
if (other == com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse.getDefaultInstance()) return this;
|
||||
if (!other.uid_.isEmpty()) {
|
||||
if (uid_.isEmpty()) {
|
||||
uid_ = other.uid_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureUidIsMutable();
|
||||
uid_.addAll(other.uid_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.ljsd.jieling.protocols.Family.GetAllSendLikeResponse) e.getUnfinishedMessage();
|
||||
throw e;
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
// repeated int32 uid = 1;
|
||||
private java.util.List<java.lang.Integer> uid_ = java.util.Collections.emptyList();
|
||||
private void ensureUidIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
uid_ = new java.util.ArrayList<java.lang.Integer>(uid_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public java.util.List<java.lang.Integer>
|
||||
getUidList() {
|
||||
return java.util.Collections.unmodifiableList(uid_);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUidCount() {
|
||||
return uid_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public int getUid(int index) {
|
||||
return uid_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder setUid(
|
||||
int index, int value) {
|
||||
ensureUidIsMutable();
|
||||
uid_.set(index, value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder addUid(int value) {
|
||||
ensureUidIsMutable();
|
||||
uid_.add(value);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder addAllUid(
|
||||
java.lang.Iterable<? extends java.lang.Integer> values) {
|
||||
ensureUidIsMutable();
|
||||
super.addAll(values, uid_);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated int32 uid = 1;</code>
|
||||
*/
|
||||
public Builder clearUid() {
|
||||
uid_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.GetAllSendLikeResponse)
|
||||
}
|
||||
|
||||
static {
|
||||
defaultInstance = new GetAllSendLikeResponse(true);
|
||||
defaultInstance.initFields();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.GetAllSendLikeResponse)
|
||||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_com_ljsd_jieling_protocols_FamilyUserInfo_descriptor;
|
||||
private static
|
||||
|
@ -39823,6 +40688,16 @@ public final class Family {
|
|||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageDetailResponse_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
@ -39961,7 +40836,9 @@ public final class Family {
|
|||
"info\030\001 \003(\0132(.com.ljsd.jieling.protocols." +
|
||||
"RedOneDetail\022\022\n\nremainTime\030\002 \001(\005\022\020\n\010send" +
|
||||
"Name\030\003 \001(\t\022\014\n\004head\030\004 \001(\005\022\021\n\theadFrame\030\005 " +
|
||||
"\001(\005B\002H\001"
|
||||
"\001(\005\"$\n\025RedPackageLikeRequest\022\013\n\003uid\030\001 \001(",
|
||||
"\005\"%\n\026GetAllSendLikeResponse\022\013\n\003uid\030\001 \003(\005" +
|
||||
"B\002H\001"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||
|
@ -40310,6 +41187,18 @@ public final class Family {
|
|||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageDetailResponse_descriptor,
|
||||
new java.lang.String[] { "Info", "RemainTime", "SendName", "Head", "HeadFrame", });
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor =
|
||||
getDescriptor().getMessageTypes().get(57);
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_com_ljsd_jieling_protocols_RedPackageLikeRequest_descriptor,
|
||||
new java.lang.String[] { "Uid", });
|
||||
internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor =
|
||||
getDescriptor().getMessageTypes().get(58);
|
||||
internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_com_ljsd_jieling_protocols_GetAllSendLikeResponse_descriptor,
|
||||
new java.lang.String[] { "Uid", });
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1121,7 +1121,7 @@ public class GuildFightLogic {
|
|||
int uid = session.getUid();
|
||||
User user = UserManager.getUser(uid);
|
||||
int lastHurt = user.getGuildMyInfo().getLastHurt();
|
||||
boolean allow = PlayerLogic.getInstance().checkAndUpdate(user, VipPrivilegeType.UNLOCK_GUILD_BOSS_SWEEP, 1);
|
||||
boolean allow = user.getPlayerInfoManager().checkFunctionIsAllowed(VipPrivilegeType.UNLOCK_GUILD_BOSS_SWEEP);
|
||||
if(!allow){
|
||||
throw new ErrorCodeException(ErrorCode.SERVER_SELF_DEFINE);
|
||||
}
|
||||
|
|
|
@ -433,7 +433,7 @@ public class PlayerLogic {
|
|||
}
|
||||
mailReward = ItemUtil.getMailReward(rewards);
|
||||
}else if( type == GiftGoodsType.FOUND_ONE || type == GiftGoodsType.FOUND_TWO){
|
||||
mailReward = ItemUtil.getMailReward(SLuxuryFund.getByFoundIdAndDay(goodsInfo.getKey(),days).getreward());
|
||||
|
||||
}else{
|
||||
int theIndexByTarget = MathUtils.getTheIndexByTarget(sRechargeCommodityConfig.getPlayerLevel(), level);
|
||||
int[][] extraReward = sRechargeCommodityConfig.getExtraReward()[theIndexByTarget];
|
||||
|
@ -446,8 +446,12 @@ public class PlayerLogic {
|
|||
if(remainDays<0){
|
||||
remainDays=0;
|
||||
}
|
||||
int sendTims = days;
|
||||
int sendTims = days-1;
|
||||
while (sendTims-->0){
|
||||
if( type == GiftGoodsType.FOUND_ONE || type == GiftGoodsType.FOUND_TWO){
|
||||
mailReward = ItemUtil.getMailReward(SLuxuryFund.getByFoundIdAndDay(goodsInfo.getKey(),sRechargeCommodityConfig.getContiueDays()-remainDays - sendTims).getreward());
|
||||
LOGGER.info(":{}:",sRechargeCommodityConfig.getContiueDays()-remainDays - sendTims);
|
||||
}
|
||||
String content = SErrorCodeEerverConfig.getI18NMessage("recharge_"+type+"_daily_txt",new Object[]{remainDays + sendTims});
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,mailReward,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ public class BuyGoodsLogic {
|
|||
}
|
||||
}
|
||||
if(endTime == null || nowTime>endTime){
|
||||
endTime = nowTime;
|
||||
endTime = (int)(TimeUtils.getAppointTimeInXDay(nowTime*1000L,0)/1000);
|
||||
needSendMail = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue