question: gets the server instance from the game instance.note : during various gamestate s , a server instancemay not be available . during these specific states , calling game #getserver will throw an exception . to doublecheck , call #isserveravailable concode_field_sep Game game concode_field_sep ChannelRegistrar getChannelRegistrar concode_elem_sep GameRegistry getRegistry concode_elem_sep boolean isServerAvailable concode_elem_sep GameDictionary getDictionary concode_elem_sep PluginManager getPluginManager concode_elem_sep ServiceManager getServiceManager concode_elem_sep AssetManager getAssetManager concode_elem_sep Game getGame concode_elem_sep EventManager getEventManager concode_elem_sep DataManager getDataManager concode_elem_sep CommandManager getCommandManager concode_elem_sep Scheduler getScheduler concode_elem_sep Platform getPlatform
target: Server function ( ) { return getGame ( ) . getServer ( ) ; }