LobbyAPI - Open discussion
#4
Perhaps the Lobby plugin should provide an empty arena object. This defines the basic items a plugin can have, for example a list of players that are inside the arena. Then a different plugin can expand upon that by overriding the functions. I did the same for my Catastrophes plugin. There is an object that defines the most basic things like the position, speed and world, and other catastrophes expand upon that. They can override functions that the basic object provided.

In this case plugin's should provide a file that the lobby plugin would load. If an arena needs specific data from the plugin it's created from it can simply use CallPlugin to call an API function there.
Reply
Thanks given by:


Messages In This Thread
LobbyAPI - Open discussion - by chrobione - 12-09-2015, 04:39 AM
RE: LobbyAPI - Open discussion - by xoft - 12-09-2015, 03:55 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 12:33 AM
RE: LobbyAPI - Open discussion - by xoft - 12-10-2015, 02:27 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 06:19 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 07:35 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 07:40 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-10-2015, 08:00 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 09:34 AM
RE: LobbyAPI - Open discussion - by chrobione - 12-10-2015, 03:17 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 12-10-2015, 06:06 PM
RE: LobbyAPI - Open discussion - by Seadragon91 - 12-10-2015, 06:15 PM
RE: LobbyAPI - Open discussion - by jan64 - 12-11-2015, 01:11 AM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 05:55 AM
RE: LobbyAPI - Open discussion - by chrobione - 12-11-2015, 06:00 AM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 06:01 AM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 08:33 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 12-11-2015, 08:51 PM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 09:02 PM
RE: LobbyAPI - Open discussion - by LO1ZB - 12-11-2015, 10:33 PM
RE: LobbyAPI - Open discussion - by xoft - 12-11-2015, 10:34 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-13-2016, 06:07 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-13-2016, 08:04 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-13-2016, 11:39 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-14-2016, 11:38 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-15-2016, 12:54 AM
RE: LobbyAPI - Open discussion - by xoft - 07-15-2016, 07:30 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-15-2016, 05:26 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-15-2016, 05:34 PM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-23-2016, 04:56 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-23-2016, 05:51 AM
RE: LobbyAPI - Open discussion - by sphinxc0re - 07-23-2016, 09:59 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-23-2016, 10:57 PM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-24-2016, 03:09 AM
RE: LobbyAPI - Open discussion - by xoft - 07-24-2016, 05:03 AM
RE: LobbyAPI - Open discussion - by NiLSPACE - 07-30-2016, 11:44 PM
RE: LobbyAPI - Open discussion - by yangm97 - 12-03-2016, 11:22 PM



Users browsing this thread: 2 Guest(s)