Some refactoring of code. and some cleanups

This commit is contained in:
hondacrx
2019-09-21 12:11:16 -04:00
parent 7c405230cc
commit 35c06c09fd
214 changed files with 1235 additions and 1341 deletions
+2 -2
View File
@@ -2480,7 +2480,7 @@ namespace Game.Guilds
public void SetStats(Player player)
{
m_name = player.GetName();
m_level = (byte)player.getLevel();
m_level = (byte)player.GetLevel();
m_class = player.GetClass();
_gender = (Gender)(byte)player.m_playerData.NativeSex;
m_zoneId = player.GetZoneId();
@@ -3751,7 +3751,7 @@ namespace Game.Guilds
// Reserve space
ItemPosCount pos = new ItemPosCount(slotId, requiredSpace);
if (!pos.isContainedIn(m_vec))
if (!pos.IsContainedIn(m_vec))
{
m_vec.Add(pos);
count -= requiredSpace;
-1
View File
@@ -22,7 +22,6 @@ using Game.Entities;
using Game.Network.Packets;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Game.Guilds
{