From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a02455.html | 351 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 351 insertions(+) create mode 100644 docs/doxygen/nel/a02455.html (limited to 'docs/doxygen/nel/a02455.html') diff --git a/docs/doxygen/nel/a02455.html b/docs/doxygen/nel/a02455.html new file mode 100644 index 00000000..f6833c95 --- /dev/null +++ b/docs/doxygen/nel/a02455.html @@ -0,0 +1,351 @@ + + +NeL: NLMISC::CEntityIdTranslator::CEntity struct Reference + + + +
+

NLMISC::CEntityIdTranslator::CEntity Struct Reference

#include <eid_translator.h> +

+ + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

 CEntity (const ucstring &entityName, uint32 uid, const std::string &userName, sint8 entitySlot)
 CEntity ()
void serial (NLMISC::IStream &s)

Data Fields

ucstring EntityName
uint32 EntityNameStringId
sint8 EntitySlot
bool Online
uint32 UId
std::string UserName
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLMISC::CEntityIdTranslator::CEntity::CEntity  )  [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 92 of file eid_translator.h. +

+References EntityNameStringId, EntitySlot, Online, and UId. +

+

00092                            :
+00093                 EntitySlot(-1), UId(~0), Online(false), EntityNameStringId(0)
+00094                 { }
+                
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NLMISC::CEntityIdTranslator::CEntity::CEntity const ucstring entityName,
uint32  uid,
const std::string &  userName,
sint8  entitySlot
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 96 of file eid_translator.h. +

+References EntityName, EntityNameStringId, EntitySlot, Online, sint8, UId, and uint32. +

+

00096                                                                                                               :
+00097                 EntityName(entityName), EntitySlot(entitySlot), UId(uid), UserName(userName), Online(false), EntityNameStringId(0)
+00098                 { }
+                
+
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CEntityIdTranslator::CEntity::serial NLMISC::IStream s  ) 
+
+ + + + + +
+   + + +

+ +

+Definition at line 61 of file eid_translator.cpp. +

+References EntityName, EntitySlot, s, sint8, and UId. +

+

00062 {
+00063         s.serial (EntityName);
+00064         
+00065         if (CEntityIdTranslator::getInstance()->FileVersion >= 1)
+00066                 s.serial (EntitySlot);
+00067         else
+00068         {
+00069                 if(s.isReading())
+00070                 {
+00071                         EntitySlot = -1;
+00072                 }
+00073                 else
+00074                 {
+00075                         sint8 slot = -1;
+00076                         s.serial (slot);
+00077                 }
+00078         }
+00079         s.serial (UId);
+00080         s.serial (UserName);
+00081 }
+
+


Field Documentation

+

+ + + + +
+ + +
ucstring NLMISC::CEntityIdTranslator::CEntity::EntityName +
+
+ + + + + +
+   + + +

+ +

+Definition at line 100 of file eid_translator.h. +

+Referenced by CEntity(), and serial().

+

+ + + + +
+ + +
uint32 NLMISC::CEntityIdTranslator::CEntity::EntityNameStringId +
+
+ + + + + +
+   + + +

+ +

+Definition at line 101 of file eid_translator.h. +

+Referenced by CEntity().

+

+ + + + +
+ + +
sint8 NLMISC::CEntityIdTranslator::CEntity::EntitySlot +
+
+ + + + + +
+   + + +

+ +

+Definition at line 102 of file eid_translator.h. +

+Referenced by CEntity(), and serial().

+

+ + + + +
+ + +
bool NLMISC::CEntityIdTranslator::CEntity::Online +
+
+ + + + + +
+   + + +

+ +

+Definition at line 107 of file eid_translator.h. +

+Referenced by CEntity().

+

+ + + + +
+ + +
uint32 NLMISC::CEntityIdTranslator::CEntity::UId +
+
+ + + + + +
+   + + +

+ +

+Definition at line 104 of file eid_translator.h. +

+Referenced by CEntity(), and serial().

+

+ + + + +
+ + +
std::string NLMISC::CEntityIdTranslator::CEntity::UserName +
+
+ + + + + +
+   + + +

+ +

+Definition at line 105 of file eid_translator.h.

+


The documentation for this struct was generated from the following files: +
Generated on Tue Mar 16 13:08:20 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1