VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiDiGuyCtrlExt.h
Go to the documentation of this file.
1 
5 
6 #pragma once
7 
9 
11 
12 #include <string>
13 
14 
15 //+> Packet layout
16 // |-------------------------------------------------------------------------------------------------------------------------------|
17 // | 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 |
18 // |-------------------------------------------------------------------------------------------------------------------------------|
19 // | Packet Id = 202 | Packet Size = 16+strLen | Entity ID |
20 // |-------------------------------------------------------------------------------------------------------------------------------|
21 // | Reserved | *4 | *3| *2| *1|Res|*11|*10| *9| *8| *7| *6| *5| Reserved |
22 // |-------------------------------------------------------------------------------------------------------------------------------|
23 // | X Scale |
24 // |-------------------------------------------------------------------------------------------------------------------------------|
25 // | Y Scale |
26 // |-------------------------------------------------------------------------------------------------------------------------------|
27 // | Z Scale |
28 // |-------------------------------------------------------------------------------------------------------------------------------|
29 // | Weight |
30 // |-------------------------------------------------------------------------------------------------------------------------------|
31 // | Animation speed |
32 // | |
33 // |-------------------------------------------------------------------------------------------------------------------------------|
34 // | Animation (variable, multiple of 8 bytes) |
35 // |-------------------------------------------------------------------------------------------------------------------------------|
36 // | Item Appearance (variable, multiple of 8 bytes) |
37 // |-------------------------------------------------------------------------------------------------------------------------------|
38 // | Head Appearance (variable, multiple of 8 bytes) |
39 // |_______________________________________________________________________________________________________________________________|
40 
41 // *1 Action Paused
42 // *2 Weapon State
43 // *3 Health State
44 // *4 Posture
45 // *5 Action Paused Enable
46 // *6 Weapon State Enable
47 // *7 Health State Enable
48 // *8 Posture Enable
49 // *9 Animation Speed Enable
50 // *10 Scale Enable
51 // *11 Weight Enable
52 //
53 namespace makCigiExt
54 {
55  //=========================================================
60  {
61  public:
62  //==> Management
63 
64  //=========================================================
67  DtCigiDiGuyCtrlExt(void);
68 
69  //=========================================================
72  virtual ~DtCigiDiGuyCtrlExt(void);
73 
74  //=========================================================
78 
79  //=========================================================
82  DtCigiDiGuyCtrlExt& operator=(const DtCigiDiGuyCtrlExt& BaseIn);
83 
84  //==> Buffer Packing/Unpacking
85 
86  //=========================================================
97  virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
98 
99  //=========================================================
109  virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
110  };
111 }
112 
Contains makVrv::DtCigiBaseDiGuyCtrlExt class.
The base class for all DiGuy Control (extended) packets.
Definition: DtCigiBaseDiGuyCtrlExt.h:30
Contains DLL export macros.
#define DT_DLL_MAKCIGIEXTENSIONS
Definition: makCigiExtensions.h:17
The DiGuy Control (extended) packet class for V3.x.
Definition: DtCigiDiGuyCtrlExt.h:58

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)