Example #1
0
 // [Persistent] ConfigNode techNode = new ConfigNode();
 public override void OnEncodeToConfigNode()
 {
     base.OnEncodeToConfigNode();
     techBuildList.Clear();
     foreach (KCT_TechItem tech in KCT_GameStates.TechList)
     {
         KCT_TechStorageItem tSI = new KCT_TechStorageItem();
         techBuildList.Add(tSI.FromTechItem(tech));
     }
 }
Example #2
0
 // [Persistent] ConfigNode techNode = new ConfigNode();
 public override void OnEncodeToConfigNode()
 {
     base.OnEncodeToConfigNode();
     techBuildList.Clear();
     foreach (KCT_TechItem tech in KCT_GameStates.TechList)
     {
         KCT_TechStorageItem tSI = new KCT_TechStorageItem();
         //this.techNode =
        // tech.protoNode.Save(techNode);
         techBuildList.Add(tSI.FromTechItem(tech));
     }
 }