summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/ExportAttribute.cs
blob: af3f603d6d790a38ceac7082d5ae3759a391882f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

namespace Godot
{
	[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
	public class ExportAttribute : Attribute
	{
		private int hint;
		private string hint_string;
		private int usage;

		public ExportAttribute(int hint = GD.PROPERTY_HINT_NONE, string hint_string = "", int usage = GD.PROPERTY_USAGE_DEFAULT)
		{
			this.hint = hint;
			this.hint_string = hint_string;
			this.usage = usage;
		}
	}
}