2016-12-22 19:57:21 +00:00
|
|
|
#ifndef __URDE_CSCRIPTBEAM_HPP__
|
|
|
|
#define __URDE_CSCRIPTBEAM_HPP__
|
|
|
|
|
|
|
|
#include "CActor.hpp"
|
|
|
|
#include "Weapon/CBeamInfo.hpp"
|
|
|
|
#include "CDamageInfo.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
class CWeaponDescription;
|
|
|
|
class CScriptBeam : public CActor
|
|
|
|
{
|
|
|
|
TCachedToken<CWeaponDescription> xe8_weaponDescription;
|
|
|
|
CBeamInfo xf4_beamInfo;
|
|
|
|
CDamageInfo x138_damageInfo;
|
|
|
|
TUniqueId x154_projectileId;
|
|
|
|
public:
|
2017-11-13 06:19:18 +00:00
|
|
|
CScriptBeam(TUniqueId, std::string_view, const CEntityInfo&, const zeus::CTransform&, bool,
|
2016-12-22 19:57:21 +00:00
|
|
|
const TToken<CWeaponDescription>&, const CBeamInfo&, const CDamageInfo&);
|
|
|
|
|
2017-01-15 03:07:01 +00:00
|
|
|
void Accept(IVisitor& visitor);
|
2016-12-22 19:57:21 +00:00
|
|
|
void Think(float, CStateManager &);
|
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager &);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // __URDE_CSCRIPTBEAM_HPP__
|