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

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

Updated core for Coppi's stuff

File size: 610 bytes
RevLine 
[253]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 = "";
[287]14 [OptionalField]
15 public int maxUseTimes;
16 [OptionalField]
17 public int useTimes;
[253]18
[287]19 public InvItem (string itemName, int count, int quality, int maxUseTimes, int maxUse) {
[253]20 this.itemName = itemName;
21 this.count = count;
22 this.quality = quality;
[287]23 this.maxUseTimes = maxUseTimes;
24 this.useTimes = maxUse;
[253]25 }
26 }
27}
28
Note: See TracBrowser for help on using the repository browser.