Esempio n. 1
0
    protected GatherSiteSerializer GetGatherSiteSerializer()
    {
        GatherSiteSerializer gss = new GatherSiteSerializer();

        gss.destructionTimer = destructionTimer;
        return(gss);
    }
Esempio n. 2
0
    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;
    }