source: binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs@ 236

Last change on this file since 236 was 233, checked in by alloc, 10 years ago

Fixes for 11.4

File size: 428 bytes
RevLine 
[144]1using AllocsFixes.PersistentData;
[93]2using System;
3using System.Collections.Generic;
4
[130]5namespace AllocsFixes
[93]6{
[130]7 public class PlayerDataStuff
[93]8 {
9
[233]10 public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile)
[130]11 {
12 try {
[233]13 PersistentContainer.Instance.Players[_cInfo.playerId, true].Update (_playerDataFile);
[130]14 } catch (Exception e) {
15 Log.Out ("Error in GM_SavePlayerData: " + e);
[103]16 }
[93]17 }
18
[130]19
[93]20 }
21}
Note: See TracBrowser for help on using the repository browser.