Gamebase SDK for Unity 2.69.0
Toast Gamebase Platform
Loading...
Searching...
No Matches

◆ SetGameUserData()

static void SetGameUserData ( GamebaseRequest::Analytics::GameUserData gameUserData)
static

User level information can be transferred to the indicator after game login.

Since
Added 2.0.0.
Parameters
gameUserDataLevel information of the user received from the game server after login.

Example Usage :

public void SetGameUserDataSample(int userLevel, string channelId, string characterId, string characterClassId)
{
var gameUserData = new GamebaseRequest.Analytics.GameUserData(userLevel);
gameUserData.channelId = channelId;
gameUserData.characterId = characterId;
gameUserData.characterClassId = characterClassId;
}
static void SetGameUserData(GamebaseRequest.Analytics.GameUserData gameUserData)
User level information can be transferred to the indicator after game login.
Definition Gamebase.cs:3145
The Analytics class can send the game indicator to the Gamebase Server.
Definition Gamebase.cs:3125
The Gamebase class is core of Gamebase service.
Definition Gamebase.cs:11