Merge branch 'master' of 60.1.1.230:backend/jieling_server

back_recharge
wangyuan 2019-01-07 13:47:43 +08:00
commit 4a2b19044a
4 changed files with 2 additions and 12740 deletions

3
.gitignore vendored
View File

@ -6,4 +6,5 @@
*.bin
*.lock
serverlogic/src/main/java/com/ljsd/jieling/protocols
*.class
*.class
out

View File

@ -1,367 +0,0 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: MessageTypeProto.proto
package com.ljsd.jieling.protocols;
public final class MessageTypeProto {
private MessageTypeProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code com.ljsd.jieling.protocols.MessageType}
*/
public enum MessageType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>HEART_BEAT_REQUEST = 1000;</code>
*
* <pre>
* 1000--9999
* </pre>
*/
HEART_BEAT_REQUEST(0, 1000),
/**
* <code>HEART_BEAT_RESPONSE = 1001;</code>
*
* <pre>
*
* </pre>
*/
HEART_BEAT_RESPONSE(1, 1001),
/**
* <code>LOGIN_REQUEST = 10000;</code>
*
* <pre>
* 10000
* </pre>
*/
LOGIN_REQUEST(2, 10000),
/**
* <code>LOGIN_RESPONSE = 10001;</code>
*/
LOGIN_RESPONSE(3, 10001),
/**
* <code>GET_PLAYERINFO_REQUEST = 10002;</code>
*
* <pre>
* </pre>
*/
GET_PLAYERINFO_REQUEST(4, 10002),
/**
* <code>GET_PLAYERINFO_RESPONSE = 10003;</code>
*/
GET_PLAYERINFO_RESPONSE(5, 10003),
/**
* <code>GET_HEROINFO_REQUEST = 10004;</code>
*
* <pre>
* </pre>
*/
GET_HEROINFO_REQUEST(6, 10004),
/**
* <code>GET_HEROINFO_RESPONSE = 10005;</code>
*/
GET_HEROINFO_RESPONSE(7, 10005),
/**
* <code>GET_ITEMINFO_REQUEST = 10006;</code>
*
* <pre>
* </pre>
*/
GET_ITEMINFO_REQUEST(8, 10006),
/**
* <code>GET_ITEMINFO_RESPONSE = 10007;</code>
*/
GET_ITEMINFO_RESPONSE(9, 10007),
/**
* <code>ENTER_MAP_REQUEST = 10008;</code>
*
* <pre>
* </pre>
*/
ENTER_MAP_REQUEST(10, 10008),
/**
* <code>ENTER_MAP_RESPONSE = 10009;</code>
*/
ENTER_MAP_RESPONSE(11, 10009),
/**
* <code>START_FIGHT_REQUEST = 10010;</code>
*
* <pre>
* </pre>
*/
START_FIGHT_REQUEST(12, 10010),
/**
* <code>START_FIGHT_RESPONSE = 10011;</code>
*/
START_FIGHT_RESPONSE(13, 10011),
/**
* <code>END_FIGHT_REQUEST = 10012;</code>
*
* <pre>
* </pre>
*/
END_FIGHT_REQUEST(14, 10012),
/**
* <code>END_FIGHT_RESPONSE = 10013;</code>
*/
END_FIGHT_RESPONSE(15, 10013),
/**
* <code>TRIGGER_EVENT_REQUEST = 10014;</code>
*
* <pre>
* </pre>
*/
TRIGGER_EVENT_REQUEST(16, 10014),
/**
* <code>TRIGGER_EVENT_RESPONSE = 10015;</code>
*/
TRIGGER_EVENT_RESPONSE(17, 10015),
/**
* <code>OUT_MAP_REQUEST = 10016;</code>
*
* <pre>
* </pre>
*/
OUT_MAP_REQUEST(18, 10016),
/**
* <code>OUT_MAP_RESPONSE = 10017;</code>
*/
OUT_MAP_RESPONSE(19, 10017),
;
/**
* <code>HEART_BEAT_REQUEST = 1000;</code>
*
* <pre>
* 1000--9999
* </pre>
*/
public static final int HEART_BEAT_REQUEST_VALUE = 1000;
/**
* <code>HEART_BEAT_RESPONSE = 1001;</code>
*
* <pre>
*
* </pre>
*/
public static final int HEART_BEAT_RESPONSE_VALUE = 1001;
/**
* <code>LOGIN_REQUEST = 10000;</code>
*
* <pre>
* 10000
* </pre>
*/
public static final int LOGIN_REQUEST_VALUE = 10000;
/**
* <code>LOGIN_RESPONSE = 10001;</code>
*/
public static final int LOGIN_RESPONSE_VALUE = 10001;
/**
* <code>GET_PLAYERINFO_REQUEST = 10002;</code>
*
* <pre>
* </pre>
*/
public static final int GET_PLAYERINFO_REQUEST_VALUE = 10002;
/**
* <code>GET_PLAYERINFO_RESPONSE = 10003;</code>
*/
public static final int GET_PLAYERINFO_RESPONSE_VALUE = 10003;
/**
* <code>GET_HEROINFO_REQUEST = 10004;</code>
*
* <pre>
* </pre>
*/
public static final int GET_HEROINFO_REQUEST_VALUE = 10004;
/**
* <code>GET_HEROINFO_RESPONSE = 10005;</code>
*/
public static final int GET_HEROINFO_RESPONSE_VALUE = 10005;
/**
* <code>GET_ITEMINFO_REQUEST = 10006;</code>
*
* <pre>
* </pre>
*/
public static final int GET_ITEMINFO_REQUEST_VALUE = 10006;
/**
* <code>GET_ITEMINFO_RESPONSE = 10007;</code>
*/
public static final int GET_ITEMINFO_RESPONSE_VALUE = 10007;
/**
* <code>ENTER_MAP_REQUEST = 10008;</code>
*
* <pre>
* </pre>
*/
public static final int ENTER_MAP_REQUEST_VALUE = 10008;
/**
* <code>ENTER_MAP_RESPONSE = 10009;</code>
*/
public static final int ENTER_MAP_RESPONSE_VALUE = 10009;
/**
* <code>START_FIGHT_REQUEST = 10010;</code>
*
* <pre>
* </pre>
*/
public static final int START_FIGHT_REQUEST_VALUE = 10010;
/**
* <code>START_FIGHT_RESPONSE = 10011;</code>
*/
public static final int START_FIGHT_RESPONSE_VALUE = 10011;
/**
* <code>END_FIGHT_REQUEST = 10012;</code>
*
* <pre>
* </pre>
*/
public static final int END_FIGHT_REQUEST_VALUE = 10012;
/**
* <code>END_FIGHT_RESPONSE = 10013;</code>
*/
public static final int END_FIGHT_RESPONSE_VALUE = 10013;
/**
* <code>TRIGGER_EVENT_REQUEST = 10014;</code>
*
* <pre>
* </pre>
*/
public static final int TRIGGER_EVENT_REQUEST_VALUE = 10014;
/**
* <code>TRIGGER_EVENT_RESPONSE = 10015;</code>
*/
public static final int TRIGGER_EVENT_RESPONSE_VALUE = 10015;
/**
* <code>OUT_MAP_REQUEST = 10016;</code>
*
* <pre>
* </pre>
*/
public static final int OUT_MAP_REQUEST_VALUE = 10016;
/**
* <code>OUT_MAP_RESPONSE = 10017;</code>
*/
public static final int OUT_MAP_RESPONSE_VALUE = 10017;
public final int getNumber() { return value; }
public static MessageType valueOf(int value) {
switch (value) {
case 1000: return HEART_BEAT_REQUEST;
case 1001: return HEART_BEAT_RESPONSE;
case 10000: return LOGIN_REQUEST;
case 10001: return LOGIN_RESPONSE;
case 10002: return GET_PLAYERINFO_REQUEST;
case 10003: return GET_PLAYERINFO_RESPONSE;
case 10004: return GET_HEROINFO_REQUEST;
case 10005: return GET_HEROINFO_RESPONSE;
case 10006: return GET_ITEMINFO_REQUEST;
case 10007: return GET_ITEMINFO_RESPONSE;
case 10008: return ENTER_MAP_REQUEST;
case 10009: return ENTER_MAP_RESPONSE;
case 10010: return START_FIGHT_REQUEST;
case 10011: return START_FIGHT_RESPONSE;
case 10012: return END_FIGHT_REQUEST;
case 10013: return END_FIGHT_RESPONSE;
case 10014: return TRIGGER_EVENT_REQUEST;
case 10015: return TRIGGER_EVENT_RESPONSE;
case 10016: return OUT_MAP_REQUEST;
case 10017: return OUT_MAP_RESPONSE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<MessageType>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<MessageType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<MessageType>() {
public MessageType findValueByNumber(int number) {
return MessageType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.ljsd.jieling.protocols.MessageTypeProto.getDescriptor().getEnumTypes().get(0);
}
private static final MessageType[] VALUES = values();
public static MessageType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private MessageType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:com.ljsd.jieling.protocols.MessageType)
}
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\026MessageTypeProto.proto\022\032com.ljsd.jieli" +
"ng.protocols*\217\004\n\013MessageType\022\027\n\022HEART_BE" +
"AT_REQUEST\020\350\007\022\030\n\023HEART_BEAT_RESPONSE\020\351\007\022" +
"\022\n\rLOGIN_REQUEST\020\220N\022\023\n\016LOGIN_RESPONSE\020\221N" +
"\022\033\n\026GET_PLAYERINFO_REQUEST\020\222N\022\034\n\027GET_PLA" +
"YERINFO_RESPONSE\020\223N\022\031\n\024GET_HEROINFO_REQU" +
"EST\020\224N\022\032\n\025GET_HEROINFO_RESPONSE\020\225N\022\031\n\024GE" +
"T_ITEMINFO_REQUEST\020\226N\022\032\n\025GET_ITEMINFO_RE" +
"SPONSE\020\227N\022\026\n\021ENTER_MAP_REQUEST\020\230N\022\027\n\022ENT" +
"ER_MAP_RESPONSE\020\231N\022\030\n\023START_FIGHT_REQUES",
"T\020\232N\022\031\n\024START_FIGHT_RESPONSE\020\233N\022\026\n\021END_F" +
"IGHT_REQUEST\020\234N\022\027\n\022END_FIGHT_RESPONSE\020\235N" +
"\022\032\n\025TRIGGER_EVENT_REQUEST\020\236N\022\033\n\026TRIGGER_" +
"EVENT_RESPONSE\020\237N\022\024\n\017OUT_MAP_REQUEST\020\240N\022" +
"\025\n\020OUT_MAP_RESPONSE\020\241NB\002H\001"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}