VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
setLifeFormWeaponStateRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
19 #include <vlutil/vlNetTypes.h>
20 
21 
22 
26 {
28  DtNetU32 padding;
29 };
30 
38 {
39 
40 public:
41 
44 
47  DtSetLifeFormWeaponStateRequest(const DtString & writeName,
48  DtReaderWriterRegistry * parentRegistry = 0);
49 
52  orig, DtReaderWriterRegistry * parentRegistry = 0);
53 
56 
58 
60  virtual const DtSetMessageType& type() const;
61 
63  virtual DtSetDataRequest * clone(const DtString & name,
64  DtReaderWriterRegistry * parentRegistry = 0) const;
65 
67  virtual DtString stringRep() const;
68 
69  virtual DtRwIndividualLifeFormWeaponStateType lifeFormWeaponState() const;
70  virtual void setLifeFormWeaponState(DtRwIndividualLifeFormWeaponStateType & weaponState);
71 
72  virtual DtWeaponState weaponState() const;
73  virtual void setWeaponState(DtWeaponState weaponState);
74 
77  virtual int netRepSize() const;
78 
80  virtual bool setFromNet(const char* contentBuffer,
81  unsigned contentSize);
82 
85  virtual bool setToNet();
86 
87  static DtSetDataRequest * creator();
88 
89 protected:
90 
92 
93 };
94 

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)