VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiDiGuyCtrlExt.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2019 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
13 
15 
16 #include <string>
17 
18 
19 //+> Packet layout
20 // |-------------------------------------------------------------------------------------------------------------------------------|
21 // | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
22 // |-------------------------------------------------------------------------------------------------------------------------------|
23 // | Packet Id = 202 | Packet Size = 16+strLen | Entity ID |
24 // |-------------------------------------------------------------------------------------------------------------------------------|
25 // | Reserved | *4 | *3| *2| *1|Res|*11|*10| *9| *8| *7| *6| *5| Reserved |
26 // |-------------------------------------------------------------------------------------------------------------------------------|
27 // | X Scale |
28 // |-------------------------------------------------------------------------------------------------------------------------------|
29 // | Y Scale |
30 // |-------------------------------------------------------------------------------------------------------------------------------|
31 // | Z Scale |
32 // |-------------------------------------------------------------------------------------------------------------------------------|
33 // | Weight |
34 // |-------------------------------------------------------------------------------------------------------------------------------|
35 // | Animation speed |
36 // | |
37 // |-------------------------------------------------------------------------------------------------------------------------------|
38 // | Animation (variable, multiple of 8 bytes) |
39 // |-------------------------------------------------------------------------------------------------------------------------------|
40 // | Item Appearance (variable, multiple of 8 bytes) |
41 // |-------------------------------------------------------------------------------------------------------------------------------|
42 // | Head Appearance (variable, multiple of 8 bytes) |
43 // |_______________________________________________________________________________________________________________________________|
44 
45 // *1 Action Paused
46 // *2 Weapon State
47 // *3 Health State
48 // *4 Posture
49 // *5 Action Paused Enable
50 // *6 Weapon State Enable
51 // *7 Health State Enable
52 // *8 Posture Enable
53 // *9 Animation Speed Enable
54 // *10 Scale Enable
55 // *11 Weight Enable
56 //
57 namespace makCigiExt
58 {
59  //=========================================================
64  {
65  public:
66  //==> Management
67 
68  //=========================================================
71  DtCigiDiGuyCtrlExt(void);
72 
73  //=========================================================
76  virtual ~DtCigiDiGuyCtrlExt(void);
77 
78  //=========================================================
82 
83  //=========================================================
86  DtCigiDiGuyCtrlExt& operator=(const DtCigiDiGuyCtrlExt& BaseIn);
87 
88  //==> Buffer Packing/Unpacking
89 
90  //=========================================================
101  virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
102 
103  //=========================================================
113  virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
114  };
115 }
116 
Contains makVrv::DtCigiBaseDiGuyCtrlExt class.
The base class for all DiGuy Control (extended) packets.
Definition: DtCigiBaseDiGuyCtrlExt.h:34
Contains DLL export macros.
#define DT_DLL_MAKCIGIEXTENSIONS
Definition: makCigiExtensions.h:17
The DiGuy Control (extended) packet class for V3.x.
Definition: DtCigiDiGuyCtrlExt.h:62

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)