mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-23 15:42:24 +00:00
clang-modernize -use-auto convert for world/cliententry.cpp
This commit is contained in:
parent
c2936a893e
commit
bb37dd1b16
@ -121,7 +121,7 @@ void ClientListEntry::SetOnline(int8 iOnline) {
|
|||||||
}
|
}
|
||||||
void ClientListEntry::LSUpdate(ZoneServer* iZS){
|
void ClientListEntry::LSUpdate(ZoneServer* iZS){
|
||||||
if(WorldConfig::get()->UpdateStats){
|
if(WorldConfig::get()->UpdateStats){
|
||||||
ServerPacket* pack = new ServerPacket;
|
auto pack = new ServerPacket;
|
||||||
pack->opcode = ServerOP_LSZoneInfo;
|
pack->opcode = ServerOP_LSZoneInfo;
|
||||||
pack->size = sizeof(ZoneInfo_Struct);
|
pack->size = sizeof(ZoneInfo_Struct);
|
||||||
pack->pBuffer = new uchar[pack->size];
|
pack->pBuffer = new uchar[pack->size];
|
||||||
@ -135,7 +135,7 @@ void ClientListEntry::LSUpdate(ZoneServer* iZS){
|
|||||||
}
|
}
|
||||||
void ClientListEntry::LSZoneChange(ZoneToZone_Struct* ztz){
|
void ClientListEntry::LSZoneChange(ZoneToZone_Struct* ztz){
|
||||||
if(WorldConfig::get()->UpdateStats){
|
if(WorldConfig::get()->UpdateStats){
|
||||||
ServerPacket* pack = new ServerPacket;
|
auto pack = new ServerPacket;
|
||||||
pack->opcode = ServerOP_LSPlayerZoneChange;
|
pack->opcode = ServerOP_LSPlayerZoneChange;
|
||||||
pack->size = sizeof(ServerLSPlayerZoneChange_Struct);
|
pack->size = sizeof(ServerLSPlayerZoneChange_Struct);
|
||||||
pack->pBuffer = new uchar[pack->size];
|
pack->pBuffer = new uchar[pack->size];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user