protected RollingShopSerializer GetRollingShopSerializer() { RollingShopSerializer rss = new RollingShopSerializer(); rss.workBuildingSerializer = GetWorkBuildingSerializer(); rss.mode = mode; return(rss); }
override public void Load(StructureSerializer ss, SurfaceBlock sblock) { LoadStructureData(ss, sblock); RollingShopSerializer rss = new RollingShopSerializer(); GameMaster.DeserializeByteArray <RollingShopSerializer>(ss.specificData, ref rss); LoadWorkBuildingData(rss.workBuildingSerializer); mode = rss.mode; }