diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-10 02:22:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-11 04:28:43 +0300 |
commit | 29181589eb79d3afdf337e2517b4fa43d8bbdd59 (patch) | |
tree | 14a15938cf0f5fe8fe297798b9779f2e6b1df9da /src/net | |
parent | 219afd10cf1dc8f7e75273706c2de3a06305e637 (diff) | |
download | ManaVerse-29181589eb79d3afdf337e2517b4fa43d8bbdd59.tar.gz ManaVerse-29181589eb79d3afdf337e2517b4fa43d8bbdd59.tar.bz2 ManaVerse-29181589eb79d3afdf337e2517b4fa43d8bbdd59.tar.xz ManaVerse-29181589eb79d3afdf337e2517b4fa43d8bbdd59.zip |
Rename clanInfo into localClan.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/clanrecv.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/net/eathena/clanrecv.cpp b/src/net/eathena/clanrecv.cpp index d70d7d876..1eebb1581 100644 --- a/src/net/eathena/clanrecv.cpp +++ b/src/net/eathena/clanrecv.cpp @@ -23,7 +23,7 @@ #include "configuration.h" #include "logger.h" -#include "being/claninfo.h" +#include "being/localclan.h" #include "gui/widgets/tabs/chat/clantab.h" @@ -42,20 +42,20 @@ namespace EAthena void ClanRecv::processClanInfo(Net::MessageIn &msg) { msg.readInt16("len"); - clanInfo.id = msg.readInt32("clan id"); - clanInfo.name = msg.readString(24, "clan name"); - clanInfo.masterName = msg.readString(24, "master name"); - clanInfo.mapName = msg.readString(16, "map name"); + localClan.id = msg.readInt32("clan id"); + localClan.name = msg.readString(24, "clan name"); + localClan.masterName = msg.readString(24, "master name"); + localClan.mapName = msg.readString(16, "map name"); const int allyCount = msg.readUInt8("ally clans count"); const int antagonistCount = msg.readUInt8("antagonist clans count"); for (int f = 0; f < allyCount; f ++) { - clanInfo.allyClans.push_back( + localClan.allyClans.push_back( msg.readString(24, "ally clan name")); } for (int f = 0; f < antagonistCount; f ++) { - clanInfo.antagonistClans.push_back( + localClan.antagonistClans.push_back( msg.readString(24, "antagonist clan name")); } createTab(); @@ -63,8 +63,8 @@ void ClanRecv::processClanInfo(Net::MessageIn &msg) void ClanRecv::processClanOnlineCount(Net::MessageIn &msg) { - clanInfo.onlineMembers = msg.readInt16("online members count"); - clanInfo.totalMembers = msg.readInt16("total members count"); + localClan.onlineMembers = msg.readInt16("online members count"); + localClan.totalMembers = msg.readInt16("total members count"); } void ClanRecv::processClanLeave(Net::MessageIn &msg A_UNUSED) |