#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 |
|
|
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 { } |
|
||||||||||||||||||||
|
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 { } |
|
|
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 }
|
|
|
Definition at line 100 of file eid_translator.h. |
|
|
Definition at line 101 of file eid_translator.h. Referenced by CEntity(). |
|
|
Definition at line 102 of file eid_translator.h. |
|
|
Definition at line 107 of file eid_translator.h. Referenced by CEntity(). |
|
|
Definition at line 104 of file eid_translator.h. |
|
|
Definition at line 105 of file eid_translator.h. |
1.3.6