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
ReferenceArcaletScene 》 Method

Method

void Launch()
Method to enter the scene. Please refer to the constructor for a detailed description.
void Match()
Pair up to enter the scene. Please refer to the constructor for a detailed description.
void FairMatch()
Method to enter the scene with server pair up. Please refer to the constructor for a detailed description.
void Send(string msg)
msg 	Message data

This method sends data to the preset scenes and all players in the scene will receive the message, including the sender. Game developers should pay attention when setting the content of messages.
void SetProperty(string key,string value,OnCallCompletion cb, object token)
key         The key attribute value													
value      Attribute value of type string

Set the scene attributes, using string values, for example: key = value.

void cb(int code, object token) 

code has a value of 0 if the setup succeeded. A code value other than 0 means the setup failed.
void SetProperty(string key, int value, OnCallCompletion cb, object token)
key 	       The key attribute value
value	Integer property value

This method sets the scene attributes. The attribute is an integer value, for example, as key = value. 
	
void cb(int code, object token)
	
code 0 means the setup succeeded. A code other than 0 means the setup failed.
void GetCreatorInfo(OnCallCompletionWithData cb, object token)
This method obtains the relevant information from the  dynamic scene builders. It returns a  List with cb. Each Hashtable contains three columns. Each of them builds a copy of the players in the scene. The three columns are:  'userid' which is the player's account, 'poid'  is the private scene id for the player, and 'certificate' is the player's fingerprint. 

void cb(int code, object obj, object token) 

code 0 means the setup succeeded. A code other than 0 means the setup failed.

Example: Getting the Builder's Information from a Dynamic Scene
C#
void Leave(OnCallCompletion cb, object token)
Leave the scene.

void cb(int code, object token) 									

code 0  means the setup succeeded. A code other than 0 means the setup failed.
void SendOnClose(string msg)
msg    Message data 

Store message data to the server. Send  this message to other players only when players are offline. The receiver  receives this message at the current scene (Hall).
Was this page helpful?
Yes No