Pass Message to RoomExtension from ZoneExtension

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

KrinalDhaduk
Posts: 19
Joined: 12 Nov 2019, 06:50
Location: Surat,Gujarat

Pass Message to RoomExtension from ZoneExtension

Postby KrinalDhaduk » 20 Jan 2020, 05:57

Is there any way I can pass any message or trigger any event from zone extension to all the room-extensions in that zone?
User avatar
Lapo
Site Admin
Posts: 21276
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Pass Message to RoomExtension from ZoneExtension

Postby Lapo » 20 Jan 2020, 08:14

Hi,
KrinalDhaduk wrote:Is there any way I can pass any message or trigger any event from zone extension to all the room-extensions in that zone?

yes via the handleInternalMessage() method.
See the documentation:
http://docs2x.smartfoxserver.com/Extens ... a/overview
Extension interoperability section

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: DavinVicy, DerikFent and 14 guests