|
WSF
|
Triggers a weapon to fire on a track. More...
#include <WsfXIO_WeaponPacketRegistry.hpp>


Public Member Functions | |
| XIO_DEFINE_PACKET (WsfXIO_FireWeaponPkt, WsfXIO_Packet, 75) | |
| void | ReceiveCleanup () override |
| Public Member Functions inherited from WsfXIO_Packet | |
| WsfXIO_Packet (int aPacketId) | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| Serializes the packet header. Must be called first from derived class Serialize(). | |
| float | GetTimeStamp () const |
| void | SetTimeStamp (float aTimeStamp) |
| void | SetFlags (uint32_t aFlags) |
| void | AddFlags (uint32_t aFlags) |
| uint32_t | GetFlags () const |
Public Attributes | |
| int32_t | mPlatformIndex |
| Index of the firing platform. | |
| WsfStringId | mWeaponNameId |
| Name of the weapon on the firing platform that is being fired. | |
| WsfTrack * | mTrackPtr |
| If mTrackPtr is non-null it will be used. | |
| WsfTrackId | mTrackId |
| If mTrackPtr is null, mTrackId is used to look up a track on the launching platform. | |
| WsfStringId | mTargetNameId |
| int | mSalvoSize |
| The number of rounds to be fired. | |
| Public Attributes inherited from WsfXIO_Packet | |
| GenUniqueId | mApplicationId |
Additional Inherited Members | |
| Public Types inherited from WsfXIO_Packet | |
| enum | PacketFlags { cSYNCHRONIZED = 1 } |
| typedef bool | BaseType |
| Static Public Attributes inherited from WsfXIO_Packet | |
| static const int | cPACKET_ID = -1 |
| Protected Attributes inherited from WsfXIO_Packet | |
| uint32_t | mFlags |
| float | mTimeStamp |
Triggers a weapon to fire on a track.
|
inlineoverride |
References mTrackPtr.
|
inline |
References mPlatformIndex, mSalvoSize, mTargetNameId, mTrackId, mTrackPtr, mWeaponNameId, and WsfXIO_Packet::WsfXIO_Packet().
| int32_t WsfXIO_FireWeaponPkt::mPlatformIndex |
Index of the firing platform.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), WsfXIO_WeaponInfo::FireSalvo(), and XIO_DEFINE_PACKET().
| int WsfXIO_FireWeaponPkt::mSalvoSize |
The number of rounds to be fired.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), WsfXIO_WeaponInfo::FireSalvo(), and XIO_DEFINE_PACKET().
| WsfStringId WsfXIO_FireWeaponPkt::mTargetNameId |
If mTrackId cannot be found, mTargetNameId is used to look up a track. Auto dis mapping must be on.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), and XIO_DEFINE_PACKET().
| WsfTrackId WsfXIO_FireWeaponPkt::mTrackId |
If mTrackPtr is null, mTrackId is used to look up a track on the launching platform.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), and XIO_DEFINE_PACKET().
| WsfTrack* WsfXIO_FireWeaponPkt::mTrackPtr |
If mTrackPtr is non-null it will be used.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), WsfXIO_WeaponInfo::FireSalvo(), ReceiveCleanup(), and XIO_DEFINE_PACKET().
| WsfStringId WsfXIO_FireWeaponPkt::mWeaponNameId |
Name of the weapon on the firing platform that is being fired.
Referenced by WsfXIO_WeaponInfo::FireSalvo(), WsfXIO_WeaponInfo::FireSalvo(), and XIO_DEFINE_PACKET().