realtime game flag

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

realtime game flag

Post by hersh » 19 May 2019, 19:59

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: 107
Joined: 01 September 2017, 17:25

Re: realtime game flag

Post by vincentt » 20 May 2019, 08:42

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: 2303
Joined: 16 June 2010, 19:52

Re: realtime game flag

Post by Een » 20 May 2019, 11:48

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”