CEngineSharp_Client.World.Content_Managers.MapManager.MapManager C# (CSharp) Method

MapManager() public method

public MapManager ( ) : System
return System
        public MapManager()
        {
            ServiceLocator.NetManager.AddPacketHandler(PacketType.MapCheckPacket, this.HandleMapCheck);
            ServiceLocator.NetManager.AddPacketHandler(PacketType.MapDataPacket, this.HandleMapData);
            ServiceLocator.NetManager.AddPacketHandler(PacketType.DespawnMapItemPacket, this.DespawnMapItem);
            ServiceLocator.NetManager.AddPacketHandler(PacketType.SpawnMapItemPacket, this.SpawnMapItem);
        }