protected GatherSiteSerializer GetGatherSiteSerializer() { GatherSiteSerializer gss = new GatherSiteSerializer(); gss.destructionTimer = destructionTimer; return(gss); }
override protected void Load(WorksiteSerializer ws) { LoadWorksiteData(ws); Set(GameMaster.mainChunk.GetBlock(ws.workObjectPos) as SurfaceBlock); GatherSiteSerializer gss = new GatherSiteSerializer(); GameMaster.DeserializeByteArray(ws.specificData, ref gss); destructionTimer = gss.destructionTimer; }