SC4Parser icon indicating copy to clipboard operation
SC4Parser copied to clipboard

Additional network types

Open h3ndofry opened this issue 2 years ago • 1 comments

Hi, just noting this for a future release.

These are the following network types by their type ID:

       /// <summary>
        /// Different network types as strings
        /// </summary>
        public static Dictionary<byte, string> NETWORK_TYPE_STRINGS = new Dictionary<byte, string>
        {
            {0x00, "Road"},
            {0x01, "Rail"},
            {0x02, "Elevated Highway"},
            {0x03, "Street"},
            {0x04, "Pipe"},
            {0x05, "Power Line"},
            {0x06, "Avenue"},
            {0x07, "Subway"},
            {0x08, "Light Rail"},
            {0x09, "Monorail"},
            {0x0A, "One Way Road"},
            {0x0B, "Dirt Road"},
            {0x0C, "Ground Highway"}
        };

Note that Pipe and PowerLine networks are not actually used though they are supported.

h3ndofry avatar Jan 04 '23 15:01 h3ndofry

Much appreciated :+1: I'll update this structure in the next release.

Killeroo avatar Jan 04 '23 19:01 Killeroo