mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
22 lines
423 B
C++
22 lines
423 B
C++
#pragma once
|
|
#include "framework.h"
|
|
#include "dcstools.h"
|
|
|
|
class Weapon;
|
|
|
|
class WeaponsManager
|
|
{
|
|
public:
|
|
WeaponsManager(lua_State* L);
|
|
~WeaponsManager();
|
|
|
|
map<unsigned int, Weapon*>& getWeapons() { return weapons; };
|
|
Weapon* getWeapon(unsigned int ID);
|
|
void update(json::value& missionData, double dt);
|
|
void getWeaponData(stringstream& ss, unsigned long long time);
|
|
|
|
private:
|
|
map<unsigned int, Weapon*> weapons;
|
|
};
|
|
|