Ignore:
Timestamp:
Jan 19, 2019, 6:12:21 PM (6 years ago)
Author:
alloc
Message:

Fixed game version compatibility of GamePrefs
Code style cleanup (mostly argument names)

File:
1 edited

Legend:

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

    r325 r351  
    1616                public int useTimes;
    1717
    18                 public InvItem (string itemName, int count, int quality, int maxUseTimes, int maxUse) {
    19                         this.itemName = itemName;
    20                         this.count = count;
    21                         this.quality = quality;
    22                         this.maxUseTimes = maxUseTimes;
    23                         this.useTimes = maxUse;
     18                public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, int _maxUse) {
     19                        itemName = _itemName;
     20                        count = _count;
     21                        quality = _quality;
     22                        maxUseTimes = _maxUseTimes;
     23                        useTimes = _maxUse;
    2424                }
    2525        }
Note: See TracChangeset for help on using the changeset viewer.