Rev | Line | |
---|
[144] | 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;
|
---|
[250] | 11 | public int quality;
|
---|
| 12 | public InvItem[] parts;
|
---|
[144] | 13 |
|
---|
[250] | 14 | public InvItem (string itemName, int count, int quality = -1)
|
---|
[144] | 15 | {
|
---|
[145] | 16 | this.itemName = itemName;
|
---|
| 17 | this.count = count;
|
---|
[250] | 18 | this.quality = quality;
|
---|
[144] | 19 | }
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
| 22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.