How is getApi() method is called without any object.

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

Moderators: Lapo, Bax

aakash447
Posts: 14
Joined: 07 Jan 2020, 06:21

How is getApi() method is called without any object.

Postby aakash447 » 09 Jan 2020, 10:57

it's method signature is Protected ISFS getApi()
User avatar
Lapo
Site Admin
Posts: 21286
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How is getApi() method is called without any object.

Postby Lapo » 09 Jan 2020, 16:54

[ This post was moved from the SFS PRO section to the SFS2X section ]

You call the method from your Extension class which in turn must extend SFSExtension.
For more details read here:
http://docs2x.smartfoxserver.com/Extens ... uick-start

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

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Aet, DavinVicy, JerodSa and 4 guests