mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 04:51:48 +00:00
Changé le nom des variables appelé nil (qui est une macro pour le long __null sur mac)
This commit is contained in:
parent
27b6a395a4
commit
6e20727d33
2 changed files with 40 additions and 40 deletions
|
@ -48,19 +48,19 @@ public:
|
||||||
SerialNumber(0)
|
SerialNumber(0)
|
||||||
{
|
{
|
||||||
// warn the client that the transport is open
|
// warn the client that the transport is open
|
||||||
CMessage nil;
|
CMessage msg;
|
||||||
sendRawMessage("MODULE_GATEWAY:FEOPEN", nil);
|
sendRawMessage("MODULE_GATEWAY:FEOPEN", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
~CFEServerRoute()
|
~CFEServerRoute()
|
||||||
{
|
{
|
||||||
// warn the client that the transport is closed
|
// warn the client that the transport is closed
|
||||||
CMessage nil;
|
CMessage msg;
|
||||||
|
|
||||||
// check special case when application close
|
// check special case when application close
|
||||||
if (!CActionFactory::isInstanceAllocated())
|
if (!CActionFactory::isInstanceAllocated())
|
||||||
return;
|
return;
|
||||||
sendRawMessage("MODULE_GATEWAY:FECLOSE", nil);
|
sendRawMessage("MODULE_GATEWAY:FECLOSE", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2201,9 +2201,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CSessionPtr nil;
|
static CSessionPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2252,9 +2252,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CSessionParticipantPtr nil;
|
static CSessionParticipantPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2303,9 +2303,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CKnownUserPtr nil;
|
static CKnownUserPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2354,9 +2354,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CPlayerRatingPtr nil;
|
static CPlayerRatingPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3016,9 +3016,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CKnownUserPtr nil;
|
static CKnownUserPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3054,8 +3054,8 @@ namespace RSMGR
|
||||||
if (it == _Characters->end())
|
if (it == _Characters->end())
|
||||||
{
|
{
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CCharacterPtr nil;
|
static CCharacterPtr nilPtr;
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
return const_cast< CCharacterPtr & >(it->second);
|
return const_cast< CCharacterPtr & >(it->second);
|
||||||
|
@ -3107,9 +3107,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CFolderPtr nil;
|
static CFolderPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -3158,9 +3158,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CFolderAccessPtr nil;
|
static CFolderAccessPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4273,9 +4273,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CSessionParticipantPtr nil;
|
static CSessionParticipantPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4324,9 +4324,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CGuildInvitePtr nil;
|
static CGuildInvitePtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4375,9 +4375,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CJournalEntryPtr nil;
|
static CJournalEntryPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -4891,8 +4891,8 @@ namespace RSMGR
|
||||||
if (it == _Guilds->end())
|
if (it == _Guilds->end())
|
||||||
{
|
{
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CGuildPtr nil;
|
static CGuildPtr nilPtr;
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
return const_cast< CGuildPtr & >(it->second);
|
return const_cast< CGuildPtr & >(it->second);
|
||||||
|
@ -5514,9 +5514,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CCharacterPtr nil;
|
static CCharacterPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -5565,9 +5565,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CGuildInvitePtr nil;
|
static CGuildInvitePtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -8046,9 +8046,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CFolderAccessPtr nil;
|
static CFolderAccessPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -8097,9 +8097,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CSessionPtr nil;
|
static CSessionPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9312,9 +9312,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CSessionLogPtr nil;
|
static CSessionLogPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9363,9 +9363,9 @@ namespace RSMGR
|
||||||
}
|
}
|
||||||
|
|
||||||
// no object with this id, return a null pointer
|
// no object with this id, return a null pointer
|
||||||
static CPlayerRatingPtr nil;
|
static CPlayerRatingPtr nilPtr;
|
||||||
|
|
||||||
return nil;
|
return nilPtr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue