blob: c993b232016529ddbdcaafc9be63b47e373692c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
#include <vector>
#include <unordered_map>
#include "Killmail.h"
#include "Source.h"
class Snapshot : public Source
{
public:
explicit Snapshot(const char* filename);
std::vector<Killmail> killmails() const override;
int team(const Owner& owner) const override;
private:
std::vector<Killmail> m_killmails;
std::unordered_map<long int, int> m_teams;
};
|