VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCigiDiGuyCtrlExtV4.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2020 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 Size = 32+strLen | Packet Id = 0xf000 |
24 // |-------------------------------------------------------------------------------------------------------------------------------|
25 // | Entity ID | Reserved | *4 | *3| *2| *1|Res|*11|*10| *9| *8| *7| *6| *5|
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 
60  //=========================================================
65  {
66  public:
67  //==> Management
68 
69  //=========================================================
73 
74  //=========================================================
77  virtual ~DtCigiDiGuyCtrlExtV4(void);
78 
79  //=========================================================
83 
84  //=========================================================
87  DtCigiDiGuyCtrlExtV4& operator=(const DtCigiDiGuyCtrlExtV4& BaseIn);
88 
89  //==> Buffer Packing/Unpacking
90 
91  //=========================================================
102  virtual int Pack(CigiBasePacket * Base, Cigi_uint8 * Buff, void *Spec) const;
103 
104  //=========================================================
114  virtual int Unpack(Cigi_uint8 * Buff, bool Swap, void *Spec);
115  };
116 }
117 
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 V4.
Definition: DtCigiDiGuyCtrlExtV4.h:63

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)