Пример #1
0
 public static State UnpackNewestEventArchive(ImList <EventArchive> eventArchives, State state)
 {
     return(state
            & Store.UpdateGameState(eventArchives[0].Snapshot)
            & Store.UpdateEventStoreList((Store.GetEventStoreList(state) * eventArchives[0].Archive) & Im.Sort)
            & Store.UpdateEventArchives(Im.Tail(eventArchives))
            );
 }