Example #1
0
    public SaveNode AddNode(string NodeKey)
    {
        SaveNode NewNode = SaveNode.Create(NodeKey);

        _Nodes.Add(NewNode);
        return(NewNode);
    }
Example #2
0
    public SaveNode AddNode(string NodeKey, List <SaveValueFloat> Floats, List <SaveValueInt> Ints, List <SaveValueString> Strings, List <SaveNode> Nodes)
    {
        SaveNode NewNode = SaveNode.Create(NodeKey);

        NewNode._Floats  = Floats;
        NewNode._Ints    = Ints;
        NewNode._Strings = Strings;
        NewNode._Nodes   = Nodes;

        this._Nodes.Add(NewNode);
        return(NewNode);
    }
 public static SaveNode CreateNode(string NewKey)
 {
     return(SaveNode.Create(NewKey));
 }