| Line | |
|---|
| 1 | using System;
|
|---|
| 2 |
|
|---|
| 3 | namespace AllocsFixes
|
|---|
| 4 | {
|
|---|
| 5 | public class API : ModApiAbstract {
|
|---|
| 6 |
|
|---|
| 7 | public override void GameAwake () {
|
|---|
| 8 | StateManager.Awake ();
|
|---|
| 9 | }
|
|---|
| 10 |
|
|---|
| 11 | public override void GameShutdown () {
|
|---|
| 12 | StateManager.Shutdown ();
|
|---|
| 13 | }
|
|---|
| 14 |
|
|---|
| 15 | public override void SavePlayerData (int _clientId, PlayerDataFile _playerDataFile) {
|
|---|
| 16 | }
|
|---|
| 17 |
|
|---|
| 18 | public override void PlayerLogin (int _clientId, string _name, string _playerId, string _token, string _compatibilityVersion) {
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 | public override void PlayerSpawning (int _clientId, string _name, int _chunkViewDim, PlayerProfile _playerProfile) {
|
|---|
| 22 | AllocsLogFunctions.RequestToSpawnPlayer (_clientId, _name, _chunkViewDim, _playerProfile);
|
|---|
| 23 | }
|
|---|
| 24 |
|
|---|
| 25 | public override void PlayerDisconnected (ClientInfo _cInfo, bool _bShutdown) {
|
|---|
| 26 | AllocsLogFunctions.PlayerDisconnected (_cInfo, _bShutdown);
|
|---|
| 27 | }
|
|---|
| 28 |
|
|---|
| 29 | }
|
|---|
| 30 | }
|
|---|
| 31 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.