protected void SpawnNexus(string name) { uint netId = BuildingProvider.BUILDING_NETID_X | CRC32.Compute(Encoding.ASCII.GetBytes(name)); Nexus nexus = new Nexus(netId, BuildingRecord.GetBuildingRecord(this.Game.Map.Id, name), Game.Map.Record.GetObject(name)); nexus.DefineGame(Game); Game.AddUnitToTeam(nexus, BuildingProvider.Instance.GetTeamId(name)); Game.Map.AddUnit(nexus); }