Ignore:
Timestamp:
Aug 16, 2019, 7:58:34 PM (5 years ago)
Author:
alloc
Message:

A18 preps

Location:
binary-improvements/7dtd-server-fixes/src
Files:
1 added
2 edited

Legend:

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

    r345 r354  
    8989                        if (_cInfo != null) {
    9090                                Log.Out ("Sent chat hook reply to {0}", _cInfo.playerId);
    91                                 _cInfo.SendPackage (new NetPackageChat (EChatType.Whisper, -1, ANSWER, "", false, null));
     91                                _cInfo.SendPackage (NetPackageManager.GetPackage<NetPackageChat> ().Setup (EChatType.Whisper, -1, ANSWER, "", false, null));
    9292                        } else {
    9393                                Log.Error ("ChatHookExample: Argument _cInfo null on message: {0}", _msg);
  • binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs

    r351 r354  
    1414                public int maxUseTimes;
    1515                [OptionalField]
    16                 public int useTimes;
     16                public float useTimes;
    1717
    18                 public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, int _maxUse) {
     18                public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, float _maxUse) {
    1919                        itemName = _itemName;
    2020                        count = _count;
Note: See TracChangeset for help on using the changeset viewer.