Ares
Public Member Functions | Public Attributes

BulletTypeExt::ExtData Class Reference

#include <src/Ext/BulletType/Body.h>

Inheritance diagram for BulletTypeExt::ExtData:
Extension< TT >

List of all members.

Public Member Functions

 ExtData (const DWORD Canary, TT *const OwnerObject)
 if false, this projectile/weapon *always* passes through to the occupants, regardless of UC.PassThrough
virtual ~ExtData ()
virtual size_t Size () const
virtual void LoadFromINIFile (TT *pThis, CCINIClass *pINI)
virtual void InvalidatePointer (void *ptr)

Public Attributes

bool SubjectToSolid
bool SubjectToFirewall
bool Parachuted
bool SubjectToTrenches

Constructor & Destructor Documentation

BulletTypeExt::ExtData::ExtData ( const DWORD  Canary,
TT *const  OwnerObject 
) [inline]

if false, this projectile/weapon *always* passes through to the occupants, regardless of UC.PassThrough

                                                                   : Extension<TT>(Canary, OwnerObject),
                        SubjectToSolid (false),
                        SubjectToFirewall (true),
                        Parachuted (false),
                        SubjectToTrenches (true)
                        { };
virtual BulletTypeExt::ExtData::~ExtData ( ) [inline, virtual]
                                   {
                }

Member Function Documentation

virtual void BulletTypeExt::ExtData::InvalidatePointer ( void *  ptr) [inline, virtual]

Implements Extension< TT >.

                                                          {
                }
void BulletTypeExt::ExtData::LoadFromINIFile ( TT pThis,
CCINIClass *  pINI 
) [virtual]
{
        this->SubjectToSolid = pINI->ReadBool(pThis->ID, "SubjectToBuildings", this->SubjectToSolid);
        this->SubjectToFirewall = pINI->ReadBool(pThis->ID, "SubjectToFirewall", this->SubjectToFirewall);
        this->Parachuted = pINI->ReadBool(pThis->ID, "Parachuted", this->Parachuted);

        this->SubjectToTrenches = pINI->ReadBool(pThis->ID, "SubjectToTrenches", this->SubjectToTrenches);
}
virtual size_t BulletTypeExt::ExtData::Size ( ) const [inline, virtual]

Implements Extension< TT >.

{ return sizeof(*this); };

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines