Ejemplo n.º 1
0
 private static ChatMapper.Location LocationToCmp(DialogueSystem.Location location)
 {
     ChatMapper.Location cmpLocation = new ChatMapper.Location();
     cmpLocation.ID     = location.id;
     cmpLocation.Fields = FieldsToCmp(location.fields);
     AddRequiredLocationFields(cmpLocation.Fields);
     return(cmpLocation);
 }
Ejemplo n.º 2
0
 private static ChatMapper.Location LocationToCmp(DialogueSystem.Location location)
 {
     ChatMapper.Location cmpLocation = new ChatMapper.Location();
     cmpLocation.ID = location.id;
     cmpLocation.Fields = FieldsToCmp(location.fields);
     AddRequiredLocationFields(cmpLocation.Fields);
     return cmpLocation;
 }