VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ifAdminUpdateSpawnInstance.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include "vrfmsgs/rwSpawnData.h"
10 #include "vrfmsgs/vrfmsgsDefines.h"
11 
13 {
14 
15 public:
16 
19 
22 
25 
28 
30  virtual const DtAdminContentMessageType& type() const;
31 
33  virtual DtAdminContent * clone() const;
34 
36  virtual int netRepSize() const;
37 
39  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
40 
42  virtual bool setToNet();
43 
44  virtual DtRwSpawnData& spawnData() {return mySpawnData;};
45  virtual void setSpawnData(DtRwSpawnData & data) {mySpawnData = data;};
46 
51  virtual DtString stringRep() const;
52 
54  static DtAdminContent* create();
55 
56 protected:
57 
59 };
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
virtual int netRepSize() const
#define DT_DLL_vrfmsgs
This file is used to determine how to build.
Definition: vrfmsgsDefines.h:28
virtual void setSpawnData(DtRwSpawnData &data)
Definition: ifAdminUpdateSpawnInstance.h:45
virtual DtAdminContent * clone() const =0
Make a copy of this content. Returns a pointer to a newly created copy of this class. Derived classes must override this function to create and return an instance of the derived type.
DtRwSpawnData mySpawnData
Definition: ifAdminUpdateSpawnInstance.h:58
Definition: vrfObjectMessageTypeTemplate.h:24
const DtAdminContent & operator=(const DtAdminContent &orig)
assignment operator; same as copy costructor.
Base library for data that is used to control how spawn points generate entities. This data structure...
Definition: rwSpawnData.h:37
DtAdminContent.
Definition: adminContent.h:23
virtual const DtAdminContentMessageType & type() const =0
Definition: ifAdminUpdateSpawnInstance.h:12
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
virtual DtString stringRep() const =0
Get a readable string representation of this content. Derived classes must implement this function...
virtual DtRwSpawnData & spawnData()
Definition: ifAdminUpdateSpawnInstance.h:44

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)