コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pSuccessCall"> Enter Over CallBack</param>
 /// <param name="pRoomID"></param>
 /// <param name="isAutoSyncCloud"></param>
 public void EnterRoom(CloudRoomEvent pSuccessCall, int pRoomID)
 {
     Session.SetKeyAndSecret(cloud_key, cloud_sto);
     EnterRoomSuccessEvent  = null;
     EnterRoomSuccessEvent += pSuccessCall;
     CloudRoomID            = pRoomID;
     isRoommer              = false;
     NotifyCloudRoomEnterSuccess();
 }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pSuccessCall"> Create Over CallBack</param>
 public void createRoom(CloudRoomEvent pSuccessCall)
 {
     Session.SetKeyAndSecret(cloud_key, cloud_sto);
     CreateRoomSuccessEvent  = null;
     CreateRoomSuccessEvent += pSuccessCall;
     CloudRoomID             = ARCloudClient.createRoom().Value;
     isRoommer = true;
     NotifyCloudRoomCreateSuccess();
 }