Created Manager Initializer & Started on Packet Serializing/Deserializing

Manager Initializer initializes all managers found inheriting the IManager interface
Packet Manager
- Created LoadPacketInfo which gets PropertyInfo using reflection, and caches the returned information
- Started on Send<Packet>(Packet)
- Started on serializing packets to stream
- Started on packet deserializer
Created PacketIgnore attribute to ignore properties in a packet when serializing
This commit is contained in:
2021-12-06 15:18:29 +10:00
parent 2e9a712e71
commit 87a569ee9e
5 changed files with 118 additions and 5 deletions

View File

@ -41,6 +41,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Attributes\PacketIgnore.cs" />
<Compile Include="Client.cs" />
<Compile Include="Interfaces\IManager.cs" />
<Compile Include="Interfaces\IPacket.cs" />