Loading...
Searching...
No Matches
AccelByte.Server.ServerMiscellaneous Class Reference
Inheritance diagram for AccelByte.Server.ServerMiscellaneous:

Public Member Functions

void GetCurrentTime (ResultCallback< Time > callback)
 Get server current time.
void GetLanguages (ResultCallback< Dictionary< string, string > > callback)
 Get all valid Languages for User Registration.
void GetTimeZones (ResultCallback< string[]> callback)
 Get all valid Time Zones for User Registration.
void ListCountryGroups (ResultCallback< CountryGroup[]> callback)
 List country groups. Will return all available country groups.
void ListCountryGroups (string groupCode, ResultCallback< CountryGroup[]> callback)
 List country groups. Will return all available country groups if the groupCode is not specified.
void AddCountryGroup (CountryGroup newCountryGroupData, ResultCallback< CountryGroup > callback=null)
 Add a country groups.
void UpdateCountryGroup (string groupCode, CountryGroup newCountryGroupData, ResultCallback< CountryGroup > callback=null)
 Update a country groups. The countryGroupCode must be exist beforehand. Valid update behaviour :
void DeleteCountryGroup (string groupCode=null, ResultCallback callback=null)
 Delete a country groups by its country group code.

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Member Function Documentation

◆ AddCountryGroup()

void AccelByte.Server.ServerMiscellaneous.AddCountryGroup ( CountryGroup newCountryGroupData,
ResultCallback< CountryGroup > callback = null )
inline

Add a country groups.

Implements AccelByte.Server.IServerMiscellaneousWrapper.

◆ DeleteCountryGroup()

void AccelByte.Server.ServerMiscellaneous.DeleteCountryGroup ( string groupCode = null,
ResultCallback callback = null )
inline

Delete a country groups by its country group code.

Parameters
groupCodegroupCode, only accept alphabet and whitespace

Implements AccelByte.Server.IServerMiscellaneousWrapper.

◆ GetCurrentTime()

void AccelByte.Server.ServerMiscellaneous.GetCurrentTime ( ResultCallback< Time > callback)
inline

Get server current time.

Parameters
callbackReturns a Result that contains Time via callback when completed.

Implements AccelByte.Core.ICommonMiscellaneousWrapper.

◆ GetLanguages()

void AccelByte.Server.ServerMiscellaneous.GetLanguages ( ResultCallback< Dictionary< string, string > > callback)
inline

Get all valid Languages for User Registration.

Parameters
callbackReturns a Result that contains a Dictionary of Language Codes to Native Language via callback when completed

Implements AccelByte.Core.ICommonMiscellaneousWrapper.

◆ GetTimeZones()

void AccelByte.Server.ServerMiscellaneous.GetTimeZones ( ResultCallback< string[]> callback)
inline

Get all valid Time Zones for User Registration.

Parameters
callbackReturns a Result that contains an array of TimeZone strings via callback when completed

Implements AccelByte.Core.ICommonMiscellaneousWrapper.

◆ ListCountryGroups() [1/2]

void AccelByte.Server.ServerMiscellaneous.ListCountryGroups ( ResultCallback< CountryGroup[]> callback)
inline

List country groups. Will return all available country groups.

Implements AccelByte.Server.IServerMiscellaneousWrapper.

◆ ListCountryGroups() [2/2]

void AccelByte.Server.ServerMiscellaneous.ListCountryGroups ( string groupCode,
ResultCallback< CountryGroup[]> callback )
inline

List country groups. Will return all available country groups if the groupCode is not specified.

Parameters
groupCodeOnly accept alphabet and whitespace

Implements AccelByte.Server.IServerMiscellaneousWrapper.

◆ UpdateCountryGroup()

void AccelByte.Server.ServerMiscellaneous.UpdateCountryGroup ( string groupCode,
CountryGroup newCountryGroupData,
ResultCallback< CountryGroup > callback = null )
inline

Update a country groups. The countryGroupCode must be exist beforehand. Valid update behaviour :

  • To update countryGroupName only, do not include Countries key or just specify it with empty array.
  • To update countries only, do not include CountryGroupName key or just specify it with blank value.
Parameters
groupCodegroupCode, only accept alphabet and whitespace

Implements AccelByte.Server.IServerMiscellaneousWrapper.