|
@@ -9,7 +9,7 @@ using System;
|
|
|
using System.Xml;
|
|
|
using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
-
|
|
|
+using Sfs2X.Entities.Data;
|
|
|
using Random = UnityEngine.Random;
|
|
|
|
|
|
public class ManaUI : Regist
|
|
@@ -2938,7 +2938,10 @@ public class ManaUI : Regist
|
|
|
{
|
|
|
ManaAudio.PlayClip(Clip.BtnClip);
|
|
|
|
|
|
- SFSManager.GardenSmartFox.SmartFox.Disconnect();
|
|
|
+ SFSObject arg = new SFSObject();
|
|
|
+ arg.PutInt(Label.CommandID, PlazaRoomReq.LeaveRoom.GetHashCode());
|
|
|
+ arg.PutInt(Label.RoomID, SFSManager.GardenSmartFox.PlazaRoomManager.CurrentPlazaRoom.Id);
|
|
|
+ SFSManager.GardenSmartFox.AddRequest(arg, RequestType.Immediate);
|
|
|
}
|
|
|
);
|
|
|
|