public byte[] GetStatStringData() { StatStringData ssd = gameMap.GetStatString(); ssd.hostname = Banshee.BOTNAME; return(StatStringData.ToBytes(ssd)); }
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); }