Ejemplo n.º 1
0
        public static string[] ReadStringArray(this Lidgren.Network.NetIncomingMessage im)
        {
            var strs = new string[(int)im.ReadVariableUInt32()];

            for (int i = 0; i < strs.Length; i++)
            {
                strs[i] = im.ReadString();
            }
            return(strs);
        }