Document
Introduction
Summary
arcalet ?
Capabilities
Object Model
arcalet API
Synchronization
Event Processing
Callback
API Class
Objects Summary
Error Code
Reference
ArcaletGame
Constructor
Method
Property
Event
ArcaletScene
Constructor
Method
Property
Event
ArcaletItem
Method
Super User
ArcaletScore
Method
Super User
ArcaletShop
Method
ArcaletSystem
Method
ArcaletThreadPool
Method
ReferenceArcaletItem 》 Super User

Super User

Super User (Super User), also known as a privileged user, is a login account DP (Distributed Plug-in) used in the game. As the DP's role is also a game master, the privilege of access to other player’s information must be granted. In other words, privileged user function here is not to let those who are currently logged on to access their own data, but to specify a player in the game with additional parameters, then the privileged user can directly access the information.

The privileged function is only for a superuser's login account; the callback will return with "no permissions" error code. The functions and parameters of the superuser function are similar to the function of normal players, and begin with “su”. If the privileged function is operated for information on specific players, the function will have an additional parameter userid, to specify the player's account.

The following is a privileged function ArcaletItem, list only the function definition without a detailed description, please refer to illustrate the general user function.
public static void suGetItemInstance(ArcaletGame game, string userid,OnCallCompletionWithData cb, object token)
public static void suGetItemInstance(ArcaletGame game, string userid, string iguid,OnCallCompletionWithData cb, object token)
public static void suGetItemInstance(ArcaletGame game, string userid, string[] iguidArray,OnCallCompletionWithData cb, object token)
public static void suGetItemClass(ArcaletGame game, string userid, int option,OnCallCompletionWithData cb, object token)
public static void suGetItemClass(ArcaletGame game, string userid, string iguid,OnCallCompletionWithData cb, object token)
public static void suGetItemClass(ArcaletGame game, string userid, string[] iguidArray,OnCallCompletionWithData cb, object token)
public static void suNewItemInstance(ArcaletGame game, string userid, string iguid,OnCallCompletionWithData cb, object token)
public static void suSetItemInstanceAttribute(ArcaletGame game, string userid,string iguid,int id, string attrName, string attrValue,OnCallCompletion cb, object token)
public static void suSetItemInstanceAttribute(ArcaletGame game, string userid,string iguid,int id,string[] attrNameArray, string attrValue,OnCallCompletion cb, object token)
public static void suGetItemInstanceAttribute(ArcaletGame game, string userid,string iguid,int id,string attrName,OnCallCompletionWithData cb, object token)
public static void suGetItemInstanceAttribute(ArcaletGame game, string userid,string[] iguidArray,int id,string attrName,OnCallCompletionWithData cb, object token)
public static void suDeleteItemInstance(ArcaletGame game, string userid, string iguid,int id, OnCallCompletion cb, object token)
public static void suGetItemInstanceNumber(ArcaletGame game, string userid, string iguid, OnCallCompletionWithData cb, object token)
public static void suResetMallItemStatus(ArcaletGame game, string userid, string iguid, OnCallCompletion cb, object token)
public static void suChangeMallItemStatus(ArcaletGame game, string userid, string iguid, int status,OnCallCompletion cb, object token)
public static void suSetItemClassAttribute(ArcaletGame game, string iguid, string attrName, string attrValue, OnCallCompletion cb, object token)
game	        Game Login
iguid	        The item type
attrName	Name of attribute
attrValue	Value of attribute

Set the default value of the object type. The default property of the object type is set as property data in the developer's management backstage and is not for certain users.

Please note: this priviledge function does not correspond to the one of the general users.

void cb(int code, object token)

Code 0 means the reset is sucssessful.The reset fails when the code is not 0.
public static void suSetItemClassAttribute(ArcaletGame game, string iguid, string[] attrNameArray, string[] attrValueArray,OnCallCompletion cb, object token)
game	        Game Login
iguid	        The item type
attrName	The string of the attribute's name
attrValue	The string of the attribute's value, and the number of elements of attrName and attrValue must be the same.

Set the default attribute value of the object type. More than one attribute can be set. The default attribute value of the object type is the attribute data set by the developer in the managemnet backstage and is not for certain users.

Please note: this priviledge function does not correspond to the one of the general users.

void cb(int code, object token)

Code 0 means the reset is sucssessful.The reset fails when the code is not 0.
Was this page helpful?
Yes No