realtime game flag

Game development with Board Game Arena Studio
Post Reply
User avatar
hersh
Posts: 76
Joined: 12 December 2013, 23:49

realtime game flag

Post by hersh »

is it possible to determine if a game is real-time server side? i see documentation for client side, but not server side.
vincentt
Posts: 247
Joined: 01 September 2017, 17:25

Re: realtime game flag

Post by vincentt »

Hi,

I remembered having this discussion with Souris and he told me that no.
Maybe there was an update I was not aware of

Sorry!
User avatar
Een
Posts: 3854
Joined: 16 June 2010, 19:52

Re: realtime game flag

Post by Een »

Well, it is possible, but should be used only for _very_ special cases.

You can use:

Code: Select all

if (self::isAsync()) {
   // My code specific to turn-based games
}
Post Reply

Return to “Developers”