Changeset 232 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Apr 20, 2015, 7:21:24 PM (10 years ago)
- Location:
- binary-improvements/7dtd-server-fixes/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/API.cs
r230 r232 14 14 15 15 public override void SavePlayerData (int _clientId, PlayerDataFile _playerDataFile) { 16 PlayerDataStuff.GM_SavePlayerData (_clientId, _playerDataFile); 16 17 } 17 18 -
binary-improvements/7dtd-server-fixes/src/AssemblyInfo.cs
r230 r232 18 18 // and "{Major}.{Minor}.{Build}.*" will update just the revision. 19 19 20 [assembly: AssemblyVersion("0.11 3.*")]20 [assembly: AssemblyVersion("0.11.3.0")] 21 21 22 22 // The following attributes are used to specify the signing key for the assembly, -
binary-improvements/7dtd-server-fixes/src/PersistentData/Inventory.cs
r224 r232 33 33 int count = sourceFields [i].count; 34 34 int maxAllowed = ItemBase.list [sourceFields [i].itemValue.type].Stacknumber.Value; 35 string name = getInvFieldName (sourceFields [i]);35 string name = ItemBase.list [sourceFields [i].itemValue.type].GetItemName (); 36 36 37 37 if (count > maxAllowed) … … 45 45 } 46 46 47 private string getInvFieldName (InventoryField item)48 {49 ItemBase iBase = ItemBase.list [item.itemValue.type];50 return iBase.GetItemName ();51 }52 53 47 54 48 } -
binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs
r230 r232 8 8 { 9 9 10 public static void GM_SavePlayerData ( GameManager manager,int _clientId, PlayerDataFile _playerDataFile)10 public static void GM_SavePlayerData (int _clientId, PlayerDataFile _playerDataFile) 11 11 { 12 12 try { -
binary-improvements/7dtd-server-fixes/src/StateManager.cs
r230 r232 9 9 { 10 10 try { 11 Log.Out ("[7dtd-server-fixes by Alloc] Version: " + Assembly.GetExecutingAssembly ().GetName ().Version);12 13 11 ItemList.Instance.Init (); 14 12
Note:
See TracChangeset
for help on using the changeset viewer.