source: binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs@ 311

Last change on this file since 311 was 287, checked in by alloc, 8 years ago

Updated core for Coppi's stuff

File size: 610 bytes
Line 
1using System;
2using System.Runtime.Serialization;
3
4namespace AllocsFixes.PersistentData
5{
6 [Serializable]
7 public class InvItem {
8 public string itemName;
9 public int count;
10 public int quality;
11 public InvItem[] parts;
12 public string icon = "";
13 public string iconcolor = "";
14 [OptionalField]
15 public int maxUseTimes;
16 [OptionalField]
17 public int useTimes;
18
19 public InvItem (string itemName, int count, int quality, int maxUseTimes, int maxUse) {
20 this.itemName = itemName;
21 this.count = count;
22 this.quality = quality;
23 this.maxUseTimes = maxUseTimes;
24 this.useTimes = maxUse;
25 }
26 }
27}
28
Note: See TracBrowser for help on using the repository browser.