Ejemplo n.º 1
0
        public byte[] GetStatStringData()
        {
            StatStringData ssd = gameMap.GetStatString();

            ssd.hostname = Banshee.BOTNAME;

            return(StatStringData.ToBytes(ssd));
        }
Ejemplo n.º 2
0
        public StatStringData GetStatString()
        {
            StatStringData s = new StatStringData();

            s.mapflags  = GetGameFlags();
            s.mapwidth  = (short)MapWidth;
            s.mapheight = (short)MapHeight;
            s.mappath   = MapPath;
            s.mapcrc    = MapCRC;
            s.mapsha    = MapSha;
            s.hostname  = "";
            return(s);
        }