Changeset 354 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Aug 16, 2019, 7:58:34 PM (5 years ago)
- Location:
- binary-improvements/7dtd-server-fixes
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/7dtd-server-fixes.csproj
r345 r354 10 10 <AssemblyName>7dtd-server-fixes</AssemblyName> 11 11 <RootNamespace>AllocsFixes</RootNamespace> 12 <TargetFrameworkVersion>v 3.5</TargetFrameworkVersion>12 <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> 13 13 </PropertyGroup> 14 14 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> … … 77 77 <ItemGroup> 78 78 <Compile Include="src\AssemblyInfo.cs" /> 79 <Compile Include="src\JSON\JsonManualBuilder.cs" /> 79 80 <Compile Include="src\LiveData\Animals.cs" /> 80 81 <Compile Include="src\LiveData\Hostiles.cs" /> -
binary-improvements/7dtd-server-fixes/src/API.cs
r345 r354 89 89 if (_cInfo != null) { 90 90 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)); 92 92 } else { 93 93 Log.Error ("ChatHookExample: Argument _cInfo null on message: {0}", _msg); -
binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs
r351 r354 14 14 public int maxUseTimes; 15 15 [OptionalField] 16 public int useTimes;16 public float useTimes; 17 17 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) { 19 19 itemName = _itemName; 20 20 count = _count;
Note:
See TracChangeset
for help on using the changeset viewer.