VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nonLethalDamageActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <readerWriter/rwReal.h>
11 
12 
17 {
18 public:
21  DtReaderWriterRegistry* parentRegistry = NULL);
22 
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
31 
33  virtual ~DtNonLethalDamageActuatorDescriptor() override;
34 
37  virtual DtString type() const override;
38 
39  virtual DtComponentDescriptor* clone(DtReaderWriterRegistry* parentRegistry = NULL) const override;
40 
42  virtual bool init() override;
43 
46 
49  virtual bool hostileFireOnly()const;
50  virtual void setHostileFireOnly(const bool );
52 
54  virtual const DtDmgMunitionTable* damageModel() const;
55 
56 protected:
59 
60 protected:
64 
72 
77 
79  };
DtNonLethalDamageActuatorDescriptor is used to specify the parameters for the DtNonLethalDamageActuat...
Definition: nonLethalDamageActuatorDescriptor.h:16
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
virtual bool init()
Base class init does nothing, but will be called by createComponentDescriptor(), allowing derived cla...
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
DtRwBoolean myHostileFireOnly
Parameter Name: hostile-fire-only Parameter Description: If true, then detonations only cause damage ...
Definition: nonLethalDamageActuatorDescriptor.h:71
virtual DtString type() const override
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
const DtDmgMunitionTable * myDamageModel
Parameter Name: damage-model Parameter Description: Table of munitions and their effect. Parameter Default Value: .
Definition: nonLethalDamageActuatorDescriptor.h:76
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtDmgMunitionTable is the parameter that specifies the damage model for an entity. An entity may choose not to have a damage model, so this class uses the setValueSpecified() capability of DtReaderWriter to support being an optional argument.
Definition: dmgMunitionTable.h:25

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)