34 lines
782 B
C++
Executable File
34 lines
782 B
C++
Executable File
/**
|
|
* Handle WeaponFire Events
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
|
|
#include "rpr_ia_weaponfire.h"
|
|
|
|
// rpr2 data types
|
|
#include <EventIdentifierStruct.h>
|
|
#include <EntityTypeStruct.h>
|
|
#include <WorldLocationStruct.h>
|
|
|
|
|
|
/*
|
|
* ObserverWeaponFireCBNotifier
|
|
*/
|
|
ObserverWeaponFireCBNotifier::ObserverWeaponFireCBNotifier()
|
|
: rpr2::IObserverWeaponFireIntClassCB()
|
|
, m_logger(HighLevelArchitecture::getLogger("Callbacks.Interaction.WeaponFire"))
|
|
{}
|
|
|
|
void ObserverWeaponFireCBNotifier::newWeaponFireIntInstance(const rpr2::IObserverWeaponFireIntInstance &interaction)
|
|
{
|
|
emit newWeaponFire(interaction);
|
|
}
|
|
|
|
void ObserverWeaponFireCBNotifier::deleteInterface()
|
|
{
|
|
DEBUG_LOG(m_logger) << "Delete Interface";
|
|
//rpr2::IObserverMunitionDetonationIntClassCB::deleteInterface();
|
|
}
|