forked from LosaDev/ls-2019-source
67 lines
1.3 KiB
C#
67 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ItemDictionary
|
|
{
|
|
public class ImageTreeNode : System.Windows.Forms.TreeNode
|
|
{
|
|
public String type;
|
|
public String pack_name;
|
|
public String name;
|
|
public String file;
|
|
public int x;
|
|
public int y;
|
|
public int width;
|
|
public int height;
|
|
public int offset_x;
|
|
public int offset_y;
|
|
|
|
public ImageTreeNode() { }
|
|
public ImageTreeNode(String _type, String _pack_name, String _name, String _file, int _x, int _y, int _width, int _height, int _offset_x, int _offset_y)
|
|
: base(_name)
|
|
{
|
|
pack_name = _pack_name;
|
|
Name = _name;
|
|
type = _type;
|
|
name = _name;
|
|
file = _file;
|
|
x = _x;
|
|
y = _y;
|
|
width = _width;
|
|
height = _height;
|
|
offset_x = _offset_x;
|
|
offset_y = _offset_y;
|
|
}
|
|
}
|
|
|
|
public struct ItemData
|
|
{
|
|
public String pack_name;
|
|
public String type;
|
|
public String name;
|
|
public String desc;
|
|
public int item_code;
|
|
}
|
|
|
|
public struct ItemCustomData
|
|
{
|
|
public String pack_name;
|
|
public String desc;
|
|
}
|
|
|
|
public struct PackData
|
|
{
|
|
public String file;
|
|
public String pack;
|
|
public int x;
|
|
public int y;
|
|
public int width;
|
|
public int height;
|
|
public int offset_x;
|
|
public int offset_y;
|
|
}
|
|
}
|