Page 1 of 1
Where can I find a list of BGA Frameworks static methods
Posted: 27 September 2021, 22:18
by MutantPigeon24
Hi all
I noticed there are a lot of really helpful methods that get pulled in when you are running your game in the BGA environment.
Examples:
- clienttranslate
- notifyAllPlayers
- DbQuery
- getCollectionFromDb
- giveExtraTime
- getActivePlayerName
- activeNextPlayer
I'm sure there are many more that I'm unaware of
Is there a wiki page listing them? Or better yet, an interface we can implement on the dev side to get some intellisence with docs and argument/param explanations?
Re: Where can I find a list of BGA Frameworks static methods
Posted: 27 September 2021, 22:53
by robinzig
The closest thing I know of is
this. But it's not ideal, in that:
- there's no proper documentation of each method (although some have links to other documentation pages with more detail, others have more or less nothing)
- it doesn't say whether they're static or not
- it doesn't include things like clienttranslate which appear to be global functions rather than methods (static or otherwise) of a class
Re: Where can I find a list of BGA Frameworks static methods
Posted: 28 September 2021, 10:03
by MutantPigeon24
robinzig wrote: ↑27 September 2021, 22:53
The closest thing I know of is
this. But it's not ideal, in that:
- there's no proper documentation of each method (although some have links to other documentation pages with more detail, others have more or less nothing)
- it doesn't say whether they're static or not
- it doesn't include things like clienttranslate which appear to be global functions rather than methods (static or otherwise) of a class
Hi robinzig

Any extra info helps...
Its not perfect, but it's infinitely better than what I had before
Thank you
Re: Where can I find a list of BGA Frameworks static methods
Posted: 28 September 2021, 11:32
by Tisaac
Bunch of stubs here :
https://github.com/elaskavaia/bga-share ... e.game.php
Can't find the other git repo with even more stubs.
Re: Where can I find a list of BGA Frameworks static methods
Posted: 28 September 2021, 16:09
by MutantPigeon24
Awesome stuff Tisaac
I can hopefully pop this in as an abstract class or interface and have the actual Table class handle the implementation.
Thank you so much