Core/Refactor: Part 4
This commit is contained in:
@@ -69,10 +69,11 @@ namespace Game
|
||||
{
|
||||
inspectResult.GuildData.HasValue = true;
|
||||
|
||||
InspectGuildData guildData = inspectResult.GuildData.Value;
|
||||
InspectGuildData guildData;
|
||||
guildData.GuildGUID = guild.GetGUID();
|
||||
guildData.NumGuildMembers = guild.GetMembersCount();
|
||||
guildData.AchievementPoints = (int)guild.GetAchievementMgr().GetAchievementPoints();
|
||||
inspectResult.GuildData.Set(guildData);
|
||||
}
|
||||
|
||||
inspectResult.InspecteeGUID = inspect.Target;
|
||||
|
||||
@@ -70,11 +70,6 @@ namespace Game
|
||||
return;
|
||||
}
|
||||
|
||||
byte count = 0;
|
||||
for (byte i = 0; i < SharedConst.VoidStorageMaxSlot; ++i)
|
||||
if (player.GetVoidStorageItem(i) != null)
|
||||
++count;
|
||||
|
||||
VoidStorageContents voidStorageContents = new VoidStorageContents();
|
||||
for (byte i = 0; i < SharedConst.VoidStorageMaxSlot; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user