forked from NCDyson/StudioCCS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TreeNodeTag.cs
45 lines (41 loc) · 949 Bytes
/
TreeNodeTag.cs
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
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* Created by SharpDevelop.
* User: NCDyson
* Date: 7/22/2017
* Time: 12:31 AM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using StudioCCS.libCCS;
namespace StudioCCS
{
/// <summary>
/// Description of TreeNodeTag.
/// </summary>
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;
}
}
}