VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiDiGuyCtrlExtV4.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 Size = 32+strLen | Packet Id = 0xf000 |
20 // |-------------------------------------------------------------------------------------------------------------------------------|
21 // | Entity ID | Reserved | *4 | *3| *2| *1|Res|*11|*10| *9| *8| *7| *6| *5|
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 
56  //=========================================================
61  {
62  public:
63  //==> Management
64 
65  //=========================================================
69 
70  //=========================================================
73  virtual ~DtCigiDiGuyCtrlExtV4(void);
74 
75  //=========================================================
79 
80  //=========================================================
83  DtCigiDiGuyCtrlExtV4& operator=(const DtCigiDiGuyCtrlExtV4& BaseIn);
84 
85  //==> Buffer Packing/Unpacking
86 
87  //=========================================================
98  virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
99 
100  //=========================================================
110  virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
111  };
112 }
113 
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 V4.
Definition: DtCigiDiGuyCtrlExtV4.h:59

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)