This commit is contained in:
huyulong 2024-12-29 14:19:28 +08:00
commit 7cd0dcc46c
2 changed files with 7 additions and 11 deletions

View File

@ -141,6 +141,7 @@ public class ReadRoom : MonoBehaviour
RoleId = item1.RoleId;
if(item1.RoleId==8000)//主持人
{
Debug.LogError(item1.RoleId+"11111111111111111s");
isenter=true;
}
else if(item1.RoleId == 8001)//总指挥
@ -175,11 +176,6 @@ public class ReadRoom : MonoBehaviour
Debug.LogError(room.PlayerList.Count);
for (int i = 0; i < room.PlayerList.Count; i++)
{
Debug.LogError(GlobalData.ServerData.data.userId);
Debug.LogError(room.PlayerList[i].UserId);
Debug.LogError("------------");
Debug.LogError(formattedDate);
Debug.LogError(room.ReserveDate);
if ((GlobalData.ServerData.data.userId == room.PlayerList[i].UserId) && (formattedDate == room.ReserveDate))
{
//传人物职业ID

View File

@ -45,7 +45,7 @@ public class LoginPanel : Base
grantType = "password",
clientId = "e5cd7e4891bf95d1d19206ce24a7b32e",
userType = "company_user",
username = "13699802230",//"ZF16c788632",
username = "13051628292",//"ZF16c788632",13699802230,13051628292
password = "YYL5371!"
};
image.gameObject.SetActive (true);
@ -72,16 +72,16 @@ public class LoginPanel : Base
//ReadRoom.instance.adHead();
SceneManager.LoadScene("yhj");
}
else if(id.text == "13699802230" && pwd.text == "YYL5371!")
else //if(id.text == "13699802230" && pwd.text == "YYL5371!")
{
//SceneManager.LoadScene("yhj");
ReadRoom.instance.head();
}
else
{
SceneManager.LoadScene("Tmap 1");
}
//else
//{
// SceneManager.LoadScene("Tmap 1");
//}
////如果是玩家账号就跳转到加入房间界面
//if (loginBody.userType == "Player")