Rev | Line | |
---|
[144] | 1 | using AllocsFixes.PersistentData;
|
---|
[93] | 2 | using System;
|
---|
| 3 | using System.Collections.Generic;
|
---|
| 4 |
|
---|
[130] | 5 | namespace 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.