forked from NCDyson/StudioCCS
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTreeNodeTag.cs
More file actions
32 lines (27 loc) · 763 Bytes
/
Copy pathTreeNodeTag.cs
File metadata and controls
32 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
using StudioCCS.FileFormat;
namespace StudioCCS;
public class TreeNodeTag
{
public enum NodeType { File, Main, SubNode };
public CCSFile File = null;
public int ObjectID = 0;
public int ObjectType = 0;
public int SubID = 0;
public NodeType Type = NodeType.SubNode;
public TreeNodeTag(CCSFile _File, int _objectID, int _objectType)
{
File = _File;
ObjectID = _objectID;
ObjectType = _objectType;
Type = NodeType.Main;
SubID = 0;
}
public TreeNodeTag(CCSFile _file, int _objectID, int _objectType, NodeType _nodeType, int _subID)
{
File = _file;
ObjectID = _objectID;
ObjectType = _objectType;
Type = _nodeType;
SubID = _subID;
}
}