GenAllMessagesEnum() приватный Метод

private GenAllMessagesEnum ( string file, string enumName ) : void
file string
enumName string
Результат void
Пример #1
0
 private static void GenServerData()
 {
     MessageDslParser parser = new MessageDslParser();
       parser.Init("DataProto/Data.dsl");
       parser.GenAllMessageWraps("DataProto/Data.cs", string.Empty);
       parser.GenAllMessagesEnum("DataProto/DataEnum.cs", "DataEnum", string.Empty);
       parser.GenAllMessageProtos("DataProto/Data.proto", string.Empty);
       parser.GenAllMessageDDL("DataProto/CreateDataTables.sql", string.Empty);
       parser.GenAllMessageDML("DataProto/DataDML.cs", "DataEnum", string.Empty);
 }
Пример #2
0
 private static void GenDataMessage()
 {
     MessageDslParser parser = new MessageDslParser();
       parser.Init("ProtoFiles/DataMessageDefine.dsl");
       parser.GenAllMessagesEnum("ProtoFiles/DataMessageDefineEnum.cs", "DataMessageEnum", string.Empty);
       parser.GenAllMessageProtos("ProtoFiles/DataMessageDefine.proto", string.Empty);
 }
Пример #3
0
 private static void GenBillingMessage()
 {
     MessageDslParser parser = new MessageDslParser();
       parser.Init("ProtoFiles/Billing.dsl");
       parser.GenAllMessagesEnum("ProtoFiles/BillingEnum.cs", "BillingMessageEnum", string.Empty);
       parser.GenAllMessageProtos("ProtoFiles/Billing.proto", string.Empty);
 }
Пример #4
0
 private static void GenClientRoomMessage()
 {
     MessageDslParser parser = new MessageDslParser();
       parser.Init("ProtoFiles/RoomMsg.dsl");
       parser.GenAllMessagesEnum("ProtoFiles/RoomMsgEnum.cs", "RoomMessageDefine", string.Empty);
       parser.GenAllMessageProtos("ProtoFiles/RoomMsg.proto", string.Empty);
 }
Пример #5
0
 private static void GenBigwordMessage()
 {
     MessageDslParser parser = new MessageDslParser();
       parser.Init("ProtoFiles/BigworldAndRoomServer.dsl");
       parser.GenAllMessagesEnum("ProtoFiles/BigworldAndRoomServerMessageEnum.cs", "BigworldAndRoomServerMessageEnum", string.Empty);
       parser.GenAllMessageProtos("ProtoFiles/BigworldAndRoomServer.proto", string.Empty);
 }