The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in Classic and VPC
You can easily check the concurrent connected users (CCU) who have logged in to the GAMEPOT SDK through the GAMEPOT dashboard.
Within the game SDK, the number of concurrent users is one of the important metrics for evaluating the performance and user experience of the game. To this end, we provide a socket server free of charge to automatically connect to the server when a client connects. We provide a system that collects and analyzes data on a one-minute basis.
Usage method
If the user logs in through the GAMEPOT SDK, automatic aggregation will start without a separate call.
Manual connection
If you are manually involved in user aggregation, you must set setAutoConnect (false). The default is true. This must be set before logging in for normal operation. We recommend that you execute it before initializing.
To connect to the server, call the following method.
-
Android
NBase.setAutoConnect(false) NBase.connect() -
iOS
NBase.setAutoConnect(false) NBase.connect() -
Unity
NBase.setAutoConnect(false) NBaseSDK.NBase.connect();
Disconnect
To disconnect the user aggregation server, call the following method.
-
Android
NBase.disconnect() -
iOS
NBase.disconnect() -
Unity
NBaseSDK.NBase.disconnect();