source: binary-improvements/7dtd-server-fixes/src/ModAPI.cs@ 225

Last change on this file since 225 was 224, checked in by alloc, 10 years ago

A11 preps

File size: 632 bytes
Line 
1using System;
2
3namespace AllocsFixes
4{
5 public abstract class ModAPI {
6 public ModAPI () {
7 }
8
9 public abstract string ModName ();
10
11 public abstract string ModVersion ();
12
13 public virtual void GameAwake () {
14 }
15
16 public virtual void GameShutdown () {
17 }
18
19 public virtual void SavePlayerData (int _clientId, PlayerDataFile _playerDataFile) {
20 }
21
22 public virtual void RequestToSpawnPlayer (int _clientId, string _name, int _chunkViewDim, PlayerProfile _playerProfile) {
23 }
24
25 public virtual void PlayerDisconnected (ClientInfo _cInfo, bool _bShutdown) {
26 }
27
28 public virtual void CalcMapColors (Chunk _chunk) {
29 }
30 }
31}
32
Note: See TracBrowser for help on using the repository browser.