Exemple #1
0
 //default constructor: set up item type, a name, size/offset of artwork, and no existing stash list entry
 public StashEntry(Type type, string name, int maxentries, StashSortData sortdata, int height, int x, int y) : this(type, name, maxentries, sortdata, height, x, y, null)
 {
 }
Exemple #2
0
 public StashEntry(Type type, string name, int maxentries, StashSortData sortdata) : this(type, name, maxentries, sortdata, 40, 0, 0)
 {
 }
Exemple #3
0
 //master constructor
 public StashEntry(Type type, string name, int maxentries, StashSortData sortdata, int height, int x, int y, List <StashListEntry> stashlistentries) : base(type, null, name, 0, height, x, y)
 {
     _MaxEntries       = maxentries;
     _StashListEntries = stashlistentries;
     _SortData         = sortdata;
 }
		//master constructor
		public StashEntry( Type type, string name, int maxentries, StashSortData sortdata, int height, int x, int y, List<StashListEntry> stashlistentries ) : base( type, null, name, 0, height, x, y )
		{
			_MaxEntries = maxentries;
			_StashListEntries = stashlistentries;
			_SortData = sortdata;
		}
		//default constructor: set up item type, a name, size/offset of artwork, and no existing stash list entry
		public StashEntry( Type type, string name, int maxentries, StashSortData sortdata, int height, int x, int y ) : this( type, name, maxentries, sortdata, height, x, y, null )
		{
		}
		public StashEntry( Type type, string name, int maxentries, StashSortData sortdata ) : this( type, name, maxentries, sortdata, 40, 0, 0 )
		{
		}