private Memento MapToDungeonModel(TableMementoModel obj)
        {
            if (obj == null)
            {
                return(null);
            }

            return(modelSerializer.Deserialize(obj.MementoTypeHint, obj.MementoJsonData) as Memento);
        }
Example #2
0
 private SourcedEvent MapToDungeonModel(TableEventModel @event)
 {
     return(modelSerializer.Deserialize(@event.EventTypeHint, @event.EventJsonData) as SourcedEvent);
 }