back_recharge
lvxinran 2019-10-16 10:20:59 +08:00
commit c0a0514fe7
14 changed files with 4223 additions and 1301 deletions

View File

@ -137,9 +137,9 @@ public final class ChatProto {
com.google.protobuf.ByteString com.google.protobuf.ByteString
getMsgBytes(); getMsgBytes();
// optional string head = 8; // optional int32 head = 8;
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
@ -147,22 +147,13 @@ public final class ChatProto {
*/ */
boolean hasHead(); boolean hasHead();
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
java.lang.String getHead(); int getHead();
/**
* <code>optional string head = 8;</code>
*
* <pre>
*
* </pre>
*/
com.google.protobuf.ByteString
getHeadBytes();
// optional int32 frame = 9; // optional int32 frame = 9;
/** /**
@ -343,6 +334,34 @@ public final class ChatProto {
* </pre> * </pre>
*/ */
int getFrequency(); int getFrequency();
// optional int32 speed = 20;
/**
* <code>optional int32 speed = 20;</code>
*/
boolean hasSpeed();
/**
* <code>optional int32 speed = 20;</code>
*/
int getSpeed();
// optional int32 multiple = 21;
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
boolean hasMultiple();
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
int getMultiple();
} }
/** /**
* Protobuf type {@code com.ljsd.jieling.protocols.ChatInfo} * Protobuf type {@code com.ljsd.jieling.protocols.ChatInfo}
@ -425,9 +444,9 @@ public final class ChatProto {
msg_ = input.readBytes(); msg_ = input.readBytes();
break; break;
} }
case 66: { case 64: {
bitField0_ |= 0x00000040; bitField0_ |= 0x00000040;
head_ = input.readBytes(); head_ = input.readInt32();
break; break;
} }
case 72: { case 72: {
@ -480,6 +499,16 @@ public final class ChatProto {
frequency_ = input.readInt32(); frequency_ = input.readInt32();
break; break;
} }
case 160: {
bitField0_ |= 0x00020000;
speed_ = input.readInt32();
break;
}
case 168: {
bitField0_ |= 0x00040000;
multiple_ = input.readInt32();
break;
}
} }
} }
} catch (com.google.protobuf.InvalidProtocolBufferException e) { } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@ -726,11 +755,11 @@ public final class ChatProto {
} }
} }
// optional string head = 8; // optional int32 head = 8;
public static final int HEAD_FIELD_NUMBER = 8; public static final int HEAD_FIELD_NUMBER = 8;
private java.lang.Object head_; private int head_;
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
@ -740,45 +769,14 @@ public final class ChatProto {
return ((bitField0_ & 0x00000040) == 0x00000040); return ((bitField0_ & 0x00000040) == 0x00000040);
} }
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
head_ = s;
}
return s;
}
}
/**
* <code>optional string head = 8;</code>
*
* <pre>
*
* </pre>
*/
public com.google.protobuf.ByteString
getHeadBytes() {
java.lang.Object ref = head_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
} }
// optional int32 frame = 9; // optional int32 frame = 9;
@ -1021,6 +1019,46 @@ public final class ChatProto {
return frequency_; return frequency_;
} }
// optional int32 speed = 20;
public static final int SPEED_FIELD_NUMBER = 20;
private int speed_;
/**
* <code>optional int32 speed = 20;</code>
*/
public boolean hasSpeed() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* <code>optional int32 speed = 20;</code>
*/
public int getSpeed() {
return speed_;
}
// optional int32 multiple = 21;
public static final int MULTIPLE_FIELD_NUMBER = 21;
private int multiple_;
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public boolean hasMultiple() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public int getMultiple() {
return multiple_;
}
private void initFields() { private void initFields() {
senderId_ = 0; senderId_ = 0;
senderName_ = ""; senderName_ = "";
@ -1028,7 +1066,7 @@ public final class ChatProto {
sendervip_ = 0; sendervip_ = 0;
times_ = 0L; times_ = 0L;
msg_ = ""; msg_ = "";
head_ = ""; head_ = 0;
frame_ = 0; frame_ = 0;
soulVal_ = 0; soulVal_ = 0;
messageId_ = 0L; messageId_ = 0L;
@ -1039,6 +1077,8 @@ public final class ChatProto {
endTime_ = 0; endTime_ = 0;
priorityLevel_ = 0; priorityLevel_ = 0;
frequency_ = 0; frequency_ = 0;
speed_ = 0;
multiple_ = 0;
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
public final boolean isInitialized() { public final boolean isInitialized() {
@ -1071,7 +1111,7 @@ public final class ChatProto {
output.writeBytes(7, getMsgBytes()); output.writeBytes(7, getMsgBytes());
} }
if (((bitField0_ & 0x00000040) == 0x00000040)) { if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(8, getHeadBytes()); output.writeInt32(8, head_);
} }
if (((bitField0_ & 0x00000080) == 0x00000080)) { if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeInt32(9, frame_); output.writeInt32(9, frame_);
@ -1103,6 +1143,12 @@ public final class ChatProto {
if (((bitField0_ & 0x00010000) == 0x00010000)) { if (((bitField0_ & 0x00010000) == 0x00010000)) {
output.writeInt32(19, frequency_); output.writeInt32(19, frequency_);
} }
if (((bitField0_ & 0x00020000) == 0x00020000)) {
output.writeInt32(20, speed_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
output.writeInt32(21, multiple_);
}
getUnknownFields().writeTo(output); getUnknownFields().writeTo(output);
} }
@ -1138,7 +1184,7 @@ public final class ChatProto {
} }
if (((bitField0_ & 0x00000040) == 0x00000040)) { if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getHeadBytes()); .computeInt32Size(8, head_);
} }
if (((bitField0_ & 0x00000080) == 0x00000080)) { if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
@ -1180,6 +1226,14 @@ public final class ChatProto {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeInt32Size(19, frequency_); .computeInt32Size(19, frequency_);
} }
if (((bitField0_ & 0x00020000) == 0x00020000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(20, speed_);
}
if (((bitField0_ & 0x00040000) == 0x00040000)) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(21, multiple_);
}
size += getUnknownFields().getSerializedSize(); size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size; memoizedSerializedSize = size;
return size; return size;
@ -1308,7 +1362,7 @@ public final class ChatProto {
bitField0_ = (bitField0_ & ~0x00000010); bitField0_ = (bitField0_ & ~0x00000010);
msg_ = ""; msg_ = "";
bitField0_ = (bitField0_ & ~0x00000020); bitField0_ = (bitField0_ & ~0x00000020);
head_ = ""; head_ = 0;
bitField0_ = (bitField0_ & ~0x00000040); bitField0_ = (bitField0_ & ~0x00000040);
frame_ = 0; frame_ = 0;
bitField0_ = (bitField0_ & ~0x00000080); bitField0_ = (bitField0_ & ~0x00000080);
@ -1330,6 +1384,10 @@ public final class ChatProto {
bitField0_ = (bitField0_ & ~0x00008000); bitField0_ = (bitField0_ & ~0x00008000);
frequency_ = 0; frequency_ = 0;
bitField0_ = (bitField0_ & ~0x00010000); bitField0_ = (bitField0_ & ~0x00010000);
speed_ = 0;
bitField0_ = (bitField0_ & ~0x00020000);
multiple_ = 0;
bitField0_ = (bitField0_ & ~0x00040000);
return this; return this;
} }
@ -1426,6 +1484,14 @@ public final class ChatProto {
to_bitField0_ |= 0x00010000; to_bitField0_ |= 0x00010000;
} }
result.frequency_ = frequency_; result.frequency_ = frequency_;
if (((from_bitField0_ & 0x00020000) == 0x00020000)) {
to_bitField0_ |= 0x00020000;
}
result.speed_ = speed_;
if (((from_bitField0_ & 0x00040000) == 0x00040000)) {
to_bitField0_ |= 0x00040000;
}
result.multiple_ = multiple_;
result.bitField0_ = to_bitField0_; result.bitField0_ = to_bitField0_;
onBuilt(); onBuilt();
return result; return result;
@ -1465,9 +1531,7 @@ public final class ChatProto {
onChanged(); onChanged();
} }
if (other.hasHead()) { if (other.hasHead()) {
bitField0_ |= 0x00000040; setHead(other.getHead());
head_ = other.head_;
onChanged();
} }
if (other.hasFrame()) { if (other.hasFrame()) {
setFrame(other.getFrame()); setFrame(other.getFrame());
@ -1499,6 +1563,12 @@ public final class ChatProto {
if (other.hasFrequency()) { if (other.hasFrequency()) {
setFrequency(other.getFrequency()); setFrequency(other.getFrequency());
} }
if (other.hasSpeed()) {
setSpeed(other.getSpeed());
}
if (other.hasMultiple()) {
setMultiple(other.getMultiple());
}
this.mergeUnknownFields(other.getUnknownFields()); this.mergeUnknownFields(other.getUnknownFields());
return this; return this;
} }
@ -1918,10 +1988,10 @@ public final class ChatProto {
return this; return this;
} }
// optional string head = 8; // optional int32 head = 8;
private java.lang.Object head_ = ""; private int head_ ;
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
@ -1931,62 +2001,30 @@ public final class ChatProto {
return ((bitField0_ & 0x00000040) == 0x00000040); return ((bitField0_ & 0x00000040) == 0x00000040);
} }
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
head_ = s;
return s;
} else {
return (java.lang.String) ref;
}
} }
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public com.google.protobuf.ByteString public Builder setHead(int value) {
getHeadBytes() { bitField0_ |= 0x00000040;
java.lang.Object ref = head_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string head = 8;</code>
*
* <pre>
*
* </pre>
*/
public Builder setHead(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
head_ = value; head_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>optional string head = 8;</code> * <code>optional int32 head = 8;</code>
* *
* <pre> * <pre>
* *
@ -1994,24 +2032,7 @@ public final class ChatProto {
*/ */
public Builder clearHead() { public Builder clearHead() {
bitField0_ = (bitField0_ & ~0x00000040); bitField0_ = (bitField0_ & ~0x00000040);
head_ = getDefaultInstance().getHead(); head_ = 0;
onChanged();
return this;
}
/**
* <code>optional string head = 8;</code>
*
* <pre>
*
* </pre>
*/
public Builder setHeadBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
head_ = value;
onChanged(); onChanged();
return this; return this;
} }
@ -2506,6 +2527,88 @@ public final class ChatProto {
return this; return this;
} }
// optional int32 speed = 20;
private int speed_ ;
/**
* <code>optional int32 speed = 20;</code>
*/
public boolean hasSpeed() {
return ((bitField0_ & 0x00020000) == 0x00020000);
}
/**
* <code>optional int32 speed = 20;</code>
*/
public int getSpeed() {
return speed_;
}
/**
* <code>optional int32 speed = 20;</code>
*/
public Builder setSpeed(int value) {
bitField0_ |= 0x00020000;
speed_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 speed = 20;</code>
*/
public Builder clearSpeed() {
bitField0_ = (bitField0_ & ~0x00020000);
speed_ = 0;
onChanged();
return this;
}
// optional int32 multiple = 21;
private int multiple_ ;
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public boolean hasMultiple() {
return ((bitField0_ & 0x00040000) == 0x00040000);
}
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public int getMultiple() {
return multiple_;
}
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public Builder setMultiple(int value) {
bitField0_ |= 0x00040000;
multiple_ = value;
onChanged();
return this;
}
/**
* <code>optional int32 multiple = 21;</code>
*
* <pre>
*
* </pre>
*/
public Builder clearMultiple() {
bitField0_ = (bitField0_ & ~0x00040000);
multiple_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ChatInfo) // @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.ChatInfo)
} }
@ -5644,25 +5747,25 @@ public final class ChatProto {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\017ChatProto.proto\022\032com.ljsd.jieling.prot" + "\n\017ChatProto.proto\022\032com.ljsd.jieling.prot" +
"ocols\"\266\002\n\010ChatInfo\022\020\n\010senderId\030\001 \001(\005\022\022\n\n" + "ocols\"\327\002\n\010ChatInfo\022\020\n\010senderId\030\001 \001(\005\022\022\n\n" +
"senderName\030\002 \001(\t\022\023\n\013senderlevel\030\003 \001(\005\022\021\n" + "senderName\030\002 \001(\t\022\023\n\013senderlevel\030\003 \001(\005\022\021\n" +
"\tsendervip\030\005 \001(\005\022\r\n\005times\030\006 \001(\004\022\013\n\003msg\030\007" + "\tsendervip\030\005 \001(\005\022\r\n\005times\030\006 \001(\004\022\013\n\003msg\030\007" +
" \001(\t\022\014\n\004head\030\010 \001(\t\022\r\n\005frame\030\t \001(\005\022\017\n\007sou" + " \001(\t\022\014\n\004head\030\010 \001(\005\022\r\n\005frame\030\t \001(\005\022\017\n\007sou" +
"lVal\030\n \001(\005\022\021\n\tmessageId\030\013 \001(\004\022\023\n\013message" + "lVal\030\n \001(\005\022\021\n\tmessageId\030\013 \001(\004\022\023\n\013message" +
"Type\030\r \001(\005\022\016\n\006itemId\030\016 \001(\005\022\014\n\004type\030\017 \001(\005" + "Type\030\r \001(\005\022\016\n\006itemId\030\016 \001(\005\022\014\n\004type\030\017 \001(\005" +
"\022\021\n\tstartTime\030\020 \001(\005\022\017\n\007endTime\030\021 \001(\005\022\025\n\r" + "\022\021\n\tstartTime\030\020 \001(\005\022\017\n\007endTime\030\021 \001(\005\022\025\n\r" +
"PriorityLevel\030\022 \001(\005\022\021\n\tFrequency\030\023 \001(\005\"@" + "PriorityLevel\030\022 \001(\005\022\021\n\tFrequency\030\023 \001(\005\022\r" +
"\n\031GetChatMessageInfoRequest\022\020\n\010chatType\030", "\n\005speed\030\024 \001(\005\022\020\n\010multiple\030\025 \001(\005\"@\n\031GetCh",
"\001 \001(\005\022\021\n\tmessageId\030\002 \001(\004\"T\n\032GetChatMessa" + "atMessageInfoRequest\022\020\n\010chatType\030\001 \001(\005\022\021" +
"geInfoResponse\0226\n\010chatInfo\030\001 \003(\0132$.com.l" + "\n\tmessageId\030\002 \001(\004\"T\n\032GetChatMessageInfoR" +
"jsd.jieling.protocols.ChatInfo\"I\n\022SendCh" + "esponse\0226\n\010chatInfo\030\001 \003(\0132$.com.ljsd.jie" +
"atInfoReqest\022\020\n\010chatType\030\001 \001(\005\022\017\n\007messag" + "ling.protocols.ChatInfo\"I\n\022SendChatInfoR" +
"e\030\002 \001(\t\022\020\n\010friendId\030\003 \001(\005\"N\n\024SendChatInf" + "eqest\022\020\n\010chatType\030\001 \001(\005\022\017\n\007message\030\002 \001(\t" +
"oResponse\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.j" + "\022\020\n\010friendId\030\003 \001(\005\"N\n\024SendChatInfoRespon" +
"ieling.protocols.ChatInfo\"^\n\026SendChatInf" + "se\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.jieling." +
"oIndication\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd" + "protocols.ChatInfo\"^\n\026SendChatInfoIndica" +
".jieling.protocols.ChatInfo\022\014\n\004type\030\002 \001(" + "tion\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.jielin" +
"\005B\002H\001" "g.protocols.ChatInfo\022\014\n\004type\030\002 \001(\005B\002H\001"
}; };
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@ -5674,7 +5777,7 @@ public final class ChatProto {
internal_static_com_ljsd_jieling_protocols_ChatInfo_fieldAccessorTable = new internal_static_com_ljsd_jieling_protocols_ChatInfo_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable( com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_com_ljsd_jieling_protocols_ChatInfo_descriptor, internal_static_com_ljsd_jieling_protocols_ChatInfo_descriptor,
new java.lang.String[] { "SenderId", "SenderName", "Senderlevel", "Sendervip", "Times", "Msg", "Head", "Frame", "SoulVal", "MessageId", "MessageType", "ItemId", "Type", "StartTime", "EndTime", "PriorityLevel", "Frequency", }); new java.lang.String[] { "SenderId", "SenderName", "Senderlevel", "Sendervip", "Times", "Msg", "Head", "Frame", "SoulVal", "MessageId", "MessageType", "ItemId", "Type", "StartTime", "EndTime", "PriorityLevel", "Frequency", "Speed", "Multiple", });
internal_static_com_ljsd_jieling_protocols_GetChatMessageInfoRequest_descriptor = internal_static_com_ljsd_jieling_protocols_GetChatMessageInfoRequest_descriptor =
getDescriptor().getMessageTypes().get(1); getDescriptor().getMessageTypes().get(1);
internal_static_com_ljsd_jieling_protocols_GetChatMessageInfoRequest_fieldAccessorTable = new internal_static_com_ljsd_jieling_protocols_GetChatMessageInfoRequest_fieldAccessorTable = new

