Merge branch 'master' of http://60.1.1.230/backend/jieling_server
commit
c0a0514fe7
|
@ -137,9 +137,9 @@ public final class ChatProto {
|
|||
com.google.protobuf.ByteString
|
||||
getMsgBytes();
|
||||
|
||||
// optional string head = 8;
|
||||
// optional int32 head = 8;
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
|
@ -147,22 +147,13 @@ public final class ChatProto {
|
|||
*/
|
||||
boolean hasHead();
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
* </pre>
|
||||
*/
|
||||
java.lang.String getHead();
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
* </pre>
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getHeadBytes();
|
||||
int getHead();
|
||||
|
||||
// optional int32 frame = 9;
|
||||
/**
|
||||
|
@ -343,6 +334,34 @@ public final class ChatProto {
|
|||
* </pre>
|
||||
*/
|
||||
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}
|
||||
|
@ -425,9 +444,9 @@ public final class ChatProto {
|
|||
msg_ = input.readBytes();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
case 64: {
|
||||
bitField0_ |= 0x00000040;
|
||||
head_ = input.readBytes();
|
||||
head_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
|
@ -480,6 +499,16 @@ public final class ChatProto {
|
|||
frequency_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 160: {
|
||||
bitField0_ |= 0x00020000;
|
||||
speed_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 168: {
|
||||
bitField0_ |= 0x00040000;
|
||||
multiple_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} 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;
|
||||
private java.lang.Object head_;
|
||||
private int head_;
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
|
@ -740,45 +769,14 @@ public final class ChatProto {
|
|||
return ((bitField0_ & 0x00000040) == 0x00000040);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
* </pre>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
|
||||
// optional int32 frame = 9;
|
||||
|
@ -1021,6 +1019,46 @@ public final class ChatProto {
|
|||
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() {
|
||||
senderId_ = 0;
|
||||
senderName_ = "";
|
||||
|
@ -1028,7 +1066,7 @@ public final class ChatProto {
|
|||
sendervip_ = 0;
|
||||
times_ = 0L;
|
||||
msg_ = "";
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
frame_ = 0;
|
||||
soulVal_ = 0;
|
||||
messageId_ = 0L;
|
||||
|
@ -1039,6 +1077,8 @@ public final class ChatProto {
|
|||
endTime_ = 0;
|
||||
priorityLevel_ = 0;
|
||||
frequency_ = 0;
|
||||
speed_ = 0;
|
||||
multiple_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
|
@ -1071,7 +1111,7 @@ public final class ChatProto {
|
|||
output.writeBytes(7, getMsgBytes());
|
||||
}
|
||||
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
||||
output.writeBytes(8, getHeadBytes());
|
||||
output.writeInt32(8, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
output.writeInt32(9, frame_);
|
||||
|
@ -1103,6 +1143,12 @@ public final class ChatProto {
|
|||
if (((bitField0_ & 0x00010000) == 0x00010000)) {
|
||||
output.writeInt32(19, frequency_);
|
||||
}
|
||||
if (((bitField0_ & 0x00020000) == 0x00020000)) {
|
||||
output.writeInt32(20, speed_);
|
||||
}
|
||||
if (((bitField0_ & 0x00040000) == 0x00040000)) {
|
||||
output.writeInt32(21, multiple_);
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
|
@ -1138,7 +1184,7 @@ public final class ChatProto {
|
|||
}
|
||||
if (((bitField0_ & 0x00000040) == 0x00000040)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(8, getHeadBytes());
|
||||
.computeInt32Size(8, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000080) == 0x00000080)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
|
@ -1180,6 +1226,14 @@ public final class ChatProto {
|
|||
size += com.google.protobuf.CodedOutputStream
|
||||
.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();
|
||||
memoizedSerializedSize = size;
|
||||
return size;
|
||||
|
@ -1308,7 +1362,7 @@ public final class ChatProto {
|
|||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
msg_ = "";
|
||||
bitField0_ = (bitField0_ & ~0x00000020);
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
frame_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
|
@ -1330,6 +1384,10 @@ public final class ChatProto {
|
|||
bitField0_ = (bitField0_ & ~0x00008000);
|
||||
frequency_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00010000);
|
||||
speed_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00020000);
|
||||
multiple_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00040000);
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -1426,6 +1484,14 @@ public final class ChatProto {
|
|||
to_bitField0_ |= 0x00010000;
|
||||
}
|
||||
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_;
|
||||
onBuilt();
|
||||
return result;
|
||||
|
@ -1465,9 +1531,7 @@ public final class ChatProto {
|
|||
onChanged();
|
||||
}
|
||||
if (other.hasHead()) {
|
||||
bitField0_ |= 0x00000040;
|
||||
head_ = other.head_;
|
||||
onChanged();
|
||||
setHead(other.getHead());
|
||||
}
|
||||
if (other.hasFrame()) {
|
||||
setFrame(other.getFrame());
|
||||
|
@ -1499,6 +1563,12 @@ public final class ChatProto {
|
|||
if (other.hasFrequency()) {
|
||||
setFrequency(other.getFrequency());
|
||||
}
|
||||
if (other.hasSpeed()) {
|
||||
setSpeed(other.getSpeed());
|
||||
}
|
||||
if (other.hasMultiple()) {
|
||||
setMultiple(other.getMultiple());
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
return this;
|
||||
}
|
||||
|
@ -1918,10 +1988,10 @@ public final class ChatProto {
|
|||
return this;
|
||||
}
|
||||
|
||||
// optional string head = 8;
|
||||
private java.lang.Object head_ = "";
|
||||
// optional int32 head = 8;
|
||||
private int head_ ;
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
|
@ -1931,62 +2001,30 @@ public final class ChatProto {
|
|||
return ((bitField0_ & 0x00000040) == 0x00000040);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
* </pre>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
* </pre>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getHeadBytes() {
|
||||
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;
|
||||
public Builder setHead(int value) {
|
||||
bitField0_ |= 0x00000040;
|
||||
head_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 8;</code>
|
||||
* <code>optional int32 head = 8;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 头像
|
||||
|
@ -1994,24 +2032,7 @@ public final class ChatProto {
|
|||
*/
|
||||
public Builder clearHead() {
|
||||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
head_ = getDefaultInstance().getHead();
|
||||
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;
|
||||
head_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
@ -2506,6 +2527,88 @@ public final class ChatProto {
|
|||
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)
|
||||
}
|
||||
|
||||
|
@ -5644,25 +5747,25 @@ public final class ChatProto {
|
|||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\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" +
|
||||
"\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" +
|
||||
"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" +
|
||||
"PriorityLevel\030\022 \001(\005\022\021\n\tFrequency\030\023 \001(\005\"@" +
|
||||
"\n\031GetChatMessageInfoRequest\022\020\n\010chatType\030",
|
||||
"\001 \001(\005\022\021\n\tmessageId\030\002 \001(\004\"T\n\032GetChatMessa" +
|
||||
"geInfoResponse\0226\n\010chatInfo\030\001 \003(\0132$.com.l" +
|
||||
"jsd.jieling.protocols.ChatInfo\"I\n\022SendCh" +
|
||||
"atInfoReqest\022\020\n\010chatType\030\001 \001(\005\022\017\n\007messag" +
|
||||
"e\030\002 \001(\t\022\020\n\010friendId\030\003 \001(\005\"N\n\024SendChatInf" +
|
||||
"oResponse\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.j" +
|
||||
"ieling.protocols.ChatInfo\"^\n\026SendChatInf" +
|
||||
"oIndication\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd" +
|
||||
".jieling.protocols.ChatInfo\022\014\n\004type\030\002 \001(" +
|
||||
"\005B\002H\001"
|
||||
"PriorityLevel\030\022 \001(\005\022\021\n\tFrequency\030\023 \001(\005\022\r" +
|
||||
"\n\005speed\030\024 \001(\005\022\020\n\010multiple\030\025 \001(\005\"@\n\031GetCh",
|
||||
"atMessageInfoRequest\022\020\n\010chatType\030\001 \001(\005\022\021" +
|
||||
"\n\tmessageId\030\002 \001(\004\"T\n\032GetChatMessageInfoR" +
|
||||
"esponse\0226\n\010chatInfo\030\001 \003(\0132$.com.ljsd.jie" +
|
||||
"ling.protocols.ChatInfo\"I\n\022SendChatInfoR" +
|
||||
"eqest\022\020\n\010chatType\030\001 \001(\005\022\017\n\007message\030\002 \001(\t" +
|
||||
"\022\020\n\010friendId\030\003 \001(\005\"N\n\024SendChatInfoRespon" +
|
||||
"se\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.jieling." +
|
||||
"protocols.ChatInfo\"^\n\026SendChatInfoIndica" +
|
||||
"tion\0226\n\010chatInfo\030\001 \001(\0132$.com.ljsd.jielin" +
|
||||
"g.protocols.ChatInfo\022\014\n\004type\030\002 \001(\005B\002H\001"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||
|
@ -5674,7 +5777,7 @@ public final class ChatProto {
|
|||
internal_static_com_ljsd_jieling_protocols_ChatInfo_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
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 =
|
||||
getDescriptor().getMessageTypes().get(1);
|
||||
internal_static_com_ljsd_jieling_protocols_GetChatMessageInfoRequest_fieldAccessorTable = new
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -164,9 +164,9 @@ public final class Family {
|
|||
*/
|
||||
int getSoulForce();
|
||||
|
||||
// optional string head = 9;
|
||||
// optional int32 head = 9;
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
|
@ -174,22 +174,13 @@ public final class Family {
|
|||
*/
|
||||
boolean hasHead();
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
* </pre>
|
||||
*/
|
||||
java.lang.String getHead();
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
* </pre>
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getHeadBytes();
|
||||
int getHead();
|
||||
|
||||
// optional int32 frame = 10;
|
||||
/**
|
||||
|
@ -300,9 +291,9 @@ public final class Family {
|
|||
soulForce_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 74: {
|
||||
case 72: {
|
||||
bitField0_ |= 0x00000100;
|
||||
head_ = input.readBytes();
|
||||
head_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 80: {
|
||||
|
@ -573,11 +564,11 @@ public final class Family {
|
|||
return soulForce_;
|
||||
}
|
||||
|
||||
// optional string head = 9;
|
||||
// optional int32 head = 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>
|
||||
* 新头像
|
||||
|
@ -587,45 +578,14 @@ public final class Family {
|
|||
return ((bitField0_ & 0x00000100) == 0x00000100);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
* </pre>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
|
||||
// optional int32 frame = 10;
|
||||
|
@ -661,7 +621,7 @@ public final class Family {
|
|||
seconds_ = 0;
|
||||
contributeToday_ = 0;
|
||||
soulForce_ = 0;
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
frame_ = 0;
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
|
@ -721,7 +681,7 @@ public final class Family {
|
|||
output.writeInt32(8, soulForce_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
||||
output.writeBytes(9, getHeadBytes());
|
||||
output.writeInt32(9, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
||||
output.writeInt32(10, frame_);
|
||||
|
@ -769,7 +729,7 @@ public final class Family {
|
|||
}
|
||||
if (((bitField0_ & 0x00000100) == 0x00000100)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(9, getHeadBytes());
|
||||
.computeInt32Size(9, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000200) == 0x00000200)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
|
@ -907,7 +867,7 @@ public final class Family {
|
|||
bitField0_ = (bitField0_ & ~0x00000040);
|
||||
soulForce_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000080);
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000100);
|
||||
frame_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000200);
|
||||
|
@ -1022,9 +982,7 @@ public final class Family {
|
|||
setSoulForce(other.getSoulForce());
|
||||
}
|
||||
if (other.hasHead()) {
|
||||
bitField0_ |= 0x00000100;
|
||||
head_ = other.head_;
|
||||
onChanged();
|
||||
setHead(other.getHead());
|
||||
}
|
||||
if (other.hasFrame()) {
|
||||
setFrame(other.getFrame());
|
||||
|
@ -1517,10 +1475,10 @@ public final class Family {
|
|||
return this;
|
||||
}
|
||||
|
||||
// optional string head = 9;
|
||||
private java.lang.Object head_ = "";
|
||||
// optional int32 head = 9;
|
||||
private int head_ ;
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
|
@ -1530,62 +1488,30 @@ public final class Family {
|
|||
return ((bitField0_ & 0x00000100) == 0x00000100);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
* </pre>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
* </pre>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getHeadBytes() {
|
||||
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;
|
||||
public Builder setHead(int value) {
|
||||
bitField0_ |= 0x00000100;
|
||||
head_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 9;</code>
|
||||
* <code>optional int32 head = 9;</code>
|
||||
*
|
||||
* <pre>
|
||||
* 新头像
|
||||
|
@ -1593,24 +1519,7 @@ public final class Family {
|
|||
*/
|
||||
public Builder clearHead() {
|
||||
bitField0_ = (bitField0_ & ~0x00000100);
|
||||
head_ = getDefaultInstance().getHead();
|
||||
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;
|
||||
head_ = 0;
|
||||
onChanged();
|
||||
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" +
|
||||
"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" +
|
||||
"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(" +
|
||||
"\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",
|
||||
|
|
|
@ -17443,20 +17443,15 @@ public final class MapInfoProto {
|
|||
*/
|
||||
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();
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
java.lang.String getHead();
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getHeadBytes();
|
||||
int getHead();
|
||||
|
||||
// optional int32 level = 5;
|
||||
/**
|
||||
|
@ -17599,9 +17594,9 @@ public final class MapInfoProto {
|
|||
input.popLimit(limit);
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
case 32: {
|
||||
bitField0_ |= 0x00000004;
|
||||
head_ = input.readBytes();
|
||||
head_ = input.readInt32();
|
||||
break;
|
||||
}
|
||||
case 40: {
|
||||
|
@ -17746,47 +17741,20 @@ public final class MapInfoProto {
|
|||
return heroIds_.get(index);
|
||||
}
|
||||
|
||||
// optional string head = 4;
|
||||
// optional int32 head = 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() {
|
||||
return ((bitField0_ & 0x00000004) == 0x00000004);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
|
||||
// optional int32 level = 5;
|
||||
|
@ -17907,7 +17875,7 @@ public final class MapInfoProto {
|
|||
uid_ = 0;
|
||||
forces_ = 0;
|
||||
heroIds_ = java.util.Collections.emptyList();
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
level_ = 0;
|
||||
rank_ = 0;
|
||||
time_ = 0;
|
||||
|
@ -17936,7 +17904,7 @@ public final class MapInfoProto {
|
|||
output.writeInt32(3, heroIds_.get(i));
|
||||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
output.writeBytes(4, getHeadBytes());
|
||||
output.writeInt32(4, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
output.writeInt32(5, level_);
|
||||
|
@ -17981,7 +17949,7 @@ public final class MapInfoProto {
|
|||
}
|
||||
if (((bitField0_ & 0x00000004) == 0x00000004)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBytesSize(4, getHeadBytes());
|
||||
.computeInt32Size(4, head_);
|
||||
}
|
||||
if (((bitField0_ & 0x00000008) == 0x00000008)) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
|
@ -18130,7 +18098,7 @@ public final class MapInfoProto {
|
|||
bitField0_ = (bitField0_ & ~0x00000002);
|
||||
heroIds_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000004);
|
||||
head_ = "";
|
||||
head_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
level_ = 0;
|
||||
bitField0_ = (bitField0_ & ~0x00000010);
|
||||
|
@ -18241,9 +18209,7 @@ public final class MapInfoProto {
|
|||
onChanged();
|
||||
}
|
||||
if (other.hasHead()) {
|
||||
bitField0_ |= 0x00000008;
|
||||
head_ = other.head_;
|
||||
onChanged();
|
||||
setHead(other.getHead());
|
||||
}
|
||||
if (other.hasLevel()) {
|
||||
setLevel(other.getLevel());
|
||||
|
@ -18428,76 +18394,35 @@ public final class MapInfoProto {
|
|||
return this;
|
||||
}
|
||||
|
||||
// optional string head = 4;
|
||||
private java.lang.Object head_ = "";
|
||||
// optional int32 head = 4;
|
||||
private int head_ ;
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
public boolean hasHead() {
|
||||
return ((bitField0_ & 0x00000008) == 0x00000008);
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
public java.lang.String getHead() {
|
||||
java.lang.Object ref = 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;
|
||||
}
|
||||
public int getHead() {
|
||||
return head_;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getHeadBytes() {
|
||||
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;
|
||||
public Builder setHead(int value) {
|
||||
bitField0_ |= 0x00000008;
|
||||
head_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>optional string head = 4;</code>
|
||||
* <code>optional int32 head = 4;</code>
|
||||
*/
|
||||
public Builder clearHead() {
|
||||
bitField0_ = (bitField0_ & ~0x00000008);
|
||||
head_ = getDefaultInstance().getHead();
|
||||
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;
|
||||
head_ = 0;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
@ -33368,7 +33293,7 @@ public final class MapInfoProto {
|
|||
"eling.protocols.DifficultMapOption\"&\n\025Ma" +
|
||||
"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",
|
||||
"\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" +
|
||||
"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" +
|
||||
|
|
|
@ -1789,17 +1789,17 @@ public final class MessageTypeProto {
|
|||
*/
|
||||
MAP_TOWER_USEBUFF_RESPONSE(286, 11232),
|
||||
/**
|
||||
* <code>MODIFY_HEAD_FRAME_REQUEST = 11233;</code>
|
||||
* <code>MODIFY_HEAD_REQUEST = 11233;</code>
|
||||
*
|
||||
* <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>
|
||||
*
|
||||
|
@ -2701,6 +2701,18 @@ public final class MessageTypeProto {
|
|||
* <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code>
|
||||
*/
|
||||
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>
|
||||
*
|
||||
|
@ -2708,11 +2720,11 @@ public final class MessageTypeProto {
|
|||
* W 12200
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_FOUNDATION_REQUEST(430, 12200),
|
||||
WORKSHOP_FOUNDATION_REQUEST(432, 12200),
|
||||
/**
|
||||
* <code>WORKSHOP_FOUNDATION_RESPONSE = 12201;</code>
|
||||
*/
|
||||
WORKSHOP_FOUNDATION_RESPONSE(431, 12201),
|
||||
WORKSHOP_FOUNDATION_RESPONSE(433, 12201),
|
||||
/**
|
||||
* <code>WORKSHOP_EQUIP_CREATE_REQUEST = 12202;</code>
|
||||
*
|
||||
|
@ -2720,11 +2732,11 @@ public final class MessageTypeProto {
|
|||
*装备打造
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_EQUIP_CREATE_REQUEST(432, 12202),
|
||||
WORKSHOP_EQUIP_CREATE_REQUEST(434, 12202),
|
||||
/**
|
||||
* <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>
|
||||
*
|
||||
|
@ -2732,11 +2744,11 @@ public final class MessageTypeProto {
|
|||
*装备重铸
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_REBUILD_REQUEST(434, 12204),
|
||||
WORKSHOP_REBUILD_REQUEST(436, 12204),
|
||||
/**
|
||||
* <code>WORKSHOP_REBUILD_RESPONSE = 12205;</code>
|
||||
*/
|
||||
WORKSHOP_REBUILD_RESPONSE(435, 12205),
|
||||
WORKSHOP_REBUILD_RESPONSE(437, 12205),
|
||||
/**
|
||||
* <code>WORKSHOP_REBUILD_CONFIRM_REQUEST = 12206;</code>
|
||||
*
|
||||
|
@ -2744,11 +2756,11 @@ public final class MessageTypeProto {
|
|||
* 重铸确认
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_REBUILD_CONFIRM_REQUEST(436, 12206),
|
||||
WORKSHOP_REBUILD_CONFIRM_REQUEST(438, 12206),
|
||||
/**
|
||||
* <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>
|
||||
*
|
||||
|
@ -2756,11 +2768,11 @@ public final class MessageTypeProto {
|
|||
*工坊升级
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_LEVELUP_REQUEST(438, 12208),
|
||||
WORKSHOP_LEVELUP_REQUEST(440, 12208),
|
||||
/**
|
||||
* <code>WORKSHOP_LEVELUP_RESPONSE = 12209;</code>
|
||||
*/
|
||||
WORKSHOP_LEVELUP_RESPONSE(439, 12209),
|
||||
WORKSHOP_LEVELUP_RESPONSE(441, 12209),
|
||||
/**
|
||||
* <code>WORKSHOP_TECHNOLOGY_LEVEL_REQUEST = 12210;</code>
|
||||
*
|
||||
|
@ -2768,11 +2780,11 @@ public final class MessageTypeProto {
|
|||
*科技树升级
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_TECHNOLOGY_LEVEL_REQUEST(440, 12210),
|
||||
WORKSHOP_TECHNOLOGY_LEVEL_REQUEST(442, 12210),
|
||||
/**
|
||||
* <code>WORKSHOP_TECHNOLOGY_RESPONSE = 12211;</code>
|
||||
*/
|
||||
WORKSHOP_TECHNOLOGY_RESPONSE(441, 12211),
|
||||
WORKSHOP_TECHNOLOGY_RESPONSE(443, 12211),
|
||||
/**
|
||||
* <code>WORKSHOP_TECHNOLOGY_RESET_REQUEST = 12212;</code>
|
||||
*
|
||||
|
@ -2780,11 +2792,11 @@ public final class MessageTypeProto {
|
|||
*科技树重置
|
||||
* </pre>
|
||||
*/
|
||||
WORKSHOP_TECHNOLOGY_RESET_REQUEST(442, 12212),
|
||||
WORKSHOP_TECHNOLOGY_RESET_REQUEST(444, 12212),
|
||||
/**
|
||||
* <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;
|
||||
/**
|
||||
* <code>MODIFY_HEAD_FRAME_REQUEST = 11233;</code>
|
||||
* <code>MODIFY_HEAD_REQUEST = 11233;</code>
|
||||
*
|
||||
* <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>
|
||||
*
|
||||
|
@ -5475,6 +5487,18 @@ public final class MessageTypeProto {
|
|||
* <code>VIP_TAKE_REWARD_RESPONSE = 12105;</code>
|
||||
*/
|
||||
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>
|
||||
*
|
||||
|
@ -5852,8 +5876,8 @@ public final class MessageTypeProto {
|
|||
case 11230: return MAP_TOWER_USEBOMB_RESPONSE;
|
||||
case 11231: return MAP_TOWER_USEBUFF_REQUEST;
|
||||
case 11232: return MAP_TOWER_USEBUFF_RESPONSE;
|
||||
case 11233: return MODIFY_HEAD_FRAME_REQUEST;
|
||||
case 11234: return MODIFY_HEAD_FRAME_RESPONSE;
|
||||
case 11233: return MODIFY_HEAD_REQUEST;
|
||||
case 11234: return MODIFY_HEAD_RESPONSE;
|
||||
case 11235: return MAP_OUT_INDICATION;
|
||||
case 11236: return MAIN_LEVEL_GET_INFO_REQUEST;
|
||||
case 11237: return MAIN_LEVEL_GET_INFO_RESPONSE;
|
||||
|
@ -5995,6 +6019,8 @@ public final class MessageTypeProto {
|
|||
case 12103: return VIP_LEVELUP_RESPONSE;
|
||||
case 12104: return VIP_TAKE_REWARD_REQUEST;
|
||||
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 12201: return WORKSHOP_FOUNDATION_RESPONSE;
|
||||
case 12202: return WORKSHOP_EQUIP_CREATE_REQUEST;
|
||||
|
@ -6070,7 +6096,7 @@ public final class MessageTypeProto {
|
|||
static {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\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" +
|
||||
"\036\n\031ACTIVITE_WORKSHOP_REQUEST\020\224N\022\037\n\032ACTIV" +
|
||||
"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" +
|
||||
"WER_USEBOMB_RESPONSE\020\336W\022\036\n\031MAP_TOWER_USE" +
|
||||
"BUFF_REQUEST\020\337W\022\037\n\032MAP_TOWER_USEBUFF_RES",
|
||||
"PONSE\020\340W\022\036\n\031MODIFY_HEAD_FRAME_REQUEST\020\341W" +
|
||||
"\022\037\n\032MODIFY_HEAD_FRAME_RESPONSE\020\342W\022\027\n\022MAP" +
|
||||
"_OUT_INDICATION\020\343W\022 \n\033MAIN_LEVEL_GET_INF" +
|
||||
"O_REQUEST\020\344W\022!\n\034MAIN_LEVEL_GET_INFO_RESP" +
|
||||
"ONSE\020\345W\022)\n$MAIN_LEVEL_TAKE_STATE_REWARD_" +
|
||||
"REQUEST\020\346W\022*\n%MAIN_LEVEL_TAKE_STATE_REWA" +
|
||||
"RD_RESPONSE\020\347W\022 \n\033MAIN_LEVEL_GET_RANK_RE" +
|
||||
"QUEST\020\350W\022!\n\034MAIN_LEVEL_GET_RANK_RESPONSE" +
|
||||
"\020\351W\022\030\n\023MAIL_DELETE_REQUEST\020\352W\022\031\n\024MAIL_DE" +
|
||||
"LETE_RESPONSE\020\353W\022\"\n\035NOTIFY_PAY_SUCCESS_I",
|
||||
"NDICATION\020\244X\022&\n!POKEMON_COMONPENT_LEVELU" +
|
||||
"P_REQUEST\020\354Y\022\'\n\"POKEMON_COMONPENT_LEVELU" +
|
||||
"P_RESPONSE\020\355Y\022\035\n\030POKEMON_ADVANCED_REQUES" +
|
||||
"T\020\356Y\022\036\n\031POKEMON_ADVANCED_RESPONSE\020\357Y\022 \n\033" +
|
||||
"PLAYER_BACKCINFO_INDICATION\020\360Y\022\031\n\024PLAY_W" +
|
||||
"ITH_SB_REQUEST\020\361Y\022\032\n\025PLAY_WITH_SB_RESPON" +
|
||||
"SE\020\362Y\022\030\n\023QUESTION_INDICATION\020\320Z\022\'\n\"QUICK" +
|
||||
"_START_MONSTERFIGHTER_REQUEST\020\321Z\022\'\n\"QUIC" +
|
||||
"K_START_MONSTERFIGHTER_REPONSE\020\322Z\022\026\n\021REC" +
|
||||
"ONNECT_REQUEST\020\264[\022\027\n\022RECONNECT_RESPONSE\020",
|
||||
"\265[\022\027\n\022RANDOMNAME_REQUEST\020\266[\022\030\n\023RANDOMNAM" +
|
||||
"E_RESPONSE\020\267[\022\023\n\016RENAME_REQUEST\020\270[\022\024\n\017RE" +
|
||||
"NAME_RESPONSE\020\271[\022\032\n\025RINGFIRE_LOAD_REQUES" +
|
||||
"T\020\272[\022\033\n\026RINGFIRE_LOAD_RESPONSE\020\273[\022\036\n\031RIN" +
|
||||
"GFIRE_ADVANCED_REQUEST\020\274[\022\037\n\032RINGFIRE_AD" +
|
||||
"VANCED_RESPONSE\020\275[\022!\n\034REFRESH_FRIEND_STA" +
|
||||
"TE_REQEUST\020\276[\022\"\n\035REFRESH_FRIEND_STATE_RE" +
|
||||
"SPONSE\020\277[\022\027\n\022ROOM_MATCH_REQUEST\020\300[\022\030\n\023RO" +
|
||||
"OM_MATCH_RESPONSE\020\301[\022\036\n\031ROOM_CANCEL_MATC" +
|
||||
"H_REQUEST\020\302[\022\037\n\032ROOM_CANCEL_MATCH_RESPON",
|
||||
"SE\020\303[\022\"\n\035ROOM_MATCH_SUCCESS_INDICATION\020\304" +
|
||||
"[\022\"\n\035ROOM_START_GAME_READY_REQUEST\020\306[\022#\n" +
|
||||
"\036ROOM_START_GAME_READY_RESPONSE\020\307[\022\037\n\032RO" +
|
||||
"OM_START_GAME_INDICATION\020\310[\022\034\n\027ROOM_GAME" +
|
||||
"_START_REQUEST\020\312[\022\035\n\030ROOM_GAME_START_RES" +
|
||||
"PONSE\020\313[\022\035\n\030ROOM_GAME_END_INDICATION\020\314[\022" +
|
||||
"\"\n\035ROOM_SYNC_MYSELF_MOVE_REQUEST\020\316[\022#\n\036R" +
|
||||
"OOM_SYNC_MYSELF_MOVE_RESPONSE\020\317[\022#\n\036ROOM" +
|
||||
"_SYNC_OTHER_MOVE_INDICTION\020\320[\022\"\n\035ROOM_TR" +
|
||||
"IGGER_FIGHT_INDICATION\020\322[\022\037\n\032ROOM_GET_FU",
|
||||
"LL_INFO_REQEUST\020\323[\022 \n\033ROOM_GET_FULL_INFO" +
|
||||
"_RESPONSE\020\324[\022\"\n\035ROOM_MAP_UPDATE_EVENT_RE" +
|
||||
"QUEST\020\325[\022#\n\036ROOM_MAP_UPDATE_EVENT_RESPON" +
|
||||
"SE\020\326[\022\036\n\031ROOM_MAP_POINT_INDICATION\020\327[\022#\n" +
|
||||
"\036ROOM_PLAY_HP_UPDATE_INDICATION\020\330[\022\035\n\030RE" +
|
||||
"FRESH_ITEM_NUM_REQUEST\020\331[\022\036\n\031REFRESH_ITE" +
|
||||
"M_NUM_RESPONSE\020\332[\022\034\n\027ROOM_ADDRESS_INDICA" +
|
||||
"TION\020\333[\022\027\n\022ROOM_LOGIN_REQEUST\020\334[\022\030\n\023ROOM" +
|
||||
"_LOGIN_RESPONSE\020\346[\022\036\n\031REFRESH_LUCKWHEEL_" +
|
||||
"REQUEST\020\347[\022\037\n\032REFRESH_LUCKWHEEL_RESPONSE",
|
||||
"\020\350[\022\025\n\020SUCCESS_RESPONSE\020\230\\\022 \n\033SWITCH_WOR" +
|
||||
"LDCHANNEL_REQUEST\020\232\\\022!\n\034SWITCH_WORLDCHAN" +
|
||||
"NEL_RESPONSE\020\233\\\022\033\n\026SEND_CHAT_INFO_REQUES" +
|
||||
"T\020\234\\\022\034\n\027SEND_CHAT_INFO_RESPONSE\020\235\\\022\036\n\031SE" +
|
||||
"ND_RED_POINT_INDICATION\020\236\\\022(\n#SAVE_NEW_P" +
|
||||
"LAYER_GUIDE_POINT_REQUEST\020\237\\\022)\n$SAVE_NEW" +
|
||||
"_PLAYER_GUIDE_POINT_RESPONSE\020\240\\\022\030\n\023SWEEP" +
|
||||
"_RIGHT_REQUEST\020\241\\\022\031\n\024SWEEP_RIGHT_RESPONS" +
|
||||
"E\020\242\\\022\035\n\030SECRETBOX_RANDOM_REQUEST\020\243\\\022\036\n\031S" +
|
||||
"ECRETBOX_RANDOM_RESPONSE\020\244\\\022 \n\033STORE_GOO",
|
||||
"DS_REFRESH_REQUEST\020\245\\\022!\n\034STORE_GOODS_REF" +
|
||||
"RESH_RESPONSE\020\246\\\022\032\n\025RECHARGE_INFO_REQUES" +
|
||||
"T\020\247\\\022\033\n\026RECHARGE_INFO_RESPONSE\020\250\\\022 \n\033SEN" +
|
||||
"D_FRIEND_INFO_INDICATION\020\251\\\022\036\n\031SEND_CHAT" +
|
||||
"_INFO_INDICATION\020\252\\\022!\n\034SEND_FRIEND_STATE" +
|
||||
"_INDICATION\020\253\\\022 \n\033SCENE_MSG_UPDATE_INDIC" +
|
||||
"ATION\020\254\\\022\037\n\032SCENE_GET_FULL_MSG_REQUEST\020\255" +
|
||||
"\\\022 \n\033SCENE_GET_FULL_MSG_RESPONSE\020\256\\\022\032\n\025S" +
|
||||
"CENE_COMMAND_REQUEST\020\257\\\022\033\n\026SCENE_COMMAND" +
|
||||
"_RESPONSE\020\260\\\022\030\n\023SERVER_ZERO_REQUEST\020\261\\\022\034",
|
||||
"\n\027STORE_UPDATE_INDICATION\020\262\\\022\024\n\017SIGN_IN_" +
|
||||
"REQUEST\020\263\\\022\025\n\020SIGN_IN_RESPONSE\020\264\\\022%\n SCE" +
|
||||
"NE_GAME_OVER_READY_INDICATION\020\265\\\022\037\n\032SCEN" +
|
||||
"E_GAME_OVER_INDICATION\020\266\\\022\034\n\027SOUL_EQUIP_" +
|
||||
"WEAR_REQUEST\020\267\\\022\035\n\030SOUL_EQUIP_WEAR_RESPO" +
|
||||
"NSE\020\270\\\022\"\n\035SOUL_EQUIP_UNLOAD_OPT_REQUEST\020" +
|
||||
"\271\\\022#\n\036SOUL_EQUIP_UNLOAD_OPT_RESPONSE\020\272\\\022" +
|
||||
"\034\n\027SOUL_RAND_EQUIP_REQUEST\020\273\\\022\035\n\030SOUL_RA" +
|
||||
"ND_EQUIP_RESPONSE\020\274\\\022\"\n\035SOUL_FORCE_RAND_" +
|
||||
"EQUIP_REQUEST\020\275\\\022#\n\036SOUL_FORCE_RAND_EQUI",
|
||||
"P_RESPONSE\020\276\\\022\032\n\025TRIGGER_EVENT_REQUEST\020\374" +
|
||||
"\\\022\033\n\026TRIGGER_EVENT_RESPONSE\020\375\\\022\032\n\025TEAM_P" +
|
||||
"OS_SAVE_REQUEST\020\376\\\022\033\n\026TEAM_POS_SAVE_RESP" +
|
||||
"ONSE\020\377\\\022!\n\034TAKE_ACTIVITY_REWARD_REQUEST\020" +
|
||||
"\200]\022\"\n\035TAKE_ACTIVITY_REWARD_RESPONSE\020\201]\022 " +
|
||||
"\n\033TAKE_MISSION_REWARD_REQUEST\020\202]\022!\n\034TAKE" +
|
||||
"_MISSION_REWARD_RESPONSE\020\203]\022 \n\033TEST_BUY_" +
|
||||
"GIGT_GOODS_REQEUST\020\204]\022!\n\034TEST_BUY_GIGT_G" +
|
||||
"OODS_RESPONSE\020\205]\022\036\n\031TAKE_TOWER_REWARD_RE" +
|
||||
"QUEST\020\206]\022\037\n\032TAKE_TOWER_REWARD_RESPONSE\020\207",
|
||||
"]\022$\n\037TAKE_SEVEN_HAPPY_REWARD_REQUEST\020\210]\022" +
|
||||
"%\n TAKE_SEVEN_HAPPY_REWARD_RESPONSE\020\211]\022\033" +
|
||||
"\n\026TO_BE_STRONGER_REQUEST\020\212]\022\034\n\027TO_BE_STR" +
|
||||
"ONGER_RESPONSE\020\213]\022 \n\033TREASURE_REFRESH_IN" +
|
||||
"DICATION\020\214]\022 \n\033TREASURE_LEVELUP_INDICATI" +
|
||||
"ON\020\215]\022\032\n\025UP_HERO_LEVEL_REQUEST\020\340]\022\033\n\026UP_" +
|
||||
"HERO_LEVEL_RESPONSE\020\341]\022\031\n\024UP_HERO_STAR_R" +
|
||||
"EQUEST\020\342]\022\032\n\025UP_HERO_STAR_RESPONSE\020\343]\022 \n" +
|
||||
"\033USER_AND_PRICE_ITEM_REQUEST\020\344]\022!\n\034USER_" +
|
||||
"AND_PRICE_ITEM_RESPONSE\020\345]\022\036\n\031USER_FORCE",
|
||||
"_CHANGE_REQUEST\020\346]\022\037\n\032USER_FORCE_CHANGE_" +
|
||||
"RESPONSE\020\347]\022\032\n\025UPDATE_BAG_INDICATION\020\350]\022" +
|
||||
"\031\n\024UPDATE_STATE_REQUEST\020\351]\022\032\n\025UPDATE_STA" +
|
||||
"TE_RESPONSE\020\352]\022\037\n\032UPDATE_USER_EXP_INDICA" +
|
||||
"TION\020\353]\022(\n#UPDATE_SECRET_BOX_SEASON_INDI" +
|
||||
"CATION\020\354]\022\036\n\031UPDATE_PHONE_INFO_REQUEST\020\355" +
|
||||
"]\022\037\n\032UPDATE_PHONE_INFO_RESPONSE\020\356]\022\034\n\027UP" +
|
||||
"DATE_QUESTION_REQUEST\020\357]\022\035\n\030UPDATE_QUEST" +
|
||||
"ION_RESPONSE\020\360]\022 \n\033UP_SOUL_EQUIP_QUICK_R" +
|
||||
"EQUEST\020\362]\022\033\n\026UP_SOUL_EQUIP_RESPONSE\020\363]\022\035",
|
||||
"\n\030VIEW_FIGHTREPLAY_REQUEST\020\304^\022\036\n\031VIEW_FI" +
|
||||
"GHTREPLAY_RESPONSE\020\305^\022\030\n\023VIP_LEVELUP_REQ" +
|
||||
"EUST\020\306^\022\031\n\024VIP_LEVELUP_RESPONSE\020\307^\022\034\n\027VI" +
|
||||
"P_TAKE_REWARD_REQUEST\020\310^\022\035\n\030VIP_TAKE_REW" +
|
||||
"ARD_RESPONSE\020\311^\022 \n\033WORKSHOP_FOUNDATION_R" +
|
||||
"EQUEST\020\250_\022!\n\034WORKSHOP_FOUNDATION_RESPONS" +
|
||||
"E\020\251_\022\"\n\035WORKSHOP_EQUIP_CREATE_REQUEST\020\252_" +
|
||||
"\022#\n\036WORKSHOP_EQUIP_CREATE_RESPONSE\020\253_\022\035\n" +
|
||||
"\030WORKSHOP_REBUILD_REQUEST\020\254_\022\036\n\031WORKSHOP" +
|
||||
"_REBUILD_RESPONSE\020\255_\022%\n WORKSHOP_REBUILD",
|
||||
"_CONFIRM_REQUEST\020\256_\022%\n WORKSHOP_REBUILD_" +
|
||||
"CONFIRM_RESONSE\020\257_\022\035\n\030WORKSHOP_LEVELUP_R" +
|
||||
"EQUEST\020\260_\022\036\n\031WORKSHOP_LEVELUP_RESPONSE\020\261" +
|
||||
"_\022&\n!WORKSHOP_TECHNOLOGY_LEVEL_REQUEST\020\262" +
|
||||
"_\022!\n\034WORKSHOP_TECHNOLOGY_RESPONSE\020\263_\022&\n!" +
|
||||
"WORKSHOP_TECHNOLOGY_RESET_REQUEST\020\264_\022\'\n\"" +
|
||||
"WORKSHOP_TECHNOLOGY_RESET_RESPONSE\020\265_B\002H" +
|
||||
"\001"
|
||||
"PONSE\020\340W\022\030\n\023MODIFY_HEAD_REQUEST\020\341W\022\031\n\024MO" +
|
||||
"DIFY_HEAD_RESPONSE\020\342W\022\027\n\022MAP_OUT_INDICAT" +
|
||||
"ION\020\343W\022 \n\033MAIN_LEVEL_GET_INFO_REQUEST\020\344W" +
|
||||
"\022!\n\034MAIN_LEVEL_GET_INFO_RESPONSE\020\345W\022)\n$M" +
|
||||
"AIN_LEVEL_TAKE_STATE_REWARD_REQUEST\020\346W\022*" +
|
||||
"\n%MAIN_LEVEL_TAKE_STATE_REWARD_RESPONSE\020" +
|
||||
"\347W\022 \n\033MAIN_LEVEL_GET_RANK_REQUEST\020\350W\022!\n\034" +
|
||||
"MAIN_LEVEL_GET_RANK_RESPONSE\020\351W\022\030\n\023MAIL_" +
|
||||
"DELETE_REQUEST\020\352W\022\031\n\024MAIL_DELETE_RESPONS" +
|
||||
"E\020\353W\022\"\n\035NOTIFY_PAY_SUCCESS_INDICATION\020\244X",
|
||||
"\022&\n!POKEMON_COMONPENT_LEVELUP_REQUEST\020\354Y" +
|
||||
"\022\'\n\"POKEMON_COMONPENT_LEVELUP_RESPONSE\020\355" +
|
||||
"Y\022\035\n\030POKEMON_ADVANCED_REQUEST\020\356Y\022\036\n\031POKE" +
|
||||
"MON_ADVANCED_RESPONSE\020\357Y\022 \n\033PLAYER_BACKC" +
|
||||
"INFO_INDICATION\020\360Y\022\031\n\024PLAY_WITH_SB_REQUE" +
|
||||
"ST\020\361Y\022\032\n\025PLAY_WITH_SB_RESPONSE\020\362Y\022\030\n\023QUE" +
|
||||
"STION_INDICATION\020\320Z\022\'\n\"QUICK_START_MONST" +
|
||||
"ERFIGHTER_REQUEST\020\321Z\022\'\n\"QUICK_START_MONS" +
|
||||
"TERFIGHTER_REPONSE\020\322Z\022\026\n\021RECONNECT_REQUE" +
|
||||
"ST\020\264[\022\027\n\022RECONNECT_RESPONSE\020\265[\022\027\n\022RANDOM",
|
||||
"NAME_REQUEST\020\266[\022\030\n\023RANDOMNAME_RESPONSE\020\267" +
|
||||
"[\022\023\n\016RENAME_REQUEST\020\270[\022\024\n\017RENAME_RESPONS" +
|
||||
"E\020\271[\022\032\n\025RINGFIRE_LOAD_REQUEST\020\272[\022\033\n\026RING" +
|
||||
"FIRE_LOAD_RESPONSE\020\273[\022\036\n\031RINGFIRE_ADVANC" +
|
||||
"ED_REQUEST\020\274[\022\037\n\032RINGFIRE_ADVANCED_RESPO" +
|
||||
"NSE\020\275[\022!\n\034REFRESH_FRIEND_STATE_REQEUST\020\276" +
|
||||
"[\022\"\n\035REFRESH_FRIEND_STATE_RESPONSE\020\277[\022\027\n" +
|
||||
"\022ROOM_MATCH_REQUEST\020\300[\022\030\n\023ROOM_MATCH_RES" +
|
||||
"PONSE\020\301[\022\036\n\031ROOM_CANCEL_MATCH_REQUEST\020\302[" +
|
||||
"\022\037\n\032ROOM_CANCEL_MATCH_RESPONSE\020\303[\022\"\n\035ROO",
|
||||
"M_MATCH_SUCCESS_INDICATION\020\304[\022\"\n\035ROOM_ST" +
|
||||
"ART_GAME_READY_REQUEST\020\306[\022#\n\036ROOM_START_" +
|
||||
"GAME_READY_RESPONSE\020\307[\022\037\n\032ROOM_START_GAM" +
|
||||
"E_INDICATION\020\310[\022\034\n\027ROOM_GAME_START_REQUE" +
|
||||
"ST\020\312[\022\035\n\030ROOM_GAME_START_RESPONSE\020\313[\022\035\n\030" +
|
||||
"ROOM_GAME_END_INDICATION\020\314[\022\"\n\035ROOM_SYNC" +
|
||||
"_MYSELF_MOVE_REQUEST\020\316[\022#\n\036ROOM_SYNC_MYS" +
|
||||
"ELF_MOVE_RESPONSE\020\317[\022#\n\036ROOM_SYNC_OTHER_" +
|
||||
"MOVE_INDICTION\020\320[\022\"\n\035ROOM_TRIGGER_FIGHT_" +
|
||||
"INDICATION\020\322[\022\037\n\032ROOM_GET_FULL_INFO_REQE",
|
||||
"UST\020\323[\022 \n\033ROOM_GET_FULL_INFO_RESPONSE\020\324[" +
|
||||
"\022\"\n\035ROOM_MAP_UPDATE_EVENT_REQUEST\020\325[\022#\n\036" +
|
||||
"ROOM_MAP_UPDATE_EVENT_RESPONSE\020\326[\022\036\n\031ROO" +
|
||||
"M_MAP_POINT_INDICATION\020\327[\022#\n\036ROOM_PLAY_H" +
|
||||
"P_UPDATE_INDICATION\020\330[\022\035\n\030REFRESH_ITEM_N" +
|
||||
"UM_REQUEST\020\331[\022\036\n\031REFRESH_ITEM_NUM_RESPON" +
|
||||
"SE\020\332[\022\034\n\027ROOM_ADDRESS_INDICATION\020\333[\022\027\n\022R" +
|
||||
"OOM_LOGIN_REQEUST\020\334[\022\030\n\023ROOM_LOGIN_RESPO" +
|
||||
"NSE\020\346[\022\036\n\031REFRESH_LUCKWHEEL_REQUEST\020\347[\022\037" +
|
||||
"\n\032REFRESH_LUCKWHEEL_RESPONSE\020\350[\022\025\n\020SUCCE",
|
||||
"SS_RESPONSE\020\230\\\022 \n\033SWITCH_WORLDCHANNEL_RE" +
|
||||
"QUEST\020\232\\\022!\n\034SWITCH_WORLDCHANNEL_RESPONSE" +
|
||||
"\020\233\\\022\033\n\026SEND_CHAT_INFO_REQUEST\020\234\\\022\034\n\027SEND" +
|
||||
"_CHAT_INFO_RESPONSE\020\235\\\022\036\n\031SEND_RED_POINT" +
|
||||
"_INDICATION\020\236\\\022(\n#SAVE_NEW_PLAYER_GUIDE_" +
|
||||
"POINT_REQUEST\020\237\\\022)\n$SAVE_NEW_PLAYER_GUID" +
|
||||
"E_POINT_RESPONSE\020\240\\\022\030\n\023SWEEP_RIGHT_REQUE" +
|
||||
"ST\020\241\\\022\031\n\024SWEEP_RIGHT_RESPONSE\020\242\\\022\035\n\030SECR" +
|
||||
"ETBOX_RANDOM_REQUEST\020\243\\\022\036\n\031SECRETBOX_RAN" +
|
||||
"DOM_RESPONSE\020\244\\\022 \n\033STORE_GOODS_REFRESH_R",
|
||||
"EQUEST\020\245\\\022!\n\034STORE_GOODS_REFRESH_RESPONS" +
|
||||
"E\020\246\\\022\032\n\025RECHARGE_INFO_REQUEST\020\247\\\022\033\n\026RECH" +
|
||||
"ARGE_INFO_RESPONSE\020\250\\\022 \n\033SEND_FRIEND_INF" +
|
||||
"O_INDICATION\020\251\\\022\036\n\031SEND_CHAT_INFO_INDICA" +
|
||||
"TION\020\252\\\022!\n\034SEND_FRIEND_STATE_INDICATION\020" +
|
||||
"\253\\\022 \n\033SCENE_MSG_UPDATE_INDICATION\020\254\\\022\037\n\032" +
|
||||
"SCENE_GET_FULL_MSG_REQUEST\020\255\\\022 \n\033SCENE_G" +
|
||||
"ET_FULL_MSG_RESPONSE\020\256\\\022\032\n\025SCENE_COMMAND" +
|
||||
"_REQUEST\020\257\\\022\033\n\026SCENE_COMMAND_RESPONSE\020\260\\" +
|
||||
"\022\030\n\023SERVER_ZERO_REQUEST\020\261\\\022\034\n\027STORE_UPDA",
|
||||
"TE_INDICATION\020\262\\\022\024\n\017SIGN_IN_REQUEST\020\263\\\022\025" +
|
||||
"\n\020SIGN_IN_RESPONSE\020\264\\\022%\n SCENE_GAME_OVER" +
|
||||
"_READY_INDICATION\020\265\\\022\037\n\032SCENE_GAME_OVER_" +
|
||||
"INDICATION\020\266\\\022\034\n\027SOUL_EQUIP_WEAR_REQUEST" +
|
||||
"\020\267\\\022\035\n\030SOUL_EQUIP_WEAR_RESPONSE\020\270\\\022\"\n\035SO" +
|
||||
"UL_EQUIP_UNLOAD_OPT_REQUEST\020\271\\\022#\n\036SOUL_E" +
|
||||
"QUIP_UNLOAD_OPT_RESPONSE\020\272\\\022\034\n\027SOUL_RAND" +
|
||||
"_EQUIP_REQUEST\020\273\\\022\035\n\030SOUL_RAND_EQUIP_RES" +
|
||||
"PONSE\020\274\\\022\"\n\035SOUL_FORCE_RAND_EQUIP_REQUES" +
|
||||
"T\020\275\\\022#\n\036SOUL_FORCE_RAND_EQUIP_RESPONSE\020\276",
|
||||
"\\\022\032\n\025TRIGGER_EVENT_REQUEST\020\374\\\022\033\n\026TRIGGER" +
|
||||
"_EVENT_RESPONSE\020\375\\\022\032\n\025TEAM_POS_SAVE_REQU" +
|
||||
"EST\020\376\\\022\033\n\026TEAM_POS_SAVE_RESPONSE\020\377\\\022!\n\034T" +
|
||||
"AKE_ACTIVITY_REWARD_REQUEST\020\200]\022\"\n\035TAKE_A" +
|
||||
"CTIVITY_REWARD_RESPONSE\020\201]\022 \n\033TAKE_MISSI" +
|
||||
"ON_REWARD_REQUEST\020\202]\022!\n\034TAKE_MISSION_REW" +
|
||||
"ARD_RESPONSE\020\203]\022 \n\033TEST_BUY_GIGT_GOODS_R" +
|
||||
"EQEUST\020\204]\022!\n\034TEST_BUY_GIGT_GOODS_RESPONS" +
|
||||
"E\020\205]\022\036\n\031TAKE_TOWER_REWARD_REQUEST\020\206]\022\037\n\032" +
|
||||
"TAKE_TOWER_REWARD_RESPONSE\020\207]\022$\n\037TAKE_SE",
|
||||
"VEN_HAPPY_REWARD_REQUEST\020\210]\022%\n TAKE_SEVE" +
|
||||
"N_HAPPY_REWARD_RESPONSE\020\211]\022\033\n\026TO_BE_STRO" +
|
||||
"NGER_REQUEST\020\212]\022\034\n\027TO_BE_STRONGER_RESPON" +
|
||||
"SE\020\213]\022 \n\033TREASURE_REFRESH_INDICATION\020\214]\022" +
|
||||
" \n\033TREASURE_LEVELUP_INDICATION\020\215]\022\032\n\025UP_" +
|
||||
"HERO_LEVEL_REQUEST\020\340]\022\033\n\026UP_HERO_LEVEL_R" +
|
||||
"ESPONSE\020\341]\022\031\n\024UP_HERO_STAR_REQUEST\020\342]\022\032\n" +
|
||||
"\025UP_HERO_STAR_RESPONSE\020\343]\022 \n\033USER_AND_PR" +
|
||||
"ICE_ITEM_REQUEST\020\344]\022!\n\034USER_AND_PRICE_IT" +
|
||||
"EM_RESPONSE\020\345]\022\036\n\031USER_FORCE_CHANGE_REQU",
|
||||
"EST\020\346]\022\037\n\032USER_FORCE_CHANGE_RESPONSE\020\347]\022" +
|
||||
"\032\n\025UPDATE_BAG_INDICATION\020\350]\022\031\n\024UPDATE_ST" +
|
||||
"ATE_REQUEST\020\351]\022\032\n\025UPDATE_STATE_RESPONSE\020" +
|
||||
"\352]\022\037\n\032UPDATE_USER_EXP_INDICATION\020\353]\022(\n#U" +
|
||||
"PDATE_SECRET_BOX_SEASON_INDICATION\020\354]\022\036\n" +
|
||||
"\031UPDATE_PHONE_INFO_REQUEST\020\355]\022\037\n\032UPDATE_" +
|
||||
"PHONE_INFO_RESPONSE\020\356]\022\034\n\027UPDATE_QUESTIO" +
|
||||
"N_REQUEST\020\357]\022\035\n\030UPDATE_QUESTION_RESPONSE" +
|
||||
"\020\360]\022 \n\033UP_SOUL_EQUIP_QUICK_REQUEST\020\362]\022\033\n" +
|
||||
"\026UP_SOUL_EQUIP_RESPONSE\020\363]\022\035\n\030VIEW_FIGHT",
|
||||
"REPLAY_REQUEST\020\304^\022\036\n\031VIEW_FIGHTREPLAY_RE" +
|
||||
"SPONSE\020\305^\022\030\n\023VIP_LEVELUP_REQEUST\020\306^\022\031\n\024V" +
|
||||
"IP_LEVELUP_RESPONSE\020\307^\022\034\n\027VIP_TAKE_REWAR" +
|
||||
"D_REQUEST\020\310^\022\035\n\030VIP_TAKE_REWARD_RESPONSE" +
|
||||
"\020\311^\022\033\n\026VIEW_HERO_INFO_REQUEST\020\312^\022\034\n\027VIEW" +
|
||||
"_HERO_INFO_RESPONSE\020\313^\022 \n\033WORKSHOP_FOUND" +
|
||||
"ATION_REQUEST\020\250_\022!\n\034WORKSHOP_FOUNDATION_" +
|
||||
"RESPONSE\020\251_\022\"\n\035WORKSHOP_EQUIP_CREATE_REQ" +
|
||||
"UEST\020\252_\022#\n\036WORKSHOP_EQUIP_CREATE_RESPONS" +
|
||||
"E\020\253_\022\035\n\030WORKSHOP_REBUILD_REQUEST\020\254_\022\036\n\031W",
|
||||
"ORKSHOP_REBUILD_RESPONSE\020\255_\022%\n WORKSHOP_" +
|
||||
"REBUILD_CONFIRM_REQUEST\020\256_\022%\n WORKSHOP_R" +
|
||||
"EBUILD_CONFIRM_RESONSE\020\257_\022\035\n\030WORKSHOP_LE" +
|
||||
"VELUP_REQUEST\020\260_\022\036\n\031WORKSHOP_LEVELUP_RES" +
|
||||
"PONSE\020\261_\022&\n!WORKSHOP_TECHNOLOGY_LEVEL_RE" +
|
||||
"QUEST\020\262_\022!\n\034WORKSHOP_TECHNOLOGY_RESPONSE" +
|
||||
"\020\263_\022&\n!WORKSHOP_TECHNOLOGY_RESET_REQUEST" +
|
||||
"\020\264_\022\'\n\"WORKSHOP_TECHNOLOGY_RESET_RESPONS" +
|
||||
"E\020\265_B\002H\001"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1765,7 +1765,7 @@ public class MapLogic {
|
|||
if (hero == null) {
|
||||
continue;
|
||||
}
|
||||
heroForces += HeroLogic.getInstance().calHeoForce(user, hero, true);
|
||||
heroForces += HeroLogic.getInstance().calHeoForce(user, hero);
|
||||
crossInfo.getHeroIds().add(hero.getTemplateId());
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
|
@ -68,7 +68,7 @@ public class BloodLogic {
|
|||
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;
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ public class BloodLogic {
|
|||
|
||||
/**
|
||||
* 战斗数据组装
|
||||
* @param user
|
||||
* @param heroInfo
|
||||
* @return
|
||||
*/
|
||||
|
@ -109,12 +108,11 @@ public class BloodLogic {
|
|||
.build();
|
||||
heroDefendFightInfos.add(heroFightInfo);
|
||||
}
|
||||
CommonProto.FightTeamInfo fightDefendTeamInfo = CommonProto.FightTeamInfo.
|
||||
return CommonProto.FightTeamInfo.
|
||||
newBuilder()
|
||||
.addAllFightUnitList(heroDefendFightInfos)
|
||||
.setTeamSkillList(pokmanSkill)
|
||||
.build();
|
||||
return fightDefendTeamInfo;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -7,6 +7,7 @@ public class FamilyHeroInfo {
|
|||
|
||||
private int templeteId;
|
||||
private int level;
|
||||
private int star;
|
||||
private Map<Integer,Integer> attribute;
|
||||
|
||||
public int getTempleteId() {
|
||||
|
@ -17,6 +18,10 @@ public class FamilyHeroInfo {
|
|||
return level;
|
||||
}
|
||||
|
||||
public int getStar() {
|
||||
return star;
|
||||
}
|
||||
|
||||
public Map<Integer, Integer> getAttribute() {
|
||||
return attribute;
|
||||
}
|
||||
|
@ -33,10 +38,11 @@ public class FamilyHeroInfo {
|
|||
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.level = level;
|
||||
this.attribute = attribute;
|
||||
this.star = star;
|
||||
}
|
||||
|
||||
public FamilyHeroInfo() {
|
||||
|
|
|
@ -101,12 +101,17 @@ public class GuildFightLogic {
|
|||
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);
|
||||
CommonProto.Team.Builder team = CommonProto.Team.newBuilder();
|
||||
CommonProto.TeamOneTeamInfo.Builder oneInfo = CommonProto.TeamOneTeamInfo.newBuilder();
|
||||
if(fightInfo!=null){
|
||||
for(Map.Entry<String, FamilyHeroInfo> entry:fightInfo.getHeroAttribute().entrySet()){
|
||||
int templateId = entry.getValue().getTempleteId();
|
||||
team.addHeroTid(templateId);
|
||||
FamilyHeroInfo familyHeroInfo = entry.getValue();
|
||||
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();
|
||||
if(status==3){
|
||||
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);
|
||||
}
|
||||
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);
|
||||
if(force==0){
|
||||
|
@ -136,7 +142,6 @@ public class GuildFightLogic {
|
|||
}
|
||||
}
|
||||
}
|
||||
oneInfo.setTeam(team);
|
||||
Family.FamilyDefendDetailViewResponse.Builder response = Family.FamilyDefendDetailViewResponse.newBuilder();
|
||||
response.setTeamInfo(oneInfo);
|
||||
MessageUtil.sendMessage(session, 1, messageType.getNumber(), response.build(), true);
|
||||
|
|
|
@ -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;
|
||||
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;
|
||||
for(Map.Entry<Integer, Integer> item : heroAllAttribute.entrySet()){
|
||||
Integer propertyId = item.getKey();
|
||||
|
@ -1806,7 +1806,7 @@ public class HeroLogic {
|
|||
if (hero == null) {
|
||||
continue;
|
||||
}
|
||||
totalForce +=calHeoForce(targetUser, hero,isMyself);
|
||||
totalForce +=calHeoForce(targetUser, hero);
|
||||
}
|
||||
return totalForce;
|
||||
}
|
||||
|
@ -2054,7 +2054,7 @@ public class HeroLogic {
|
|||
for(TeamPosHeroInfo teamPosHeroInfo: teamPosHeroInfoList){
|
||||
String heroId = teamPosHeroInfo.getHeroId();
|
||||
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++){
|
||||
Integer force = heroPosMap.get(i);
|
||||
|
|
|
@ -35,6 +35,7 @@ import manager.STableManager;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import util.MathUtils;
|
||||
import util.StringUtil;
|
||||
import util.TimeUtils;
|
||||
|
||||
import java.util.*;
|
||||
|
@ -460,7 +461,7 @@ public class PlayerLogic {
|
|||
if(teamPosManager.getTeamPosForHero().containsKey(teamId)){
|
||||
for (TeamPosHeroInfo heroInfo:teamPosManager.getTeamPosForHero().get(teamId)) {
|
||||
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);
|
||||
|
@ -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 {
|
||||
User user = UserManager.getUser(iSession.getUid());
|
||||
int msgId = MessageTypeProto.MessageType.TAKE_SEVEN_HAPPY_REWARD_RESPONSE_VALUE;
|
||||
|
|
|
@ -495,4 +495,9 @@ public class CBean2Proto {
|
|||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue