Test1Manager.OnUDPInit C# (CSharp) Method

OnUDPInit() public method

public OnUDPInit ( BaseEvent, evt ) : void
evt BaseEvent,
return void
    void OnUDPInit(BaseEvent evt)
    {
        if ((bool)evt.Params["success"])
        {
            // Execute an extension call via UDP
            smartFox.Send(new ExtensionRequest("udpTest", new SFSObject(), null, true));
        }
        else
        {
            Console.WriteLine("UDP init failed!");
        }
    }