Last change
on this file since 296 was 287, checked in by alloc, 8 years ago |
Updated core for Coppi's stuff
|
File size:
610 bytes
|
Rev | Line | |
---|
[253] | 1 | using System;
|
---|
| 2 | using System.Runtime.Serialization;
|
---|
| 3 |
|
---|
| 4 | namespace 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.