Code snippet for custom event

edited August 2010 in Photon Server
Hi..

Can some someone provide a code snippet for a function/method on the server side ... to do the following
client sends raises a custom event/or makes call to the server ...
int Double(int number)
{
return number*2;
}

Where do i put this code? and how do i access it fromthe client? and how do i know which client has invoked this method?

Thanks

Comments

Sign In or Register to comment.