metaforce/Runtime/Particle/CProjectileWeaponDataFactor...

26 lines
837 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
#include <memory>
#include "Runtime/CFactoryMgr.hpp"
#include "Runtime/CToken.hpp"
#include "Runtime/Streams/IOStreams.hpp"
#include "Runtime/IObj.hpp"
#include "Runtime/RetroTypes.hpp"
2021-04-10 08:42:06 +00:00
namespace metaforce {
class CSimplePool;
class CWeaponDescription;
2018-12-08 05:30:43 +00:00
class CProjectileWeaponDataFactory {
static std::unique_ptr<CWeaponDescription> CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
2018-12-08 05:30:43 +00:00
static bool CreateWPSM(CWeaponDescription* desc, CInputStream& in, CSimplePool* resPool);
2017-02-13 21:29:00 +00:00
public:
static std::unique_ptr<CWeaponDescription> GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
};
2017-02-13 21:29:00 +00:00
CFactoryFnReturn FProjectileWeaponDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
CObjectReference*);
2021-04-10 08:42:06 +00:00
} // namespace metaforce