SmartFoxServer Unity/.NET API
NumEventsInEventQueue Method
NamespacesSmartFoxClientAPISmartFoxClientNumEventsInEventQueue()()()
Returns the number of events waiting to be processed while running in queue mode
Declaration Syntax
C#Visual BasicVisual C++
public int NumEventsInEventQueue()
Public Function NumEventsInEventQueue As Integer
public:
int NumEventsInEventQueue()
Return Value

[Missing <returns> documentation for "M:SmartFoxClientAPI.SmartFoxClient.NumEventsInEventQueue"]

Remarks

Queue is always empty and thus returning 0 as count when not running in queue mode

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to query the number of events.
CopyC#
Console.WriteLine("Waiting events in queue: " + smartFox.NumEventsInEventQueue();
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)