public void AddCustomHousingTiles(CustomHouse house) { _hasCustomTiles = true; _customHouse = house; _customHouseTiles = house.GetStatics(_components.Width, _components.Height); redrawAllTiles(); }
public static void UpdateCustomHouseData(Serial serial, int hash, int planecount, CustomHousePlane[] planes) { CustomHouse house; if (_customHouses.ContainsKey(serial)) { house = _customHouses[serial]; } else { house = new CustomHouse(serial); _customHouses.Add(serial, house); } house.Update(hash, planecount, planes); }