Ignore:
Timestamp:
Jul 18, 2016, 1:10:42 PM (8 years ago)
Author:
alloc
Message:

Updated core for Coppi's stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs

    r253 r287  
    1212                public string icon = "";
    1313                public string iconcolor = "";
     14                [OptionalField]
     15                public int maxUseTimes;
     16                [OptionalField]
     17                public int useTimes;
    1418
    15                 public InvItem (string itemName, int count, int quality = -1) {
     19                public InvItem (string itemName, int count, int quality, int maxUseTimes, int maxUse) {
    1620                        this.itemName = itemName;
    1721                        this.count = count;
    1822                        this.quality = quality;
     23                        this.maxUseTimes = maxUseTimes;
     24                        this.useTimes = maxUse;
    1925                }
    2026        }
Note: See TracChangeset for help on using the changeset viewer.