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

Last change on this file since 430 was 354, checked in by alloc, 5 years ago

A18 preps

File size: 597 bytes
RevLine 
[253]1using System;
2using System.Runtime.Serialization;
3
[325]4namespace AllocsFixes.PersistentData {
[253]5 [Serializable]
6 public class InvItem {
7 public string itemName;
8 public int count;
9 public int quality;
10 public InvItem[] parts;
11 public string icon = "";
12 public string iconcolor = "";
[287]13 [OptionalField]
14 public int maxUseTimes;
15 [OptionalField]
[354]16 public float useTimes;
[253]17
[354]18 public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, float _maxUse) {
[351]19 itemName = _itemName;
20 count = _count;
21 quality = _quality;
22 maxUseTimes = _maxUseTimes;
23 useTimes = _maxUse;
[253]24 }
25 }
[325]26}
Note: See TracBrowser for help on using the repository browser.