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