DIFF

Hive.c


/** @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();