hive.c 811 B

12345678910111213141516171819202122232425262728293031
  1. /** @file */
  2. // -------------------------------------------------------------------------
  3. class Hive
  4. {
  5. private void Hive() {}
  6. private void ~Hive() {}
  7. proto native void InitOnline( string ceSetup, string host = "" );
  8. proto native void InitOffline();
  9. proto native void InitSandbox();
  10. proto native bool IsIdleMode();
  11. proto native void SetShardID( string shard );
  12. proto native void SetEnviroment( string env );
  13. proto native void CharacterSave( Man player );
  14. proto native void CharacterKill( Man player );
  15. proto native void CharacterExit( Man player );
  16. proto native void CallUpdater( string content );
  17. //! Only valid during login
  18. proto native bool CharacterIsLoginPositionChanged( Man player );
  19. };
  20. proto native Hive CreateHive();
  21. proto native void DestroyHive();
  22. proto native Hive GetHive();