Last change
on this file since 344 was 325, checked in by alloc, 6 years ago |
Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)
|
File size:
388 bytes
|
Rev | Line | |
---|
[325] | 1 | using System;
|
---|
[144] | 2 | using AllocsFixes.PersistentData;
|
---|
[93] | 3 |
|
---|
[325] | 4 | namespace AllocsFixes {
|
---|
| 5 | public class PlayerDataStuff {
|
---|
| 6 | public static void GM_SavePlayerData (ClientInfo _cInfo, PlayerDataFile _playerDataFile) {
|
---|
[130] | 7 | try {
|
---|
[325] | 8 | PersistentContainer.Instance.Players [_cInfo.playerId, true].Update (_playerDataFile);
|
---|
[130] | 9 | } catch (Exception e) {
|
---|
| 10 | Log.Out ("Error in GM_SavePlayerData: " + e);
|
---|
[103] | 11 | }
|
---|
[93] | 12 | }
|
---|
| 13 | }
|
---|
[325] | 14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.