source:
binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs@
250
Last change on this file since 250 was 250, checked in by , 10 years ago | |
---|---|
File size: 383 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Runtime.Serialization; |
3 | |
4 | namespace AllocsFixes.PersistentData |
5 | { |
6 | [Serializable] |
7 | public class InvItem |
8 | { |
9 | public string itemName; |
10 | public int count; |
11 | public int quality; |
12 | public InvItem[] parts; |
13 | |
14 | public InvItem (string itemName, int count, int quality = -1) |
15 | { |
16 | this.itemName = itemName; |
17 | this.count = count; |
18 | this.quality = quality; |
19 | } |
20 | } |
21 | } |
22 |
Note:
See TracBrowser
for help on using the repository browser.