DeveloperGuide/GameServerBrowser

(DeveloperGuide/GameServerBrowser@groupWiki:goim) 460 Hits - Changes: 3 - Last Change: 2006-07-02 07:57:08 by Herbert Poul (Kahless) - [ History ] [ Latest changes ]

Extending GameServerBrowser

As with every extension in GOIM i recommend you download all projects and get it compiled first, and then start developing your extension (see /DeveloperGuide)

Create your own plugin project to start your extension .. and create an extension for the extension point: net.sphene.goim.serverbrowser.masterserverprotocol

Now create a new 'masterserverprotocol' with a unique id, a name of your choosing and a class which implements IMasterServerProvider.

IMasterServerProvider

IMasterServerProvider is a very simple interface with only two methods:

for your protocol. This method is expected to return an IWizardNode. The very simplest Implementation would just return a DefaultAddMasterServerWizardNode which just queries the user for a server IP and nothing more. See DefaultAddMasterServerWizardNode for a example on how to implement a IWizardNode the given master server and return all found GameServers. each single server to retrieve more information, just the IP and ports of the servers are actually enough, if you have more information you can set it, but it is not your responsibility to query each single server.

If you have any questions, just contact me: herbert.poul@gmail.com by email or jabber: kahless@sphene.net or see /Feedback for a link to the GOIM-dev mailing list.

You can also write questions into the board.. ;)

0 Comments
You need to be logged in to post a Comment !