Core/Refactor: Part 3

This commit is contained in:
hondacrx
2018-05-16 19:57:48 -04:00
parent 225a5d27f7
commit 5dacd669b5
112 changed files with 564 additions and 561 deletions
@@ -139,8 +139,8 @@ namespace Game.Network.Packets
foreach (var klass in SuccessInfo.Value.AvailableClasses)
{
_worldPacket.WriteUInt8(klass.Key); /// the current class
_worldPacket.WriteUInt8(klass.Value); /// the required Expansion
_worldPacket.WriteUInt8(klass.Key); // the current class
_worldPacket.WriteUInt8(klass.Value); // the required Expansion
}
_worldPacket.WriteBit(SuccessInfo.Value.IsExpansionTrial);
@@ -63,7 +63,7 @@ namespace Game.Network.Packets
public bool Success;
public bool IsDeletedCharacters; // used for character undelete list
public bool IsDemonHunterCreationAllowed = false; ///< used for demon hunter early access
public bool IsDemonHunterCreationAllowed = false; //used for demon hunter early access
public bool HasDemonHunterOnRealm = false;
public bool Unknown7x = false;
public bool IsAlliedRacesCreationAllowed = false;
@@ -72,7 +72,7 @@ namespace Game.Network.Packets
public Optional<uint> DisabledClassesMask = new Optional<uint>();
public List<CharacterInfo> Characters = new List<CharacterInfo>(); // all characters on the list
public List<RaceUnlock> RaceUnlockData = new List<RaceUnlock>(); ///<
public List<RaceUnlock> RaceUnlockData = new List<RaceUnlock>(); //
public class CharacterInfo
{
+2 -2
View File
@@ -716,7 +716,7 @@ namespace Game.Network.Packets
}
public ObjectGuid NoteeGUID;
public bool IsPublic; ///< 0 == Officer, 1 == Public
public bool IsPublic; // 0 == Officer, 1 == Public
public string Note;
}
@@ -736,7 +736,7 @@ namespace Game.Network.Packets
}
public ObjectGuid Member;
public bool IsPublic; ///< 0 == Officer, 1 == Public
public bool IsPublic; // 0 == Officer, 1 == Public
public string Note;
}
@@ -98,8 +98,8 @@ namespace Game.Network.Packets
{
_worldPacket.WritePackedGuid(PlayerGUID);
_worldPacket.WriteUInt8(LifetimeMaxRank);
_worldPacket.WriteUInt16(YesterdayHK); /// @todo: confirm order
_worldPacket.WriteUInt16(TodayHK); /// @todo: confirm order
_worldPacket.WriteUInt16(YesterdayHK); // @todo: confirm order
_worldPacket.WriteUInt16(TodayHK); // @todo: confirm order
_worldPacket.WriteUInt32(LifetimeHK);
}
@@ -184,7 +184,7 @@ namespace Game.Network.Packets
Item = new ItemInstance(item);
Index = index;
Usable = true; /// @todo
Usable = true; // @todo
for (EnchantmentSlot enchant = 0; enchant < EnchantmentSlot.Max; ++enchant)
{
+2 -2
View File
@@ -305,8 +305,8 @@ namespace Game.Network.Packets
}
public InvUpdate Inv;
public byte Slot1; /// Source Slot
public byte Slot2; /// Destination Slot
public byte Slot1; // Source Slot
public byte Slot2; // Destination Slot
}
public class SwapItem : ClientPacket
@@ -41,7 +41,7 @@ namespace Game.Network.Packets
}
public int[] FactionStandings = new int[FactionCount];
public bool[] FactionHasBonus = new bool[FactionCount]; ///< @todo: implement faction bonus
public bool[] FactionHasBonus = new bool[FactionCount]; //@todo: implement faction bonus
public FactionFlags[] FactionFlags = new FactionFlags[FactionCount];
}