File size: 811 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

/** @file */

// -------------------------------------------------------------------------
class Hive
{
	private void Hive() {}
	private void ~Hive() {}
	
	proto native void InitOnline( string ceSetup, string host = "" );
	proto native void InitOffline();
	proto native void InitSandbox();

	proto native bool IsIdleMode();

	proto native void SetShardID( string shard );
	proto native void SetEnviroment( string env );

	proto native void CharacterSave( Man player );
	proto native void CharacterKill( Man player );
	proto native void CharacterExit( Man player );

	proto native void CallUpdater( string content );

	//! Only valid during login
	proto native bool CharacterIsLoginPositionChanged( Man player );
};

proto native Hive CreateHive();
proto native void DestroyHive();
proto native Hive GetHive();