Internal event parameters?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

noamgat
Posts: 10
Joined: 02 Dec 2009, 14:15

Internal event parameters?

Postby noamgat » 05 Dec 2009, 11:10

Hi

I would like to know if there is an organized documentation for which parameters arrive with which internal events.

For example, when a user joins a zone/room (does that depend on the scope I defined my extension in? Where in the docs does this question get answered in?) I get a "userJoin" message.

I don't know what parameters I have in that message, and would like to.

Again, this is one case, I would like to know if there is a place in the docs (or elsewhere) where I can answer these questions on my own.

Thanks!
User avatar
Lapo
Site Admin
Posts: 23025
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 06 Dec 2009, 11:15

Hello,
depending on which language you use on the server side (Java? Actionscript?) you will find the event parameters documented in the relative server side documentation.

Java:
http://www.smartfoxserver.com/docs/docP ... index.html

Actionscript:

http://www.smartfoxserver.com/docs/docP ... /index.htm
For example, when a user joins a zone/room (does that depend on the scope I defined my extension in? Where in the docs does this question get answered in?) I get a "userJoin" message.

The event is the same, regardless of the scope. Simply a Zone Level Extension will be notified of all Join events for each Room inside that Zone.
An Extension at Room Level will only listen for Join events relative to that Room.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
noamgat
Posts: 10
Joined: 02 Dec 2009, 14:15

Postby noamgat » 06 Dec 2009, 19:31

Ah, only now I noticed the "InternalEventObject" class in the docs. Thanks!

Return to “Server Side Extension Development”

Who is online

Users browsing this forum: No registered users and 29 guests