是否画面提供者

This commit is contained in:
sin365 2024-09-18 11:37:43 +08:00
parent 8d432ddcd4
commit 46fdfee412

View File

@ -16,6 +16,7 @@ namespace AxibugEmuOnline.Client.Manager
public Protobuf_Room_MiniInfo mineRoomMiniInfo { get; private set; } = null;
public bool InRoom => mineRoomMiniInfo != null;
public bool IsHost => mineRoomMiniInfo?.HostPlayerUID == App.user.userdata.UID;
public bool IsScreenProviderUID => mineRoomMiniInfo?.ScreenProviderUID == App.user.userdata.UID;
public RoomGameState RoomState => mineRoomMiniInfo.GameState;
public int MinePlayerIdx => GetMinePlayerIndex();
public int WaitStep { get; private set; } = -1;