View File

@ -164,9 +164,9 @@ public final class Family {
*/ */
int getSoulForce(); int getSoulForce();
// optional string head = 9; // optional int32 head = 9;
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
@ -174,22 +174,13 @@ public final class Family {
*/ */
boolean hasHead(); boolean hasHead();
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
java.lang.String getHead(); int getHead();
/**
* <code>optional string head = 9;</code>
*
* <pre>
*
* </pre>
*/
com.google.protobuf.ByteString
getHeadBytes();
// optional int32 frame = 10; // optional int32 frame = 10;
/** /**
@ -300,9 +291,9 @@ public final class Family {
soulForce_ = input.readInt32(); soulForce_ = input.readInt32();
break; break;
} }
case 74: { case 72: {
bitField0_ |= 0x00000100; bitField0_ |= 0x00000100;
head_ = input.readBytes(); head_ = input.readInt32();
break; break;
} }
case 80: { case 80: {
@ -573,11 +564,11 @@ public final class Family {
return soulForce_; return soulForce_;
} }
// optional string head = 9; // optional int32 head = 9;
public static final int HEAD_FIELD_NUMBER = 9; public static final int HEAD_FIELD_NUMBER = 9;
private java.lang.Object head_; private int head_;
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
@ -587,45 +578,14 @@ public final class Family {
return ((bitField0_ & 0x00000100) == 0x00000100); return ((bitField0_ & 0x00000100) == 0x00000100);
} }
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
head_ = s;
}
return s;
}
}
/**
* <code>optional string head = 9;</code>
*
* <pre>
*
* </pre>
*/
public com.google.protobuf.ByteString
getHeadBytes() {
java.lang.Object ref = head_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
} }
// optional int32 frame = 10; // optional int32 frame = 10;
@ -661,7 +621,7 @@ public final class Family {
seconds_ = 0; seconds_ = 0;
contributeToday_ = 0; contributeToday_ = 0;
soulForce_ = 0; soulForce_ = 0;
head_ = ""; head_ = 0;
frame_ = 0; frame_ = 0;
} }
private byte memoizedIsInitialized = -1; private byte memoizedIsInitialized = -1;
@ -721,7 +681,7 @@ public final class Family {
output.writeInt32(8, soulForce_); output.writeInt32(8, soulForce_);
} }
if (((bitField0_ & 0x00000100) == 0x00000100)) { if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeBytes(9, getHeadBytes()); output.writeInt32(9, head_);
} }
if (((bitField0_ & 0x00000200) == 0x00000200)) { if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeInt32(10, frame_); output.writeInt32(10, frame_);
@ -769,7 +729,7 @@ public final class Family {
} }
if (((bitField0_ & 0x00000100) == 0x00000100)) { if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBytesSize(9, getHeadBytes()); .computeInt32Size(9, head_);
} }
if (((bitField0_ & 0x00000200) == 0x00000200)) { if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
@ -907,7 +867,7 @@ public final class Family {
bitField0_ = (bitField0_ & ~0x00000040); bitField0_ = (bitField0_ & ~0x00000040);
soulForce_ = 0; soulForce_ = 0;
bitField0_ = (bitField0_ & ~0x00000080); bitField0_ = (bitField0_ & ~0x00000080);
head_ = ""; head_ = 0;
bitField0_ = (bitField0_ & ~0x00000100); bitField0_ = (bitField0_ & ~0x00000100);
frame_ = 0; frame_ = 0;
bitField0_ = (bitField0_ & ~0x00000200); bitField0_ = (bitField0_ & ~0x00000200);
@ -1022,9 +982,7 @@ public final class Family {
setSoulForce(other.getSoulForce()); setSoulForce(other.getSoulForce());
} }
if (other.hasHead()) { if (other.hasHead()) {
bitField0_ |= 0x00000100; setHead(other.getHead());
head_ = other.head_;
onChanged();
} }
if (other.hasFrame()) { if (other.hasFrame()) {
setFrame(other.getFrame()); setFrame(other.getFrame());
@ -1517,10 +1475,10 @@ public final class Family {
return this; return this;
} }
// optional string head = 9; // optional int32 head = 9;
private java.lang.Object head_ = ""; private int head_ ;
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
@ -1530,62 +1488,30 @@ public final class Family {
return ((bitField0_ & 0x00000100) == 0x00000100); return ((bitField0_ & 0x00000100) == 0x00000100);
} }
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
head_ = s;
return s;
} else {
return (java.lang.String) ref;
}
} }
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public com.google.protobuf.ByteString public Builder setHead(int value) {
getHeadBytes() { bitField0_ |= 0x00000100;
java.lang.Object ref = head_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string head = 9;</code>
*
* <pre>
*
* </pre>
*/
public Builder setHead(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
head_ = value; head_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>optional string head = 9;</code> * <code>optional int32 head = 9;</code>
* *
* <pre> * <pre>
* *
@ -1593,24 +1519,7 @@ public final class Family {
*/ */
public Builder clearHead() { public Builder clearHead() {
bitField0_ = (bitField0_ & ~0x00000100); bitField0_ = (bitField0_ & ~0x00000100);
head_ = getDefaultInstance().getHead(); head_ = 0;
onChanged();
return this;
}
/**
* <code>optional string head = 9;</code>
*
* <pre>
*
* </pre>
*/
public Builder setHeadBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000100;
head_ = value;
onChanged(); onChanged();
return this; return this;
} }
@ -36264,7 +36173,7 @@ public final class Family {
"serLevel\030\003 \002(\005\022\020\n\010position\030\004 \002(\005\022\022\n\ncont" + "serLevel\030\003 \002(\005\022\020\n\010position\030\004 \002(\005\022\022\n\ncont" +
"ribute\030\005 \002(\005\022\017\n\007seconds\030\006 \001(\005\022\027\n\017contrib" + "ribute\030\005 \002(\005\022\017\n\007seconds\030\006 \001(\005\022\027\n\017contrib" +
"uteToday\030\007 \001(\005\022\021\n\tsoulForce\030\010 \001(\005\022\014\n\004hea" + "uteToday\030\007 \001(\005\022\021\n\tsoulForce\030\010 \001(\005\022\014\n\004hea" +
"d\030\t \001(\t\022\r\n\005frame\030\n \001(\005\"9\n\rFamilyLogInfo\022" + "d\030\t \001(\005\022\r\n\005frame\030\n \001(\005\"9\n\rFamilyLogInfo\022" +
"\014\n\004name\030\001 \001(\t\022\014\n\004info\030\002 \001(\t\022\014\n\004time\030\003 \001(" + "\014\n\004name\030\001 \001(\t\022\014\n\004info\030\002 \001(\t\022\014\n\004time\030\003 \001(" +
"\005\"O\n\024FamilyWalkIndicaiton\022\014\n\004path\030\001 \003(\005\022" + "\005\"O\n\024FamilyWalkIndicaiton\022\014\n\004path\030\001 \003(\005\022" +
"\016\n\006curPos\030\002 \001(\005\022\013\n\003uid\030\003 \001(\005\022\014\n\004name\030\004 \001", "\016\n\006curPos\030\002 \001(\005\022\013\n\003uid\030\003 \001(\005\022\014\n\004name\030\004 \001",

View File

@ -17443,20 +17443,15 @@ public final class MapInfoProto {
*/ */
int getHeroIds(int index); int getHeroIds(int index);
// optional string head = 4; // optional int32 head = 4;
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
boolean hasHead(); boolean hasHead();
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
java.lang.String getHead(); int getHead();
/**
* <code>optional string head = 4;</code>
*/
com.google.protobuf.ByteString
getHeadBytes();
// optional int32 level = 5; // optional int32 level = 5;
/** /**
@ -17599,9 +17594,9 @@ public final class MapInfoProto {
input.popLimit(limit); input.popLimit(limit);
break; break;
} }
case 34: { case 32: {
bitField0_ |= 0x00000004; bitField0_ |= 0x00000004;
head_ = input.readBytes(); head_ = input.readInt32();
break; break;
} }
case 40: { case 40: {
@ -17746,47 +17741,20 @@ public final class MapInfoProto {
return heroIds_.get(index); return heroIds_.get(index);
} }
// optional string head = 4; // optional int32 head = 4;
public static final int HEAD_FIELD_NUMBER = 4; public static final int HEAD_FIELD_NUMBER = 4;
private java.lang.Object head_; private int head_;
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public boolean hasHead() { public boolean hasHead() {
return ((bitField0_ & 0x00000004) == 0x00000004); return ((bitField0_ & 0x00000004) == 0x00000004);
} }
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
head_ = s;
}
return s;
}
}
/**
* <code>optional string head = 4;</code>
*/
public com.google.protobuf.ByteString
getHeadBytes() {
java.lang.Object ref = head_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
} }
// optional int32 level = 5; // optional int32 level = 5;
@ -17907,7 +17875,7 @@ public final class MapInfoProto {
uid_ = 0; uid_ = 0;
forces_ = 0; forces_ = 0;
heroIds_ = java.util.Collections.emptyList(); heroIds_ = java.util.Collections.emptyList();
head_ = ""; head_ = 0;
level_ = 0; level_ = 0;
rank_ = 0; rank_ = 0;
time_ = 0; time_ = 0;
@ -17936,7 +17904,7 @@ public final class MapInfoProto {
output.writeInt32(3, heroIds_.get(i)); output.writeInt32(3, heroIds_.get(i));
} }
if (((bitField0_ & 0x00000004) == 0x00000004)) { if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(4, getHeadBytes()); output.writeInt32(4, head_);
} }
if (((bitField0_ & 0x00000008) == 0x00000008)) { if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeInt32(5, level_); output.writeInt32(5, level_);
@ -17981,7 +17949,7 @@ public final class MapInfoProto {
} }
if (((bitField0_ & 0x00000004) == 0x00000004)) { if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getHeadBytes()); .computeInt32Size(4, head_);
} }
if (((bitField0_ & 0x00000008) == 0x00000008)) { if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += com.google.protobuf.CodedOutputStream size += com.google.protobuf.CodedOutputStream
@ -18130,7 +18098,7 @@ public final class MapInfoProto {
bitField0_ = (bitField0_ & ~0x00000002); bitField0_ = (bitField0_ & ~0x00000002);
heroIds_ = java.util.Collections.emptyList(); heroIds_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004); bitField0_ = (bitField0_ & ~0x00000004);
head_ = ""; head_ = 0;
bitField0_ = (bitField0_ & ~0x00000008); bitField0_ = (bitField0_ & ~0x00000008);
level_ = 0; level_ = 0;
bitField0_ = (bitField0_ & ~0x00000010); bitField0_ = (bitField0_ & ~0x00000010);
@ -18241,9 +18209,7 @@ public final class MapInfoProto {
onChanged(); onChanged();
} }
if (other.hasHead()) { if (other.hasHead()) {
bitField0_ |= 0x00000008; setHead(other.getHead());
head_ = other.head_;
onChanged();
} }
if (other.hasLevel()) { if (other.hasLevel()) {
setLevel(other.getLevel()); setLevel(other.getLevel());
@ -18428,76 +18394,35 @@ public final class MapInfoProto {
return this; return this;
} }
// optional string head = 4; // optional int32 head = 4;
private java.lang.Object head_ = ""; private int head_ ;
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public boolean hasHead() { public boolean hasHead() {
return ((bitField0_ & 0x00000008) == 0x00000008); return ((bitField0_ & 0x00000008) == 0x00000008);
} }
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public java.lang.String getHead() { public int getHead() {
java.lang.Object ref = head_; return head_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((com.google.protobuf.ByteString) ref)
.toStringUtf8();
head_ = s;
return s;
} else {
return (java.lang.String) ref;
}
} }
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public com.google.protobuf.ByteString public Builder setHead(int value) {
getHeadBytes() { bitField0_ |= 0x00000008;
java.lang.Object ref = head_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
head_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* <code>optional string head = 4;</code>
*/
public Builder setHead(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
head_ = value; head_ = value;
onChanged(); onChanged();
return this; return this;
} }
/** /**
* <code>optional string head = 4;</code> * <code>optional int32 head = 4;</code>
*/ */
public Builder clearHead() { public Builder clearHead() {
bitField0_ = (bitField0_ & ~0x00000008); bitField0_ = (bitField0_ & ~0x00000008);
head_ = getDefaultInstance().getHead(); head_ = 0;
onChanged();
return this;
}
/**
* <code>optional string head = 4;</code>
*/
public Builder setHeadBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
head_ = value;
onChanged(); onChanged();
return this; return this;
} }
@ -33368,7 +33293,7 @@ public final class MapInfoProto {
"eling.protocols.DifficultMapOption\"&\n\025Ma" + "eling.protocols.DifficultMapOption\"&\n\025Ma" +
"pGetRankInfoRequest\022\r\n\005mapId\030\001 \001(\005\"\226\001\n\013M" + "pGetRankInfoRequest\022\r\n\005mapId\030\001 \001(\005\"\226\001\n\013M" +
"apRankInfo\022\013\n\003uid\030\001 \001(\005\022\016\n\006forces\030\002 \001(\005\022", "apRankInfo\022\013\n\003uid\030\001 \001(\005\022\016\n\006forces\030\002 \001(\005\022",
"\017\n\007heroIds\030\003 \003(\005\022\014\n\004head\030\004 \001(\t\022\r\n\005level\030" + "\017\n\007heroIds\030\003 \003(\005\022\014\n\004head\030\004 \001(\005\022\r\n\005level\030" +
"\005 \001(\005\022\014\n\004rank\030\006 \001(\005\022\014\n\004time\030\007 \001(\005\022\014\n\004nam" + "\005 \001(\005\022\014\n\004rank\030\006 \001(\005\022\014\n\004time\030\007 \001(\005\022\014\n\004nam" +
"e\030\010 \001(\t\022\022\n\npokemonIds\030\t \003(\005\"V\n\026MapGetRan" + "e\030\010 \001(\t\022\022\n\npokemonIds\030\t \003(\005\"V\n\026MapGetRan" +
"kInfoResponse\022<\n\013mapRankInfo\030\001 \003(\0132\'.com" + "kInfoResponse\022<\n\013mapRankInfo\030\001 \003(\0132\'.com" +

View File

@ -1789,17 +1789,17 @@ public final class MessageTypeProto {
*/ */
MAP_TOWER_USEBUFF_RESPONSE(286, 11232), MAP_TOWER_USEBUFF_RESPONSE(286, 11232),
/** /**
* <code>MODIFY_HEAD_FRAME_REQUEST = 11233;</code> * <code>MODIFY_HEAD_REQUEST = 11233;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
MODIFY_HEAD_FRAME_REQUEST(287, 11233), MODIFY_HEAD_REQUEST(287, 11233),
/** /**
* <code>MODIFY_HEAD_FRAME_RESPONSE = 11234;</code> * <code>MODIFY_HEAD_RESPONSE = 11234;</code>
*/ */
MODIFY_HEAD_FRAME_RESPONSE(288, 11234), MODIFY_HEAD_RESPONSE(288, 11234),
/** /**
* <code>MAP_OUT_INDICATION = 11235;</code> * <code>MAP_OUT_INDICATION = 11235;</code>
* *
@ -2701,6 +2701,18 @@ public final class MessageTypeProto {
* <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code> * <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code>
*/ */
VIP_TAKE_REWARD_RESPONSE(429, 12105), VIP_TAKE_REWARD_RESPONSE(429, 12105),
/**
* <code>VIEW_HERO_INFO_REQUEST = 12106;</code>
*
* <pre>
*
* </pre>
*/
VIEW_HERO_INFO_REQUEST(430, 12106),
/**
* <code>VIEW_HERO_INFO_RESPONSE = 12107;</code>
*/
VIEW_HERO_INFO_RESPONSE(431, 12107),
/** /**
* <code>WORKSHOP_FOUNDATION_REQUEST = 12200;</code> * <code>WORKSHOP_FOUNDATION_REQUEST = 12200;</code>
* *
@ -2708,11 +2720,11 @@ public final class MessageTypeProto {
* W 12200 * W 12200
* </pre> * </pre>
*/ */
WORKSHOP_FOUNDATION_REQUEST(430, 12200), WORKSHOP_FOUNDATION_REQUEST(432, 12200),
/** /**
* <code>WORKSHOP_FOUNDATION_RESPONSE = 12201;</code> * <code>WORKSHOP_FOUNDATION_RESPONSE = 12201;</code>
*/ */
WORKSHOP_FOUNDATION_RESPONSE(431, 12201), WORKSHOP_FOUNDATION_RESPONSE(433, 12201),
/** /**
* <code>WORKSHOP_EQUIP_CREATE_REQUEST = 12202;</code> * <code>WORKSHOP_EQUIP_CREATE_REQUEST = 12202;</code>
* *
@ -2720,11 +2732,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_EQUIP_CREATE_REQUEST(432, 12202), WORKSHOP_EQUIP_CREATE_REQUEST(434, 12202),
/** /**
* <code>WORKSHOP_EQUIP_CREATE_RESPONSE = 12203;</code> * <code>WORKSHOP_EQUIP_CREATE_RESPONSE = 12203;</code>
*/ */
WORKSHOP_EQUIP_CREATE_RESPONSE(433, 12203), WORKSHOP_EQUIP_CREATE_RESPONSE(435, 12203),
/** /**
* <code>WORKSHOP_REBUILD_REQUEST = 12204;</code> * <code>WORKSHOP_REBUILD_REQUEST = 12204;</code>
* *
@ -2732,11 +2744,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_REBUILD_REQUEST(434, 12204), WORKSHOP_REBUILD_REQUEST(436, 12204),
/** /**
* <code>WORKSHOP_REBUILD_RESPONSE = 12205;</code> * <code>WORKSHOP_REBUILD_RESPONSE = 12205;</code>
*/ */
WORKSHOP_REBUILD_RESPONSE(435, 12205), WORKSHOP_REBUILD_RESPONSE(437, 12205),
/** /**
* <code>WORKSHOP_REBUILD_CONFIRM_REQUEST = 12206;</code> * <code>WORKSHOP_REBUILD_CONFIRM_REQUEST = 12206;</code>
* *
@ -2744,11 +2756,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_REBUILD_CONFIRM_REQUEST(436, 12206), WORKSHOP_REBUILD_CONFIRM_REQUEST(438, 12206),
/** /**
* <code>WORKSHOP_REBUILD_CONFIRM_RESONSE = 12207;</code> * <code>WORKSHOP_REBUILD_CONFIRM_RESONSE = 12207;</code>
*/ */
WORKSHOP_REBUILD_CONFIRM_RESONSE(437, 12207), WORKSHOP_REBUILD_CONFIRM_RESONSE(439, 12207),
/** /**
* <code>WORKSHOP_LEVELUP_REQUEST = 12208;</code> * <code>WORKSHOP_LEVELUP_REQUEST = 12208;</code>
* *
@ -2756,11 +2768,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_LEVELUP_REQUEST(438, 12208), WORKSHOP_LEVELUP_REQUEST(440, 12208),
/** /**
* <code>WORKSHOP_LEVELUP_RESPONSE = 12209;</code> * <code>WORKSHOP_LEVELUP_RESPONSE = 12209;</code>
*/ */
WORKSHOP_LEVELUP_RESPONSE(439, 12209), WORKSHOP_LEVELUP_RESPONSE(441, 12209),
/** /**
* <code>WORKSHOP_TECHNOLOGY_LEVEL_REQUEST = 12210;</code> * <code>WORKSHOP_TECHNOLOGY_LEVEL_REQUEST = 12210;</code>
* *
@ -2768,11 +2780,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_TECHNOLOGY_LEVEL_REQUEST(440, 12210), WORKSHOP_TECHNOLOGY_LEVEL_REQUEST(442, 12210),
/** /**
* <code>WORKSHOP_TECHNOLOGY_RESPONSE = 12211;</code> * <code>WORKSHOP_TECHNOLOGY_RESPONSE = 12211;</code>
*/ */
WORKSHOP_TECHNOLOGY_RESPONSE(441, 12211), WORKSHOP_TECHNOLOGY_RESPONSE(443, 12211),
/** /**
* <code>WORKSHOP_TECHNOLOGY_RESET_REQUEST = 12212;</code> * <code>WORKSHOP_TECHNOLOGY_RESET_REQUEST = 12212;</code>
* *
@ -2780,11 +2792,11 @@ public final class MessageTypeProto {
* *
* </pre> * </pre>
*/ */
WORKSHOP_TECHNOLOGY_RESET_REQUEST(442, 12212), WORKSHOP_TECHNOLOGY_RESET_REQUEST(444, 12212),
/** /**
* <code>WORKSHOP_TECHNOLOGY_RESET_RESPONSE = 12213;</code> * <code>WORKSHOP_TECHNOLOGY_RESET_RESPONSE = 12213;</code>
*/ */
WORKSHOP_TECHNOLOGY_RESET_RESPONSE(443, 12213), WORKSHOP_TECHNOLOGY_RESET_RESPONSE(445, 12213),
; ;
/** /**
@ -4563,17 +4575,17 @@ public final class MessageTypeProto {
*/ */
public static final int MAP_TOWER_USEBUFF_RESPONSE_VALUE = 11232; public static final int MAP_TOWER_USEBUFF_RESPONSE_VALUE = 11232;
/** /**
* <code>MODIFY_HEAD_FRAME_REQUEST = 11233;</code> * <code>MODIFY_HEAD_REQUEST = 11233;</code>
* *
* <pre> * <pre>
* *
* </pre> * </pre>
*/ */
public static final int MODIFY_HEAD_FRAME_REQUEST_VALUE = 11233; public static final int MODIFY_HEAD_REQUEST_VALUE = 11233;
/** /**
* <code>MODIFY_HEAD_FRAME_RESPONSE = 11234;</code> * <code>MODIFY_HEAD_RESPONSE = 11234;</code>
*/ */
public static final int MODIFY_HEAD_FRAME_RESPONSE_VALUE = 11234; public static final int MODIFY_HEAD_RESPONSE_VALUE = 11234;
/** /**
* <code>MAP_OUT_INDICATION = 11235;</code> * <code>MAP_OUT_INDICATION = 11235;</code>
* *
@ -5475,6 +5487,18 @@ public final class MessageTypeProto {
* <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code> * <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code>
*/ */
public static final int VIP_TAKE_REWARD_RESPONSE_VALUE = 12105; public static final int VIP_TAKE_REWARD_RESPONSE_VALUE = 12105;
/**
* <code>VIEW_HERO_INFO_REQUEST = 12106;</code>
*
* <pre>
*
* </pre>
*/
public static final int VIEW_HERO_INFO_REQUEST_VALUE = 12106;
/**
* <code>VIEW_HERO_INFO_RESPONSE = 12107;</code>
*/
public static final int VIEW_HERO_INFO_RESPONSE_VALUE = 12107;
/** /**
* <code>WORKSHOP_FOUNDATION_REQUEST = 12200;</code> * <code>WORKSHOP_FOUNDATION_REQUEST = 12200;</code>
* *
@ -5852,8 +5876,8 @@ public final class MessageTypeProto {
case 11230: return MAP_TOWER_USEBOMB_RESPONSE; case 11230: return MAP_TOWER_USEBOMB_RESPONSE;
case 11231: return MAP_TOWER_USEBUFF_REQUEST; case 11231: return MAP_TOWER_USEBUFF_REQUEST;
case 11232: return MAP_TOWER_USEBUFF_RESPONSE; case 11232: return MAP_TOWER_USEBUFF_RESPONSE;
case 11233: return MODIFY_HEAD_FRAME_REQUEST; case 11233: return MODIFY_HEAD_REQUEST;
case 11234: return MODIFY_HEAD_FRAME_RESPONSE; case 11234: return MODIFY_HEAD_RESPONSE;
case 11235: return MAP_OUT_INDICATION; case 11235: return MAP_OUT_INDICATION;
case 11236: return MAIN_LEVEL_GET_INFO_REQUEST; case 11236: return MAIN_LEVEL_GET_INFO_REQUEST;
case 11237: return MAIN_LEVEL_GET_INFO_RESPONSE; case 11237: return MAIN_LEVEL_GET_INFO_RESPONSE;
@ -5995,6 +6019,8 @@ public final class MessageTypeProto {
case 12103: return VIP_LEVELUP_RESPONSE; case 12103: return VIP_LEVELUP_RESPONSE;
case 12104: return VIP_TAKE_REWARD_REQUEST; case 12104: return VIP_TAKE_REWARD_REQUEST;
case 12105: return VIP_TAKE_REWARD_RESPONSE; case 12105: return VIP_TAKE_REWARD_RESPONSE;
case 12106: return VIEW_HERO_INFO_REQUEST;
case 12107: return VIEW_HERO_INFO_RESPONSE;
case 12200: return WORKSHOP_FOUNDATION_REQUEST; case 12200: return WORKSHOP_FOUNDATION_REQUEST;
case 12201: return WORKSHOP_FOUNDATION_RESPONSE; case 12201: return WORKSHOP_FOUNDATION_RESPONSE;
case 12202: return WORKSHOP_EQUIP_CREATE_REQUEST; case 12202: return WORKSHOP_EQUIP_CREATE_REQUEST;
@ -6070,7 +6096,7 @@ public final class MessageTypeProto {
static { static {
java.lang.String[] descriptorData = { java.lang.String[] descriptorData = {
"\n\026MessageTypeProto.proto\022\032com.ljsd.jieli" + "\n\026MessageTypeProto.proto\022\032com.ljsd.jieli" +
"ng.protocols*\216o\n\013MessageType\022\027\n\022HEART_BE" + "ng.protocols*\275o\n\013MessageType\022\027\n\022HEART_BE" +
"AT_REQUEST\020\350\007\022\030\n\023HEART_BEAT_RESPONSE\020\351\007\022" + "AT_REQUEST\020\350\007\022\030\n\023HEART_BEAT_RESPONSE\020\351\007\022" +
"\036\n\031ACTIVITE_WORKSHOP_REQUEST\020\224N\022\037\n\032ACTIV" + "\036\n\031ACTIVITE_WORKSHOP_REQUEST\020\224N\022\037\n\032ACTIV" +
"ITE_WORKSHOP_RESPONSE\020\225N\022\027\n\022ARENA_INFO_R" + "ITE_WORKSHOP_RESPONSE\020\225N\022\027\n\022ARENA_INFO_R" +
@ -6299,134 +6325,135 @@ public final class MessageTypeProto {
"\n\031MAP_TOWER_USEBOMB_REQUEST\020\335W\022\037\n\032MAP_TO" + "\n\031MAP_TOWER_USEBOMB_REQUEST\020\335W\022\037\n\032MAP_TO" +
"WER_USEBOMB_RESPONSE\020\336W\022\036\n\031MAP_TOWER_USE" + "WER_USEBOMB_RESPONSE\020\336W\022\036\n\031MAP_TOWER_USE" +
"BUFF_REQUEST\020\337W\022\037\n\032MAP_TOWER_USEBUFF_RES", "BUFF_REQUEST\020\337W\022\037\n\032MAP_TOWER_USEBUFF_RES",
"PONSE\020\340W\022\036\n\031MODIFY_HEAD_FRAME_REQUEST\020\341W" + "PONSE\020\340W\022\030\n\023MODIFY_HEAD_REQUEST\020\341W\022\031\n\024MO" +
"\022\037\n\032MODIFY_HEAD_FRAME_RESPONSE\020\342W\022\027\n\022MAP" + "DIFY_HEAD_RESPONSE\020\342W\022\027\n\022MAP_OUT_INDICAT" +
"_OUT_INDICATION\020\343W\022 \n\033MAIN_LEVEL_GET_INF" + "ION\020\343W\022 \n\033MAIN_LEVEL_GET_INFO_REQUEST\020\344W" +
"O_REQUEST\020\344W\022!\n\034MAIN_LEVEL_GET_INFO_RESP" + "\022!\n\034MAIN_LEVEL_GET_INFO_RESPONSE\020\345W\022)\n$M" +
"ONSE\020\345W\022)\n$MAIN_LEVEL_TAKE_STATE_REWARD_" + "AIN_LEVEL_TAKE_STATE_REWARD_REQUEST\020\346W\022*" +
"REQUEST\020\346W\022*\n%MAIN_LEVEL_TAKE_STATE_REWA" + "\n%MAIN_LEVEL_TAKE_STATE_REWARD_RESPONSE\020" +
"RD_RESPONSE\020\347W\022 \n\033MAIN_LEVEL_GET_RANK_RE" + "\347W\022 \n\033MAIN_LEVEL_GET_RANK_REQUEST\020\350W\022!\n\034" +
"QUEST\020\350W\022!\n\034MAIN_LEVEL_GET_RANK_RESPONSE" + "MAIN_LEVEL_GET_RANK_RESPONSE\020\351W\022\030\n\023MAIL_" +
"\020\351W\022\030\n\023MAIL_DELETE_REQUEST\020\352W\022\031\n\024MAIL_DE" + "DELETE_REQUEST\020\352W\022\031\n\024MAIL_DELETE_RESPONS" +
"LETE_RESPONSE\020\353W\022\"\n\035NOTIFY_PAY_SUCCESS_I", "E\020\353W\022\"\n\035NOTIFY_PAY_SUCCESS_INDICATION\020\244X",
"NDICATION\020\244X\022&\n!POKEMON_COMONPENT_LEVELU" + "\022&\n!POKEMON_COMONPENT_LEVELUP_REQUEST\020\354Y" +
"P_REQUEST\020\354Y\022\'\n\"POKEMON_COMONPENT_LEVELU" + "\022\'\n\"POKEMON_COMONPENT_LEVELUP_RESPONSE\020\355" +
"P_RESPONSE\020\355Y\022\035\n\030POKEMON_ADVANCED_REQUES" + "Y\022\035\n\030POKEMON_ADVANCED_REQUEST\020\356Y\022\036\n\031POKE" +
"T\020\356Y\022\036\n\031POKEMON_ADVANCED_RESPONSE\020\357Y\022 \n\033" + "MON_ADVANCED_RESPONSE\020\357Y\022 \n\033PLAYER_BACKC" +
"PLAYER_BACKCINFO_INDICATION\020\360Y\022\031\n\024PLAY_W" + "INFO_INDICATION\020\360Y\022\031\n\024PLAY_WITH_SB_REQUE" +
"ITH_SB_REQUEST\020\361Y\022\032\n\025PLAY_WITH_SB_RESPON" + "ST\020\361Y\022\032\n\025PLAY_WITH_SB_RESPONSE\020\362Y\022\030\n\023QUE" +
"SE\020\362Y\022\030\n\023QUESTION_INDICATION\020\320Z\022\'\n\"QUICK" + "STION_INDICATION\020\320Z\022\'\n\"QUICK_START_MONST" +
"_START_MONSTERFIGHTER_REQUEST\020\321Z\022\'\n\"QUIC" + "ERFIGHTER_REQUEST\020\321Z\022\'\n\"QUICK_START_MONS" +
"K_START_MONSTERFIGHTER_REPONSE\020\322Z\022\026\n\021REC" + "TERFIGHTER_REPONSE\020\322Z\022\026\n\021RECONNECT_REQUE" +
"ONNECT_REQUEST\020\264[\022\027\n\022RECONNECT_RESPONSE\020", "ST\020\264[\022\027\n\022RECONNECT_RESPONSE\020\265[\022\027\n\022RANDOM",
"\265[\022\027\n\022RANDOMNAME_REQUEST\020\266[\022\030\n\023RANDOMNAM" + "NAME_REQUEST\020\266[\022\030\n\023RANDOMNAME_RESPONSE\020\267" +
"E_RESPONSE\020\267[\022\023\n\016RENAME_REQUEST\020\270[\022\024\n\017RE" + "[\022\023\n\016RENAME_REQUEST\020\270[\022\024\n\017RENAME_RESPONS" +
"NAME_RESPONSE\020\271[\022\032\n\025RINGFIRE_LOAD_REQUES" + "E\020\271[\022\032\n\025RINGFIRE_LOAD_REQUEST\020\272[\022\033\n\026RING" +
"T\020\272[\022\033\n\026RINGFIRE_LOAD_RESPONSE\020\273[\022\036\n\031RIN" + "FIRE_LOAD_RESPONSE\020\273[\022\036\n\031RINGFIRE_ADVANC" +
"GFIRE_ADVANCED_REQUEST\020\274[\022\037\n\032RINGFIRE_AD" + "ED_REQUEST\020\274[\022\037\n\032RINGFIRE_ADVANCED_RESPO" +
"VANCED_RESPONSE\020\275[\022!\n\034REFRESH_FRIEND_STA" + "NSE\020\275[\022!\n\034REFRESH_FRIEND_STATE_REQEUST\020\276" +
"TE_REQEUST\020\276[\022\"\n\035REFRESH_FRIEND_STATE_RE" + "[\022\"\n\035REFRESH_FRIEND_STATE_RESPONSE\020\277[\022\027\n" +
"SPONSE\020\277[\022\027\n\022ROOM_MATCH_REQUEST\020\300[\022\030\n\023RO" + "\022ROOM_MATCH_REQUEST\020\300[\022\030\n\023ROOM_MATCH_RES" +
"OM_MATCH_RESPONSE\020\301[\022\036\n\031ROOM_CANCEL_MATC" + "PONSE\020\301[\022\036\n\031ROOM_CANCEL_MATCH_REQUEST\020\302[" +
"H_REQUEST\020\302[\022\037\n\032ROOM_CANCEL_MATCH_RESPON", "\022\037\n\032ROOM_CANCEL_MATCH_RESPONSE\020\303[\022\"\n\035ROO",
"SE\020\303[\022\"\n\035ROOM_MATCH_SUCCESS_INDICATION\020\304" + "M_MATCH_SUCCESS_INDICATION\020\304[\022\"\n\035ROOM_ST" +
"[\022\"\n\035ROOM_START_GAME_READY_REQUEST\020\306[\022#\n" + "ART_GAME_READY_REQUEST\020\306[\022#\n\036ROOM_START_" +
"\036ROOM_START_GAME_READY_RESPONSE\020\307[\022\037\n\032RO" + "GAME_READY_RESPONSE\020\307[\022\037\n\032ROOM_START_GAM" +
"OM_START_GAME_INDICATION\020\310[\022\034\n\027ROOM_GAME" + "E_INDICATION\020\310[\022\034\n\027ROOM_GAME_START_REQUE" +
"_START_REQUEST\020\312[\022\035\n\030ROOM_GAME_START_RES" + "ST\020\312[\022\035\n\030ROOM_GAME_START_RESPONSE\020\313[\022\035\n\030" +
"PONSE\020\313[\022\035\n\030ROOM_GAME_END_INDICATION\020\314[\022" + "ROOM_GAME_END_INDICATION\020\314[\022\"\n\035ROOM_SYNC" +
"\"\n\035ROOM_SYNC_MYSELF_MOVE_REQUEST\020\316[\022#\n\036R" + "_MYSELF_MOVE_REQUEST\020\316[\022#\n\036ROOM_SYNC_MYS" +
"OOM_SYNC_MYSELF_MOVE_RESPONSE\020\317[\022#\n\036ROOM" + "ELF_MOVE_RESPONSE\020\317[\022#\n\036ROOM_SYNC_OTHER_" +
"_SYNC_OTHER_MOVE_INDICTION\020\320[\022\"\n\035ROOM_TR" + "MOVE_INDICTION\020\320[\022\"\n\035ROOM_TRIGGER_FIGHT_" +
"IGGER_FIGHT_INDICATION\020\322[\022\037\n\032ROOM_GET_FU", "INDICATION\020\322[\022\037\n\032ROOM_GET_FULL_INFO_REQE",
"LL_INFO_REQEUST\020\323[\022 \n\033ROOM_GET_FULL_INFO" + "UST\020\323[\022 \n\033ROOM_GET_FULL_INFO_RESPONSE\020\324[" +
"_RESPONSE\020\324[\022\"\n\035ROOM_MAP_UPDATE_EVENT_RE" + "\022\"\n\035ROOM_MAP_UPDATE_EVENT_REQUEST\020\325[\022#\n\036" +
"QUEST\020\325[\022#\n\036ROOM_MAP_UPDATE_EVENT_RESPON" + "ROOM_MAP_UPDATE_EVENT_RESPONSE\020\326[\022\036\n\031ROO" +
"SE\020\326[\022\036\n\031ROOM_MAP_POINT_INDICATION\020\327[\022#\n" + "M_MAP_POINT_INDICATION\020\327[\022#\n\036ROOM_PLAY_H" +
"\036ROOM_PLAY_HP_UPDATE_INDICATION\020\330[\022\035\n\030RE" + "P_UPDATE_INDICATION\020\330[\022\035\n\030REFRESH_ITEM_N" +
"FRESH_ITEM_NUM_REQUEST\020\331[\022\036\n\031REFRESH_ITE" + "UM_REQUEST\020\331[\022\036\n\031REFRESH_ITEM_NUM_RESPON" +
"M_NUM_RESPONSE\020\332[\022\034\n\027ROOM_ADDRESS_INDICA" + "SE\020\332[\022\034\n\027ROOM_ADDRESS_INDICATION\020\333[\022\027\n\022R" +
"TION\020\333[\022\027\n\022ROOM_LOGIN_REQEUST\020\334[\022\030\n\023ROOM" + "OOM_LOGIN_REQEUST\020\334[\022\030\n\023ROOM_LOGIN_RESPO" +
"_LOGIN_RESPONSE\020\346[\022\036\n\031REFRESH_LUCKWHEEL_" + "NSE\020\346[\022\036\n\031REFRESH_LUCKWHEEL_REQUEST\020\347[\022\037" +
"REQUEST\020\347[\022\037\n\032REFRESH_LUCKWHEEL_RESPONSE", "\n\032REFRESH_LUCKWHEEL_RESPONSE\020\350[\022\025\n\020SUCCE",
"\020\350[\022\025\n\020SUCCESS_RESPONSE\020\230\\\022 \n\033SWITCH_WOR" + "SS_RESPONSE\020\230\\\022 \n\033SWITCH_WORLDCHANNEL_RE" +
"LDCHANNEL_REQUEST\020\232\\\022!\n\034SWITCH_WORLDCHAN" + "QUEST\020\232\\\022!\n\034SWITCH_WORLDCHANNEL_RESPONSE" +
"NEL_RESPONSE\020\233\\\022\033\n\026SEND_CHAT_INFO_REQUES" + "\020\233\\\022\033\n\026SEND_CHAT_INFO_REQUEST\020\234\\\022\034\n\027SEND" +
"T\020\234\\\022\034\n\027SEND_CHAT_INFO_RESPONSE\020\235\\\022\036\n\031SE" + "_CHAT_INFO_RESPONSE\020\235\\\022\036\n\031SEND_RED_POINT" +
"ND_RED_POINT_INDICATION\020\236\\\022(\n#SAVE_NEW_P" + "_INDICATION\020\236\\\022(\n#SAVE_NEW_PLAYER_GUIDE_" +
"LAYER_GUIDE_POINT_REQUEST\020\237\\\022)\n$SAVE_NEW" + "POINT_REQUEST\020\237\\\022)\n$SAVE_NEW_PLAYER_GUID" +
"_PLAYER_GUIDE_POINT_RESPONSE\020\240\\\022\030\n\023SWEEP" + "E_POINT_RESPONSE\020\240\\\022\030\n\023SWEEP_RIGHT_REQUE" +
"_RIGHT_REQUEST\020\241\\\022\031\n\024SWEEP_RIGHT_RESPONS" + "ST\020\241\\\022\031\n\024SWEEP_RIGHT_RESPONSE\020\242\\\022\035\n\030SECR" +
"E\020\242\\\022\035\n\030SECRETBOX_RANDOM_REQUEST\020\243\\\022\036\n\031S" + "ETBOX_RANDOM_REQUEST\020\243\\\022\036\n\031SECRETBOX_RAN" +
"ECRETBOX_RANDOM_RESPONSE\020\244\\\022 \n\033STORE_GOO", "DOM_RESPONSE\020\244\\\022 \n\033STORE_GOODS_REFRESH_R",
"DS_REFRESH_REQUEST\020\245\\\022!\n\034STORE_GOODS_REF" + "EQUEST\020\245\\\022!\n\034STORE_GOODS_REFRESH_RESPONS" +
"RESH_RESPONSE\020\246\\\022\032\n\025RECHARGE_INFO_REQUES" + "E\020\246\\\022\032\n\025RECHARGE_INFO_REQUEST\020\247\\\022\033\n\026RECH" +
"T\020\247\\\022\033\n\026RECHARGE_INFO_RESPONSE\020\250\\\022 \n\033SEN" + "ARGE_INFO_RESPONSE\020\250\\\022 \n\033SEND_FRIEND_INF" +
"D_FRIEND_INFO_INDICATION\020\251\\\022\036\n\031SEND_CHAT" + "O_INDICATION\020\251\\\022\036\n\031SEND_CHAT_INFO_INDICA" +
"_INFO_INDICATION\020\252\\\022!\n\034SEND_FRIEND_STATE" + "TION\020\252\\\022!\n\034SEND_FRIEND_STATE_INDICATION\020" +
"_INDICATION\020\253\\\022 \n\033SCENE_MSG_UPDATE_INDIC" + "\253\\\022 \n\033SCENE_MSG_UPDATE_INDICATION\020\254\\\022\037\n\032" +
"ATION\020\254\\\022\037\n\032SCENE_GET_FULL_MSG_REQUEST\020\255" + "SCENE_GET_FULL_MSG_REQUEST\020\255\\\022 \n\033SCENE_G" +
"\\\022 \n\033SCENE_GET_FULL_MSG_RESPONSE\020\256\\\022\032\n\025S" + "ET_FULL_MSG_RESPONSE\020\256\\\022\032\n\025SCENE_COMMAND" +
"CENE_COMMAND_REQUEST\020\257\\\022\033\n\026SCENE_COMMAND" + "_REQUEST\020\257\\\022\033\n\026SCENE_COMMAND_RESPONSE\020\260\\" +
"_RESPONSE\020\260\\\022\030\n\023SERVER_ZERO_REQUEST\020\261\\\022\034", "\022\030\n\023SERVER_ZERO_REQUEST\020\261\\\022\034\n\027STORE_UPDA",
"\n\027STORE_UPDATE_INDICATION\020\262\\\022\024\n\017SIGN_IN_" + "TE_INDICATION\020\262\\\022\024\n\017SIGN_IN_REQUEST\020\263\\\022\025" +
"REQUEST\020\263\\\022\025\n\020SIGN_IN_RESPONSE\020\264\\\022%\n SCE" + "\n\020SIGN_IN_RESPONSE\020\264\\\022%\n SCENE_GAME_OVER" +
"NE_GAME_OVER_READY_INDICATION\020\265\\\022\037\n\032SCEN" + "_READY_INDICATION\020\265\\\022\037\n\032SCENE_GAME_OVER_" +
"E_GAME_OVER_INDICATION\020\266\\\022\034\n\027SOUL_EQUIP_" + "INDICATION\020\266\\\022\034\n\027SOUL_EQUIP_WEAR_REQUEST" +
"WEAR_REQUEST\020\267\\\022\035\n\030SOUL_EQUIP_WEAR_RESPO" + "\020\267\\\022\035\n\030SOUL_EQUIP_WEAR_RESPONSE\020\270\\\022\"\n\035SO" +
"NSE\020\270\\\022\"\n\035SOUL_EQUIP_UNLOAD_OPT_REQUEST\020" + "UL_EQUIP_UNLOAD_OPT_REQUEST\020\271\\\022#\n\036SOUL_E" +
"\271\\\022#\n\036SOUL_EQUIP_UNLOAD_OPT_RESPONSE\020\272\\\022" + "QUIP_UNLOAD_OPT_RESPONSE\020\272\\\022\034\n\027SOUL_RAND" +
"\034\n\027SOUL_RAND_EQUIP_REQUEST\020\273\\\022\035\n\030SOUL_RA" + "_EQUIP_REQUEST\020\273\\\022\035\n\030SOUL_RAND_EQUIP_RES" +
"ND_EQUIP_RESPONSE\020\274\\\022\"\n\035SOUL_FORCE_RAND_" + "PONSE\020\274\\\022\"\n\035SOUL_FORCE_RAND_EQUIP_REQUES" +
"EQUIP_REQUEST\020\275\\\022#\n\036SOUL_FORCE_RAND_EQUI", "T\020\275\\\022#\n\036SOUL_FORCE_RAND_EQUIP_RESPONSE\020\276",
"P_RESPONSE\020\276\\\022\032\n\025TRIGGER_EVENT_REQUEST\020\374" + "\\\022\032\n\025TRIGGER_EVENT_REQUEST\020\374\\\022\033\n\026TRIGGER" +
"\\\022\033\n\026TRIGGER_EVENT_RESPONSE\020\375\\\022\032\n\025TEAM_P" + "_EVENT_RESPONSE\020\375\\\022\032\n\025TEAM_POS_SAVE_REQU" +
"OS_SAVE_REQUEST\020\376\\\022\033\n\026TEAM_POS_SAVE_RESP" + "EST\020\376\\\022\033\n\026TEAM_POS_SAVE_RESPONSE\020\377\\\022!\n\034T" +
"ONSE\020\377\\\022!\n\034TAKE_ACTIVITY_REWARD_REQUEST\020" + "AKE_ACTIVITY_REWARD_REQUEST\020\200]\022\"\n\035TAKE_A" +
"\200]\022\"\n\035TAKE_ACTIVITY_REWARD_RESPONSE\020\201]\022 " + "CTIVITY_REWARD_RESPONSE\020\201]\022 \n\033TAKE_MISSI" +
"\n\033TAKE_MISSION_REWARD_REQUEST\020\202]\022!\n\034TAKE" + "ON_REWARD_REQUEST\020\202]\022!\n\034TAKE_MISSION_REW" +
"_MISSION_REWARD_RESPONSE\020\203]\022 \n\033TEST_BUY_" + "ARD_RESPONSE\020\203]\022 \n\033TEST_BUY_GIGT_GOODS_R" +
"GIGT_GOODS_REQEUST\020\204]\022!\n\034TEST_BUY_GIGT_G" + "EQEUST\020\204]\022!\n\034TEST_BUY_GIGT_GOODS_RESPONS" +
"OODS_RESPONSE\020\205]\022\036\n\031TAKE_TOWER_REWARD_RE" + "E\020\205]\022\036\n\031TAKE_TOWER_REWARD_REQUEST\020\206]\022\037\n\032" +
"QUEST\020\206]\022\037\n\032TAKE_TOWER_REWARD_RESPONSE\020\207", "TAKE_TOWER_REWARD_RESPONSE\020\207]\022$\n\037TAKE_SE",
"]\022$\n\037TAKE_SEVEN_HAPPY_REWARD_REQUEST\020\210]\022" + "VEN_HAPPY_REWARD_REQUEST\020\210]\022%\n TAKE_SEVE" +
"%\n TAKE_SEVEN_HAPPY_REWARD_RESPONSE\020\211]\022\033" + "N_HAPPY_REWARD_RESPONSE\020\211]\022\033\n\026TO_BE_STRO" +
"\n\026TO_BE_STRONGER_REQUEST\020\212]\022\034\n\027TO_BE_STR" + "NGER_REQUEST\020\212]\022\034\n\027TO_BE_STRONGER_RESPON" +
"ONGER_RESPONSE\020\213]\022 \n\033TREASURE_REFRESH_IN" + "SE\020\213]\022 \n\033TREASURE_REFRESH_INDICATION\020\214]\022" +
"DICATION\020\214]\022 \n\033TREASURE_LEVELUP_INDICATI" + " \n\033TREASURE_LEVELUP_INDICATION\020\215]\022\032\n\025UP_" +
"ON\020\215]\022\032\n\025UP_HERO_LEVEL_REQUEST\020\340]\022\033\n\026UP_" + "HERO_LEVEL_REQUEST\020\340]\022\033\n\026UP_HERO_LEVEL_R" +
"HERO_LEVEL_RESPONSE\020\341]\022\031\n\024UP_HERO_STAR_R" + "ESPONSE\020\341]\022\031\n\024UP_HERO_STAR_REQUEST\020\342]\022\032\n" +
"EQUEST\020\342]\022\032\n\025UP_HERO_STAR_RESPONSE\020\343]\022 \n" + "\025UP_HERO_STAR_RESPONSE\020\343]\022 \n\033USER_AND_PR" +
"\033USER_AND_PRICE_ITEM_REQUEST\020\344]\022!\n\034USER_" + "ICE_ITEM_REQUEST\020\344]\022!\n\034USER_AND_PRICE_IT" +
"AND_PRICE_ITEM_RESPONSE\020\345]\022\036\n\031USER_FORCE", "EM_RESPONSE\020\345]\022\036\n\031USER_FORCE_CHANGE_REQU",
"_CHANGE_REQUEST\020\346]\022\037\n\032USER_FORCE_CHANGE_" + "EST\020\346]\022\037\n\032USER_FORCE_CHANGE_RESPONSE\020\347]\022" +
"RESPONSE\020\347]\022\032\n\025UPDATE_BAG_INDICATION\020\350]\022" + "\032\n\025UPDATE_BAG_INDICATION\020\350]\022\031\n\024UPDATE_ST" +
"\031\n\024UPDATE_STATE_REQUEST\020\351]\022\032\n\025UPDATE_STA" + "ATE_REQUEST\020\351]\022\032\n\025UPDATE_STATE_RESPONSE\020" +
"TE_RESPONSE\020\352]\022\037\n\032UPDATE_USER_EXP_INDICA" + "\352]\022\037\n\032UPDATE_USER_EXP_INDICATION\020\353]\022(\n#U" +
"TION\020\353]\022(\n#UPDATE_SECRET_BOX_SEASON_INDI" + "PDATE_SECRET_BOX_SEASON_INDICATION\020\354]\022\036\n" +
"CATION\020\354]\022\036\n\031UPDATE_PHONE_INFO_REQUEST\020\355" + "\031UPDATE_PHONE_INFO_REQUEST\020\355]\022\037\n\032UPDATE_" +
"]\022\037\n\032UPDATE_PHONE_INFO_RESPONSE\020\356]\022\034\n\027UP" + "PHONE_INFO_RESPONSE\020\356]\022\034\n\027UPDATE_QUESTIO" +
"DATE_QUESTION_REQUEST\020\357]\022\035\n\030UPDATE_QUEST" + "N_REQUEST\020\357]\022\035\n\030UPDATE_QUESTION_RESPONSE" +
"ION_RESPONSE\020\360]\022 \n\033UP_SOUL_EQUIP_QUICK_R" + "\020\360]\022 \n\033UP_SOUL_EQUIP_QUICK_REQUEST\020\362]\022\033\n" +
"EQUEST\020\362]\022\033\n\026UP_SOUL_EQUIP_RESPONSE\020\363]\022\035", "\026UP_SOUL_EQUIP_RESPONSE\020\363]\022\035\n\030VIEW_FIGHT",
"\n\030VIEW_FIGHTREPLAY_REQUEST\020\304^\022\036\n\031VIEW_FI" + "REPLAY_REQUEST\020\304^\022\036\n\031VIEW_FIGHTREPLAY_RE" +
"GHTREPLAY_RESPONSE\020\305^\022\030\n\023VIP_LEVELUP_REQ" + "SPONSE\020\305^\022\030\n\023VIP_LEVELUP_REQEUST\020\306^\022\031\n\024V" +
"EUST\020\306^\022\031\n\024VIP_LEVELUP_RESPONSE\020\307^\022\034\n\027VI" + "IP_LEVELUP_RESPONSE\020\307^\022\034\n\027VIP_TAKE_REWAR" +
"P_TAKE_REWARD_REQUEST\020\310^\022\035\n\030VIP_TAKE_REW" + "D_REQUEST\020\310^\022\035\n\030VIP_TAKE_REWARD_RESPONSE" +
"ARD_RESPONSE\020\311^\022 \n\033WORKSHOP_FOUNDATION_R" + "\020\311^\022\033\n\026VIEW_HERO_INFO_REQUEST\020\312^\022\034\n\027VIEW" +
"EQUEST\020\250_\022!\n\034WORKSHOP_FOUNDATION_RESPONS" + "_HERO_INFO_RESPONSE\020\313^\022 \n\033WORKSHOP_FOUND" +
"E\020\251_\022\"\n\035WORKSHOP_EQUIP_CREATE_REQUEST\020\252_" + "ATION_REQUEST\020\250_\022!\n\034WORKSHOP_FOUNDATION_" +
"\022#\n\036WORKSHOP_EQUIP_CREATE_RESPONSE\020\253_\022\035\n" + "RESPONSE\020\251_\022\"\n\035WORKSHOP_EQUIP_CREATE_REQ" +
"\030WORKSHOP_REBUILD_REQUEST\020\254_\022\036\n\031WORKSHOP" + "UEST\020\252_\022#\n\036WORKSHOP_EQUIP_CREATE_RESPONS" +
"_REBUILD_RESPONSE\020\255_\022%\n WORKSHOP_REBUILD", "E\020\253_\022\035\n\030WORKSHOP_REBUILD_REQUEST\020\254_\022\036\n\031W",
"_CONFIRM_REQUEST\020\256_\022%\n WORKSHOP_REBUILD_" + "ORKSHOP_REBUILD_RESPONSE\020\255_\022%\n WORKSHOP_" +
"CONFIRM_RESONSE\020\257_\022\035\n\030WORKSHOP_LEVELUP_R" + "REBUILD_CONFIRM_REQUEST\020\256_\022%\n WORKSHOP_R" +
"EQUEST\020\260_\022\036\n\031WORKSHOP_LEVELUP_RESPONSE\020\261" + "EBUILD_CONFIRM_RESONSE\020\257_\022\035\n\030WORKSHOP_LE" +
"_\022&\n!WORKSHOP_TECHNOLOGY_LEVEL_REQUEST\020\262" + "VELUP_REQUEST\020\260_\022\036\n\031WORKSHOP_LEVELUP_RES" +
"_\022!\n\034WORKSHOP_TECHNOLOGY_RESPONSE\020\263_\022&\n!" + "PONSE\020\261_\022&\n!WORKSHOP_TECHNOLOGY_LEVEL_RE" +
"WORKSHOP_TECHNOLOGY_RESET_REQUEST\020\264_\022\'\n\"" + "QUEST\020\262_\022!\n\034WORKSHOP_TECHNOLOGY_RESPONSE" +
"WORKSHOP_TECHNOLOGY_RESET_RESPONSE\020\265_B\002H" + "\020\263_\022&\n!WORKSHOP_TECHNOLOGY_RESET_REQUEST" +
"\001" "\020\264_\022\'\n\"WORKSHOP_TECHNOLOGY_RESET_RESPONS" +
"E\020\265_B\002H\001"
}; };
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {

View File

@ -1765,7 +1765,7 @@ public class MapLogic {
if (hero == null) { if (hero == null) {
continue; continue;
} }
heroForces += HeroLogic.getInstance().calHeoForce(user, hero, true); heroForces += HeroLogic.getInstance().calHeoForce(user, hero);
crossInfo.getHeroIds().add(hero.getTemplateId()); crossInfo.getHeroIds().add(hero.getTemplateId());
} }

View File

@ -0,0 +1,19 @@
package com.ljsd.jieling.handler.player;
import com.ljsd.jieling.handler.BaseHandler;
import com.ljsd.jieling.logic.player.PlayerLogic;
import com.ljsd.jieling.network.session.ISession;
import com.ljsd.jieling.protocols.MessageTypeProto;
import com.ljsd.jieling.protocols.PlayerInfoProto;
public class ViewHeroInfoHandler extends BaseHandler<PlayerInfoProto.ViewHeroInfoRequest> {
@Override
public MessageTypeProto.MessageType getMessageCode() {
return MessageTypeProto.MessageType.VIEW_HERO_INFO_REQUEST;
}
@Override
public void processWithProto(ISession iSession, PlayerInfoProto.ViewHeroInfoRequest proto) throws Exception {
PlayerLogic.getInstance().viewHeroInfo(iSession,proto.getTargetUid(),proto.getHeroId());
}
}

View File

@ -68,7 +68,7 @@ public class BloodLogic {
heroAttributeMap = CombatLogic.getInstance().bufferOneHeroAttrAfterEat(heroAttributeMap,buffInfo[i]); heroAttributeMap = CombatLogic.getInstance().bufferOneHeroAttrAfterEat(heroAttributeMap,buffInfo[i]);
} }
} }
heroAllAttribute.put(heroInfo.getHeroId(), new FamilyHeroInfo(hero.getTemplateId(), hero.getLevel(), heroAttributeMap)); heroAllAttribute.put(heroInfo.getHeroId(), new FamilyHeroInfo(hero.getTemplateId(), hero.getLevel(),hero.getStar(), heroAttributeMap));
} }
return heroAllAttribute; return heroAllAttribute;
} }
@ -91,7 +91,6 @@ public class BloodLogic {
/** /**
* *
* @param user
* @param heroInfo * @param heroInfo
* @return * @return
*/ */
@ -109,12 +108,11 @@ public class BloodLogic {
.build(); .build();
heroDefendFightInfos.add(heroFightInfo); heroDefendFightInfos.add(heroFightInfo);
} }
CommonProto.FightTeamInfo fightDefendTeamInfo = CommonProto.FightTeamInfo. return CommonProto.FightTeamInfo.
newBuilder() newBuilder()
.addAllFightUnitList(heroDefendFightInfos) .addAllFightUnitList(heroDefendFightInfos)
.setTeamSkillList(pokmanSkill) .setTeamSkillList(pokmanSkill)
.build(); .build();
return fightDefendTeamInfo;
} }
/** /**

View File

@ -7,6 +7,7 @@ public class FamilyHeroInfo {
private int templeteId; private int templeteId;
private int level; private int level;
private int star;
private Map<Integer,Integer> attribute; private Map<Integer,Integer> attribute;
public int getTempleteId() { public int getTempleteId() {
@ -17,6 +18,10 @@ public class FamilyHeroInfo {
return level; return level;
} }
public int getStar() {
return star;
}
public Map<Integer, Integer> getAttribute() { public Map<Integer, Integer> getAttribute() {
return attribute; return attribute;
} }
@ -33,10 +38,11 @@ public class FamilyHeroInfo {
this.attribute = attribute; this.attribute = attribute;
} }
public FamilyHeroInfo(int templeteId, int level, Map<Integer, Integer> attribute) { public FamilyHeroInfo(int templeteId, int level, int star,Map<Integer, Integer> attribute) {
this.templeteId = templeteId; this.templeteId = templeteId;
this.level = level; this.level = level;
this.attribute = attribute; this.attribute = attribute;
this.star = star;
} }
public FamilyHeroInfo() { public FamilyHeroInfo() {

View File

@ -101,12 +101,17 @@ public class GuildFightLogic {
public static void viewDefendDetailInfo(ISession session, int uid,int gid ,MessageTypeProto.MessageType messageType) throws Exception { public static void viewDefendDetailInfo(ISession session, int uid,int gid ,MessageTypeProto.MessageType messageType) throws Exception {
FamilyFightInfo fightInfo = RedisUtil.getInstence().getMapEntry(RedisKey.FAMILY_FIGHT, String.valueOf(gid), String.valueOf(uid), FamilyFightInfo.class); FamilyFightInfo fightInfo = RedisUtil.getInstence().getMapEntry(RedisKey.FAMILY_FIGHT, String.valueOf(gid), String.valueOf(uid), FamilyFightInfo.class);
CommonProto.Team.Builder team = CommonProto.Team.newBuilder();
CommonProto.TeamOneTeamInfo.Builder oneInfo = CommonProto.TeamOneTeamInfo.newBuilder(); CommonProto.TeamOneTeamInfo.Builder oneInfo = CommonProto.TeamOneTeamInfo.newBuilder();
if(fightInfo!=null){ if(fightInfo!=null){
for(Map.Entry<String, FamilyHeroInfo> entry:fightInfo.getHeroAttribute().entrySet()){ for(Map.Entry<String, FamilyHeroInfo> entry:fightInfo.getHeroAttribute().entrySet()){
int templateId = entry.getValue().getTempleteId(); FamilyHeroInfo familyHeroInfo = entry.getValue();
team.addHeroTid(templateId); oneInfo.addTeam(CommonProto.TeamSimpleInfo.newBuilder()
.setHeroid(entry.getKey())
.setHeroTid(familyHeroInfo.getTempleteId())
.setStar(familyHeroInfo.getStar())
.setLevel(familyHeroInfo.getLevel())
.build()
);
Map<Integer, Integer> attribute = entry.getValue().getAttribute(); Map<Integer, Integer> attribute = entry.getValue().getAttribute();
if(status==3){ if(status==3){
int remainHp = attribute.get(HeroAttributeEnum.CurHP.getPropertyId())*100/attribute.get(HeroAttributeEnum.Hp.getPropertyId()); int remainHp = attribute.get(HeroAttributeEnum.CurHP.getPropertyId())*100/attribute.get(HeroAttributeEnum.Hp.getPropertyId());
@ -123,7 +128,8 @@ public class GuildFightLogic {
teamPosHeroInfos = teamPosManager.getTeamPosForHero().get(1); teamPosHeroInfos = teamPosManager.getTeamPosForHero().get(1);
} }
for(TeamPosHeroInfo heroInfo:teamPosHeroInfos){ for(TeamPosHeroInfo heroInfo:teamPosHeroInfos){
team.addHeroTid(user.getHeroManager().getHero(heroInfo.getHeroId()).getTemplateId()); Hero hero = user.getHeroManager().getHero(heroInfo.getHeroId());
oneInfo.addTeam(CBean2Proto.getSimpleTeamInfoByHero(hero));
} }
int force = HeroLogic.getInstance().calTeamTotalForce(user, 501, false); int force = HeroLogic.getInstance().calTeamTotalForce(user, 501, false);
if(force==0){ if(force==0){
@ -136,7 +142,6 @@ public class GuildFightLogic {
} }
} }
} }
oneInfo.setTeam(team);
Family.FamilyDefendDetailViewResponse.Builder response = Family.FamilyDefendDetailViewResponse.newBuilder(); Family.FamilyDefendDetailViewResponse.Builder response = Family.FamilyDefendDetailViewResponse.newBuilder();
response.setTeamInfo(oneInfo); response.setTeamInfo(oneInfo);
MessageUtil.sendMessage(session, 1, messageType.getNumber(), response.build(), true); MessageUtil.sendMessage(session, 1, messageType.getNumber(), response.build(), true);

View File

@ -1300,7 +1300,7 @@ public class HeroLogic {
} }
public int calHeoForce(User user, Hero hero,boolean isMyself){ public int calHeoForce(User user, Hero hero){
Map<Integer, Integer> heroAllAttribute; Map<Integer, Integer> heroAllAttribute;
heroAllAttribute = calHeroNotBufferAttribute(user, hero,true,0); heroAllAttribute = calHeroNotBufferAttribute(user, hero,true,0);
//战力保存 //战力保存
@ -1309,7 +1309,7 @@ public class HeroLogic {
} }
private int calForce( Map<Integer, Integer> heroAllAttribute ){ public int calForce( Map<Integer, Integer> heroAllAttribute ){
double result = 0; double result = 0;
for(Map.Entry<Integer, Integer> item : heroAllAttribute.entrySet()){ for(Map.Entry<Integer, Integer> item : heroAllAttribute.entrySet()){
Integer propertyId = item.getKey(); Integer propertyId = item.getKey();
@ -1806,7 +1806,7 @@ public class HeroLogic {
if (hero == null) { if (hero == null) {
continue; continue;
} }
totalForce +=calHeoForce(targetUser, hero,isMyself); totalForce +=calHeoForce(targetUser, hero);
} }
return totalForce; return totalForce;
} }
@ -2054,7 +2054,7 @@ public class HeroLogic {
for(TeamPosHeroInfo teamPosHeroInfo: teamPosHeroInfoList){ for(TeamPosHeroInfo teamPosHeroInfo: teamPosHeroInfoList){
String heroId = teamPosHeroInfo.getHeroId(); String heroId = teamPosHeroInfo.getHeroId();
Hero hero = heroMap.get(heroId); Hero hero = heroMap.get(heroId);
heroPosMap.put(teamPosHeroInfo.getPosition(),calHeoForce(user,hero,false)); heroPosMap.put(teamPosHeroInfo.getPosition(),calHeoForce(user,hero));
} }
for(int i=1;i<6;i++){ for(int i=1;i<6;i++){
Integer force = heroPosMap.get(i); Integer force = heroPosMap.get(i);

View File

@ -35,6 +35,7 @@ import manager.STableManager;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import util.MathUtils; import util.MathUtils;
import util.StringUtil;
import util.TimeUtils; import util.TimeUtils;
import java.util.*; import java.util.*;
@ -460,7 +461,7 @@ public class PlayerLogic {
if(teamPosManager.getTeamPosForHero().containsKey(teamId)){ if(teamPosManager.getTeamPosForHero().containsKey(teamId)){
for (TeamPosHeroInfo heroInfo:teamPosManager.getTeamPosForHero().get(teamId)) { for (TeamPosHeroInfo heroInfo:teamPosManager.getTeamPosForHero().get(teamId)) {
Hero hero = user.getHeroManager().getHero(heroInfo.getHeroId()); Hero hero = user.getHeroManager().getHero(heroInfo.getHeroId());
teamInfo.addTeam(CommonProto.TeamInfoDeatail.newBuilder().setHeroTid(hero.getTemplateId()).setLevel(hero.getLevel()).setStar(hero.getStar()).build()); teamInfo.addTeam(CBean2Proto.getSimpleTeamInfoByHero(hero));
} }
} }
oneInfo.setTeam(teamInfo); oneInfo.setTeam(teamInfo);
@ -470,6 +471,40 @@ public class PlayerLogic {
} }
public void viewHeroInfo(ISession session,int uid,String heroId) throws Exception {
User userInMem = UserManager.getUserInMem(uid);
int resMsgId = MessageTypeProto.MessageType.VIEW_HERO_INFO_RESPONSE_VALUE;
if(userInMem == null){
MessageUtil.sendErrorResponse(session,0,resMsgId,"not allowed");
return;
}
Hero hero = userInMem.getHeroManager().getHeroMap().get(heroId);
if(hero == null){
MessageUtil.sendErrorResponse(session,0,resMsgId,"hero no");
return;
}
PlayerInfoProto.ViewHeroInfoResponse.Builder builder = PlayerInfoProto.ViewHeroInfoResponse.newBuilder();
Map<Integer, Integer> heroNotBufferAttribute = HeroLogic.getInstance().calHeroNotBufferAttribute(userInMem, hero, true, 0);
for(Map.Entry<Integer,Integer> item : heroNotBufferAttribute.entrySet()){
builder.addSpecialEffects(CommonProto.SpecialEffects.newBuilder().setPropertyId(item.getKey()).setPropertyValue(item.getValue()).build());
}
EquipManager equipManager = userInMem.getEquipManager();
Map<String, Equip> equipMap = equipManager.getEquipMap();
for(String equipId : hero.getEquipByPositionMap().values()){
builder.addEquip(CBean2Proto.getEquipProto(equipMap.get(equipId)));
}
Map<String, SoulEquip> soulEquipMap = equipManager.getSoulEquipMap();
for(String equipId : hero.getSoulEquipByPositionMap().values()){
builder.addEquip(CBean2Proto.getEquipProto(soulEquipMap.get(equipId)));
}
String especialEquip = hero.getEspecialEquip();
if(!StringUtil.isEmpty(especialEquip)){
builder.addEquip(CBean2Proto.getEquipProto(equipManager.getEspecialEquipMap().get(especialEquip)));
}
builder.setForce(HeroLogic.getInstance().calForce(heroNotBufferAttribute));
MessageUtil.sendMessage(session,1,resMsgId,builder.build(),true);
}
public void takeSevenScoreReward(ISession iSession) throws Exception { public void takeSevenScoreReward(ISession iSession) throws Exception {
User user = UserManager.getUser(iSession.getUid()); User user = UserManager.getUser(iSession.getUid());
int msgId = MessageTypeProto.MessageType.TAKE_SEVEN_HAPPY_REWARD_RESPONSE_VALUE; int msgId = MessageTypeProto.MessageType.TAKE_SEVEN_HAPPY_REWARD_RESPONSE_VALUE;

View File

@ -495,4 +495,9 @@ public class CBean2Proto {
} }
return builder.build(); return builder.build();
} }
public static CommonProto.TeamSimpleInfo getSimpleTeamInfoByHero(Hero hero){
return CommonProto.TeamSimpleInfo.newBuilder().setHeroid(hero.getId()).setHeroTid(hero.getTemplateId()).setLevel(hero.getLevel()).setStar(hero.getStar()).build();
}
} }