diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs index a16f100..7517420 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Event/EEvent.cs @@ -67,6 +67,6 @@ /// /// 当房间中手柄位信息发生任何变化时触发,进入房间后也应该触发 /// - OnRoomSlotDataChanged, //todo : 实现这个事件 + OnRoomSlotDataChanged, } } diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppLogin.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppLogin.cs index f2aa251..2c5689f 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppLogin.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppLogin.cs @@ -72,18 +72,5 @@ namespace AxibugEmuOnline.Client.Manager #endif } - - #region 测试 - void TestCreate() - { - App.roomMgr.SendCreateRoom(1, 0, string.Empty); - } - long TestFrameID = 0; - void TestEmuUpdate() - { - - } - #endregion - } } diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs index 3085daa..c8033d7 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Manager/AppRoom.cs @@ -18,7 +18,6 @@ namespace AxibugEmuOnline.Client.Manager 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; public byte[] RawData { get; private set; } = null; public NetReplay netReplay { get; private set; } @@ -110,64 +109,31 @@ namespace AxibugEmuOnline.Client.Manager #endregion #region 房间管理 - int GetMinePlayerIndex() + List GetMinePlayerSlotInfo() { if (mineRoomMiniInfo == null) - return -1; - - if (mineRoomMiniInfo.Player1UID == App.user.userdata.UID) - return 0; - if (mineRoomMiniInfo.Player2UID == App.user.userdata.UID) - return 1; - if (mineRoomMiniInfo.Player3UID == App.user.userdata.UID) - return 2; - if (mineRoomMiniInfo.Player4UID == App.user.userdata.UID) - return 3; - return -1; + return null; + return mineRoomMiniInfo.GamePlaySlotList.Where(w => w.PlayerUID == App.user.userdata.UID).ToList(); } long[] GetRoom4PlayerUIDs() { if (mineRoomMiniInfo == null) return null; - long[] result = new long[4]; - if (mineRoomMiniInfo.Player1UID > 0) - result[0] = mineRoomMiniInfo.Player1UID; - if (mineRoomMiniInfo.Player2UID > 0) - result[1] = mineRoomMiniInfo.Player2UID; - if (mineRoomMiniInfo.Player3UID > 0) - result[2] = mineRoomMiniInfo.Player3UID; - if (mineRoomMiniInfo.Player4UID > 0) - result[3] = mineRoomMiniInfo.Player4UID; + long[] result = new long[mineRoomMiniInfo.GamePlaySlotList.Count]; + for (int i = 0; i < mineRoomMiniInfo.GamePlaySlotList.Count; i++) + { + if (mineRoomMiniInfo.GamePlaySlotList[i].PlayerUID > 0) + result[i] = mineRoomMiniInfo.GamePlaySlotList[i].PlayerUID; + } return result; } - S_PlayerMiniInfo[] GetRoom4PlayerMiniInfos() + Protobuf_Room_GamePlaySlot[] GetRoom4GameSlotMiniInfos() { if (mineRoomMiniInfo == null) return null; - S_PlayerMiniInfo[] result = new S_PlayerMiniInfo[4]; - if (mineRoomMiniInfo.Player1UID > 0) - { - result[0].UID = mineRoomMiniInfo.Player1UID; - result[0].NickName = mineRoomMiniInfo.Player1NickName; - } - if (mineRoomMiniInfo.Player2UID > 0) - { - result[1].UID = mineRoomMiniInfo.Player2UID; - result[1].NickName = mineRoomMiniInfo.Player2NickName; - } - if (mineRoomMiniInfo.Player3UID > 0) - { - result[2].UID = mineRoomMiniInfo.Player3UID; - result[2].NickName = mineRoomMiniInfo.Player3NickName; - } - if (mineRoomMiniInfo.Player4UID > 0) - { - result[3].UID = mineRoomMiniInfo.Player4UID; - result[3].NickName = mineRoomMiniInfo.Player4NickName; - } - return result; + return mineRoomMiniInfo.GamePlaySlotList.ToArray(); } #endregion @@ -251,9 +217,8 @@ namespace AxibugEmuOnline.Client.Manager /// /// /// - public void SendCreateRoom(int GameRomID, int JoinPlayerIdx, string GameRomHash = null) + public void SendCreateRoom(int GameRomID, string GameRomHash = null) { - _Protobuf_Room_Create.JoinPlayerIdx = JoinPlayerIdx; _Protobuf_Room_Create.GameRomID = GameRomID; _Protobuf_Room_Create.GameRomHash = GameRomHash; App.log.Info($"创建房间"); @@ -278,13 +243,12 @@ namespace AxibugEmuOnline.Client.Manager /// /// 创建房间 /// - /// - /// - /// - public void SendJoinRoom(int RoomID, int JoinPlayerIdx) + /// + /// 加入时所在SlotIdx + /// 加入时候本地对应JoyIdx + public void SendJoinRoom(int RoomID) { _Protobuf_Room_Join.RoomID = RoomID; - _Protobuf_Room_Join.PlayerNum = JoinPlayerIdx; App.log.Info($"加入房间"); App.network.SendToServer((int)CommandID.CmdRoomJoin, ProtoBufHelper.Serizlize(_Protobuf_Room_Join)); } @@ -336,35 +300,105 @@ namespace AxibugEmuOnline.Client.Manager { Protobuf_Room_MyRoom_State_Change msg = ProtoBufHelper.DeSerizlize(reqData); long[] oldRoomPlayer = GetRoom4PlayerUIDs(); + Protobuf_Room_GamePlaySlot[] oldslotArr = GetRoom4GameSlotMiniInfos(); mineRoomMiniInfo = msg.RoomMiniInfo; long[] newRoomPlayer = GetRoom4PlayerUIDs(); + Protobuf_Room_GamePlaySlot[] newslotArr = GetRoom4GameSlotMiniInfos(); + + oldRoomPlayer = oldRoomPlayer.Where(w => w > 0).Distinct().ToArray(); + newRoomPlayer = newRoomPlayer.Where(w => w > 0).Distinct().ToArray(); + //离开用户 + foreach (var leavn in oldRoomPlayer.Where(w => !newRoomPlayer.Contains(w))) + { + UserDataBase oldplayer = App.user.GetUserByUid(leavn); + string oldPlayName = oldplayer != null ? oldplayer.NickName : "Player"; + OverlayManager.PopTip($"[{oldPlayName}]离开房间"); + Eventer.Instance.PostEvent(EEvent.OnOtherPlayerLeavnRoom, leavn); + } + //新加入用户 + foreach (var newJoin in newRoomPlayer.Where(w => !oldRoomPlayer.Contains(w))) + { + UserDataBase newplayer = App.user.GetUserByUid(newJoin); + string newplayerName = newplayer != null ? newplayer.NickName : "Player"; + OverlayManager.PopTip($"[{newplayer}]进入房间"); + Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, newJoin); + } + + bool bChangeSlot = false; for (int i = 0; i < 4; i++) { - long OldPlayer = oldRoomPlayer[i]; - long NewPlayer = newRoomPlayer[i]; - if (OldPlayer == NewPlayer) + var oldSlot = oldslotArr[i]; + var newSlot = newslotArr[i]; + if (oldSlot.PlayerUID <= 0 && newSlot.PlayerUID <= 0) continue; - //位置之前有人,但是离开了 - if (OldPlayer > 0) + if ( + oldSlot.PlayerUID != newSlot.PlayerUID + || + oldSlot.PlayerLocalJoyIdx != newSlot.PlayerLocalJoyIdx + ) { - Eventer.Instance.PostEvent(EEvent.OnOtherPlayerLeavnRoom, i, OldPlayer); - UserDataBase oldplayer = App.user.GetUserByUid(OldPlayer); - string oldPlayName = oldplayer != null ? oldplayer.NickName : "Player"; - OverlayManager.PopTip($"[{oldPlayName}]离开房间,手柄位:P{i}"); - if (NewPlayer > 0)//而且害换了一个玩家 + bChangeSlot = true; + if (newSlot.PlayerUID > 0) { - Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); - mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); - OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); + OverlayManager.PopTip($"[{newSlot.PlayerNickName}]使用:P{i}"); } } - else //之前没人 - { - Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); - mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); - OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); - } } + + if (bChangeSlot) + { + Eventer.Instance.PostEvent(EEvent.OnRoomSlotDataChanged); + } + + //for (int i = 0; i < 4; i++) + //{ + // long OldPlayer = oldRoomPlayer[i]; + // long NewPlayer = newRoomPlayer[i]; + // if (OldPlayer == NewPlayer) + // continue; + + // //位置之前有人,但是离开了 + // if (OldPlayer > 0) + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerLeavnRoom, i, OldPlayer); + // UserDataBase oldplayer = App.user.GetUserByUid(OldPlayer); + // string oldPlayName = oldplayer != null ? oldplayer.NickName : "Player"; + // OverlayManager.PopTip($"[{oldPlayName}]离开房间,手柄位:P{i}"); + // if (NewPlayer > 0)//而且害换了一个玩家 + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); + // mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); + // OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); + // } + // } + // else //之前没人 + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); + // mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); + // OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); + // } + + // //位置之前有人,但是离开了 + // if (OldPlayer > 0) + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerLeavnRoom, i, OldPlayer); + // UserDataBase oldplayer = App.user.GetUserByUid(OldPlayer); + // string oldPlayName = oldplayer != null ? oldplayer.NickName : "Player"; + // OverlayManager.PopTip($"[{oldPlayName}]离开房间,手柄位:P{i}"); + // if (NewPlayer > 0)//而且害换了一个玩家 + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); + // mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); + // OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); + // } + // } + // else //之前没人 + // { + // Eventer.Instance.PostEvent(EEvent.OnOtherPlayerJoinRoom, i, NewPlayer); + // mineRoomMiniInfo.GetPlayerNameByPlayerIdx((uint)i, out string PlayerName); + // OverlayManager.PopTip($"[{PlayerName}]进入房间,手柄位:P{i}"); + // } + //} } /// @@ -461,14 +495,11 @@ namespace AxibugEmuOnline.Client.Manager if (mineRoomMiniInfo == null) { - if (mineRoomMiniInfo.Player1UID == uid) - mineRoomMiniInfo.Player1NickName = userdata.NickName; - else if (mineRoomMiniInfo.Player2UID == uid) - mineRoomMiniInfo.Player2NickName = userdata.NickName; - else if (mineRoomMiniInfo.Player3UID == uid) - mineRoomMiniInfo.Player3NickName = userdata.NickName; - else if (mineRoomMiniInfo.Player4UID == uid) - mineRoomMiniInfo.Player4NickName = userdata.NickName; + foreach (var gameslot in mineRoomMiniInfo.GamePlaySlotList) + { + if (gameslot.PlayerUID == uid) + gameslot.PlayerNickName = userdata.NickName; + } } } } @@ -484,34 +515,38 @@ namespace AxibugEmuOnline.Client.Manager public static bool GetFreeSlot(this Protobuf_Room_MiniInfo roomMiniInfo, out int[] freeSlots) { List temp = new List(); - if (roomMiniInfo.Player1UID <= 0) temp.Add(0); - if (roomMiniInfo.Player2UID <= 0) temp.Add(1); - if (roomMiniInfo.Player3UID <= 0) temp.Add(2); - if (roomMiniInfo.Player4UID <= 0) temp.Add(3); + for (int i = 0; i < roomMiniInfo.GamePlaySlotList.Count; i++) + { + if (roomMiniInfo.GamePlaySlotList[i].PlayerUID <= 0) + temp.Add(i); + } freeSlots = temp.ToArray(); return freeSlots.Length > 0; } - + /// /// 指定uid和该uid的本地手柄序号,获取占用的手柄位 /// - public static bool GetPlayerSlotIdxByUid(this Protobuf_Room_MiniInfo roomMiniInfo, long uid ,int controllerIndex, out uint? slotID) + public static bool GetPlayerSlotIdxByUid(this Protobuf_Room_MiniInfo roomMiniInfo, long uid, int joyIdx, out uint? slotIdx) { - slotID = null; - - //controllerIndex取值返回[0,3],这个序号代表玩家本地的手柄编号 + slotIdx = null; + //joyIdx取值返回[0,3],这个序号代表玩家本地的手柄编号 //todo : 根据uid和controllerIndex 返回占用的位置 - + //目前未实现,所有非0号位置的手柄,都返回false - if (controllerIndex != 0) return false; - - if (roomMiniInfo.Player1UID == uid) slotID = 0; - if (roomMiniInfo.Player2UID == uid) slotID = 1; - if (roomMiniInfo.Player3UID == uid) slotID = 2; - if (roomMiniInfo.Player4UID == uid) slotID = 3; - return true; + + + for (int i = 0; i < roomMiniInfo.GamePlaySlotList.Count; i++) + { + if (roomMiniInfo.GamePlaySlotList[i].PlayerUID == uid) + { + slotIdx = (uint)i; + return true; + } + } + return false; } - + /// /// 按照房间玩家下标获取昵称 /// @@ -519,16 +554,11 @@ namespace AxibugEmuOnline.Client.Manager /// /// /// - public static bool GetPlayerNameByPlayerIdx(this Protobuf_Room_MiniInfo roomMiniInfo,uint PlayerIndex, out string PlayerName) + public static bool GetPlayerNameByPlayerIdx(this Protobuf_Room_MiniInfo roomMiniInfo, uint GameSlotIdx, out string PlayerName) { PlayerName = string.Empty; - switch (PlayerIndex) - { - case 0: PlayerName = roomMiniInfo.Player1UID > 0 ? roomMiniInfo.Player1NickName : null; break; - case 1: PlayerName = roomMiniInfo.Player2UID > 0 ? roomMiniInfo.Player2NickName : null; break; - case 2: PlayerName = roomMiniInfo.Player3UID > 0 ? roomMiniInfo.Player3NickName : null; break; - case 3: PlayerName = roomMiniInfo.Player4UID > 0 ? roomMiniInfo.Player4NickName : null; break; - } + if (roomMiniInfo.GamePlaySlotList[(int)GameSlotIdx].PlayerUID > 0) + PlayerName = roomMiniInfo.GamePlaySlotList[(int)GameSlotIdx].PlayerNickName; return string.IsNullOrEmpty(PlayerName); } } diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs index 4c38e86..235bab1 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Network/NetMsg.cs @@ -1,4 +1,5 @@ using AxibugEmuOnline.Client.ClientCore; +using AxibugProtobuf; using System; using System.Collections.Generic; @@ -83,6 +84,12 @@ namespace AxibugEmuOnline.Client.Network public void PostNetMsgEvent(int cmd, int ERRCODE, byte[] arg) { + ErrorCode err = ((ErrorCode)ERRCODE); + if (err != ErrorCode.ErrorOk) + { + OverlayManager.PopTip("错误:"+err.ToString()); + } + List eventList = GetNetEventDicList(cmd); if (eventList != null) { diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs index 20101a4..b64bcb2 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Protobuf/ProtobufAxibugEmuOnline.cs @@ -51,76 +51,83 @@ namespace AxibugProtobuf { "A1VJRBgBIAEoAxIuCghVc2VySW5mbxgCIAEoCzIcLkF4aWJ1Z1Byb3RvYnVm", "LlVzZXJNaW5pSW5mbyIUChJQcm90b2J1Zl9Sb29tX0xpc3QiWwoXUHJvdG9i", "dWZfUm9vbV9MaXN0X1JFU1ASQAoQUm9vbU1pbmlJbmZvTGlzdBgBIAMoCzIm", - "LkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8ihgMKFlBy", + "LkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8ikAIKFlBy", "b3RvYnVmX1Jvb21fTWluaUluZm8SDgoGUm9vbUlEGAEgASgFEhEKCUdhbWVS", "b21JRBgCIAEoBRITCgtHYW1lUm9tSGFzaBgDIAEoCRIVCg1Ib3N0UGxheWVy", "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riptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.PlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] { @@ -142,22 +149,26 @@ namespace AxibugProtobuf { new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP), global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP.Parser, new[]{ "UID", "UserInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List), global::AxibugProtobuf.Protobuf_Room_List.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List_RESP), global::AxibugProtobuf.Protobuf_Room_List_RESP.Parser, new[]{ "RoomMiniInfoList" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MiniInfo), global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser, new[]{ "RoomID", "GameRomID", "GameRomHash", "HostPlayerUID", "GameState", "ObsUserCount", "Player1UID", "Player1NickName", "Player2UID", "Player2NickName", "Player3UID", "Player3NickName", "Player4UID", "Player4NickName", "ScreenProviderUID" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MiniInfo), global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser, new[]{ "RoomID", "GameRomID", "GameRomHash", "HostPlayerUID", "GameState", "ObsUserCount", "ScreenProviderUID", "GamePlaySlotList" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_GamePlaySlot), global::AxibugProtobuf.Protobuf_Room_GamePlaySlot.Parser, new[]{ "PlayerUID", "PlayerNickName", "PlayerLocalJoyIdx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Update_RESP), global::AxibugProtobuf.Protobuf_Room_Update_RESP.Parser, new[]{ "UpdateType", "RoomMiniInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Screnn_Frame), global::AxibugProtobuf.Protobuf_Screnn_Frame.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData), global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData", "ServerFrameID", "ServerForwardCount" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash", "JoinPlayerIdx" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create_RESP), global::AxibugProtobuf.Protobuf_Room_Create_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID", "PlayerNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join_RESP), global::AxibugProtobuf.Protobuf_Room_Join_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave), global::AxibugProtobuf.Protobuf_Room_Leave.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave_RESP), global::AxibugProtobuf.Protobuf_Room_Leave_RESP.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change), global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy), global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy.Parser, new[]{ "SlotWithJoy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx), global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx.Parser, new[]{ "PlayerSlotIdx", "PlayerLocalJoyIdx" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy_RESP), global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy_RESP.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP), global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP.Parser, new[]{ "WaitStep", "LoadStateRaw" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw.Parser, new[]{ "LoadStateRaw" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Player_Ready), global::AxibugProtobuf.Protobuf_Room_Player_Ready.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Player_Ready), global::AxibugProtobuf.Protobuf_Room_Player_Ready.Parser, new[]{ "PushFrameNeedTimeUs", "LoadStateNeedTimeUs", "VideoFrameShowNeedTimeUs", "AudioFramePlayNeedTimeUs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "State", "PlatformType" }, null, null, null, null), @@ -246,6 +257,10 @@ namespace AxibugProtobuf { /// [pbr::OriginalName("CMD_Room_MyRoom_State_Changed")] CmdRoomMyRoomStateChanged = 5110, /// + ///更换操作槽位 对应 Protobuf_Room_Change_PlaySlotWithJoy | Protobuf_Room_Change_PlaySlotWithJoy_RESP + /// + [pbr::OriginalName("CMD_Room_ChangePlayerWithJoy")] CmdRoomChangePlayerWithJoy = 5130, + /// ///准备和开始流程(5201 ~ 5204 ~ 5208) /// /// 我们采用,玩家可以随时进入的方式开发 @@ -4088,15 +4103,8 @@ namespace AxibugProtobuf { hostPlayerUID_ = other.hostPlayerUID_; gameState_ = other.gameState_; obsUserCount_ = other.obsUserCount_; - player1UID_ = other.player1UID_; - player1NickName_ = other.player1NickName_; - player2UID_ = other.player2UID_; - player2NickName_ = other.player2NickName_; - player3UID_ = other.player3UID_; - player3NickName_ = other.player3NickName_; - player4UID_ = other.player4UID_; - player4NickName_ = other.player4NickName_; screenProviderUID_ = other.screenProviderUID_; + gamePlaySlotList_ = other.gamePlaySlotList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4186,120 +4194,8 @@ namespace AxibugProtobuf { } } - /// Field number for the "Player1_UID" field. - public const int Player1UIDFieldNumber = 7; - private long player1UID_; - /// - ///玩家1 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player1UID { - get { return player1UID_; } - set { - player1UID_ = value; - } - } - - /// Field number for the "Player1_NickName" field. - public const int Player1NickNameFieldNumber = 8; - private string player1NickName_ = ""; - /// - ///玩家1 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player1NickName { - get { return player1NickName_; } - set { - player1NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player2_UID" field. - public const int Player2UIDFieldNumber = 9; - private long player2UID_; - /// - ///玩家2 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player2UID { - get { return player2UID_; } - set { - player2UID_ = value; - } - } - - /// Field number for the "Player2_NickName" field. - public const int Player2NickNameFieldNumber = 10; - private string player2NickName_ = ""; - /// - ///玩家2 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player2NickName { - get { return player2NickName_; } - set { - player2NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player3_UID" field. - public const int Player3UIDFieldNumber = 11; - private long player3UID_; - /// - ///玩家3 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player3UID { - get { return player3UID_; } - set { - player3UID_ = value; - } - } - - /// Field number for the "Player3_NickName" field. - public const int Player3NickNameFieldNumber = 12; - private string player3NickName_ = ""; - /// - ///玩家3 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player3NickName { - get { return player3NickName_; } - set { - player3NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player4_UID" field. - public const int Player4UIDFieldNumber = 13; - private long player4UID_; - /// - ///玩家4 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player4UID { - get { return player4UID_; } - set { - player4UID_ = value; - } - } - - /// Field number for the "Player4_NickName" field. - public const int Player4NickNameFieldNumber = 14; - private string player4NickName_ = ""; - /// - ///玩家4 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player4NickName { - get { return player4NickName_; } - set { - player4NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Field number for the "ScreenProviderUID" field. - public const int ScreenProviderUIDFieldNumber = 15; + public const int ScreenProviderUIDFieldNumber = 7; private long screenProviderUID_; /// ///屏幕数据供应者 @@ -4312,6 +4208,19 @@ namespace AxibugProtobuf { } } + /// Field number for the "GamePlaySlotList" field. + public const int GamePlaySlotListFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_gamePlaySlotList_codec + = pb::FieldCodec.ForMessage(66, global::AxibugProtobuf.Protobuf_Room_GamePlaySlot.Parser); + private readonly pbc::RepeatedField gamePlaySlotList_ = new pbc::RepeatedField(); + /// + ///游玩槽位信息P1~P4 固定4个 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField GamePlaySlotList { + get { return gamePlaySlotList_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_MiniInfo); @@ -4331,15 +4240,8 @@ namespace AxibugProtobuf { if (HostPlayerUID != other.HostPlayerUID) return false; if (GameState != other.GameState) return false; if (ObsUserCount != other.ObsUserCount) return false; - if (Player1UID != other.Player1UID) return false; - if (Player1NickName != other.Player1NickName) return false; - if (Player2UID != other.Player2UID) return false; - if (Player2NickName != other.Player2NickName) return false; - if (Player3UID != other.Player3UID) return false; - if (Player3NickName != other.Player3NickName) return false; - if (Player4UID != other.Player4UID) return false; - if (Player4NickName != other.Player4NickName) return false; if (ScreenProviderUID != other.ScreenProviderUID) return false; + if(!gamePlaySlotList_.Equals(other.gamePlaySlotList_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4352,15 +4254,8 @@ namespace AxibugProtobuf { if (HostPlayerUID != 0L) hash ^= HostPlayerUID.GetHashCode(); if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) hash ^= GameState.GetHashCode(); if (ObsUserCount != 0) hash ^= ObsUserCount.GetHashCode(); - if (Player1UID != 0L) hash ^= Player1UID.GetHashCode(); - if (Player1NickName.Length != 0) hash ^= Player1NickName.GetHashCode(); - if (Player2UID != 0L) hash ^= Player2UID.GetHashCode(); - if (Player2NickName.Length != 0) hash ^= Player2NickName.GetHashCode(); - if (Player3UID != 0L) hash ^= Player3UID.GetHashCode(); - if (Player3NickName.Length != 0) hash ^= Player3NickName.GetHashCode(); - if (Player4UID != 0L) hash ^= Player4UID.GetHashCode(); - if (Player4NickName.Length != 0) hash ^= Player4NickName.GetHashCode(); if (ScreenProviderUID != 0L) hash ^= ScreenProviderUID.GetHashCode(); + hash ^= gamePlaySlotList_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4401,42 +4296,11 @@ namespace AxibugProtobuf { output.WriteRawTag(48); output.WriteInt32(ObsUserCount); } - if (Player1UID != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Player1UID); - } - if (Player1NickName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Player1NickName); - } - if (Player2UID != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Player2UID); - } - if (Player2NickName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Player2NickName); - } - if (Player3UID != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Player3UID); - } - if (Player3NickName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Player3NickName); - } - if (Player4UID != 0L) { - output.WriteRawTag(104); - output.WriteInt64(Player4UID); - } - if (Player4NickName.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Player4NickName); - } if (ScreenProviderUID != 0L) { - output.WriteRawTag(120); + output.WriteRawTag(56); output.WriteInt64(ScreenProviderUID); } + gamePlaySlotList_.WriteTo(output, _repeated_gamePlaySlotList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4470,42 +4334,11 @@ namespace AxibugProtobuf { output.WriteRawTag(48); output.WriteInt32(ObsUserCount); } - if (Player1UID != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Player1UID); - } - if (Player1NickName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Player1NickName); - } - if (Player2UID != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Player2UID); - } - if (Player2NickName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Player2NickName); - } - if (Player3UID != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Player3UID); - } - if (Player3NickName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Player3NickName); - } - if (Player4UID != 0L) { - output.WriteRawTag(104); - output.WriteInt64(Player4UID); - } - if (Player4NickName.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Player4NickName); - } if (ScreenProviderUID != 0L) { - output.WriteRawTag(120); + output.WriteRawTag(56); output.WriteInt64(ScreenProviderUID); } + gamePlaySlotList_.WriteTo(ref output, _repeated_gamePlaySlotList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4533,33 +4366,10 @@ namespace AxibugProtobuf { if (ObsUserCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ObsUserCount); } - if (Player1UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player1UID); - } - if (Player1NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player1NickName); - } - if (Player2UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player2UID); - } - if (Player2NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player2NickName); - } - if (Player3UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player3UID); - } - if (Player3NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player3NickName); - } - if (Player4UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player4UID); - } - if (Player4NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player4NickName); - } if (ScreenProviderUID != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(ScreenProviderUID); } + size += gamePlaySlotList_.CalculateSize(_repeated_gamePlaySlotList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4589,33 +4399,10 @@ namespace AxibugProtobuf { if (other.ObsUserCount != 0) { ObsUserCount = other.ObsUserCount; } - if (other.Player1UID != 0L) { - Player1UID = other.Player1UID; - } - if (other.Player1NickName.Length != 0) { - Player1NickName = other.Player1NickName; - } - if (other.Player2UID != 0L) { - Player2UID = other.Player2UID; - } - if (other.Player2NickName.Length != 0) { - Player2NickName = other.Player2NickName; - } - if (other.Player3UID != 0L) { - Player3UID = other.Player3UID; - } - if (other.Player3NickName.Length != 0) { - Player3NickName = other.Player3NickName; - } - if (other.Player4UID != 0L) { - Player4UID = other.Player4UID; - } - if (other.Player4NickName.Length != 0) { - Player4NickName = other.Player4NickName; - } if (other.ScreenProviderUID != 0L) { ScreenProviderUID = other.ScreenProviderUID; } + gamePlaySlotList_.Add(other.gamePlaySlotList_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4655,39 +4442,11 @@ namespace AxibugProtobuf { break; } case 56: { - Player1UID = input.ReadInt64(); + ScreenProviderUID = input.ReadInt64(); break; } case 66: { - Player1NickName = input.ReadString(); - break; - } - case 72: { - Player2UID = input.ReadInt64(); - break; - } - case 82: { - Player2NickName = input.ReadString(); - break; - } - case 88: { - Player3UID = input.ReadInt64(); - break; - } - case 98: { - Player3NickName = input.ReadString(); - break; - } - case 104: { - Player4UID = input.ReadInt64(); - break; - } - case 114: { - Player4NickName = input.ReadString(); - break; - } - case 120: { - ScreenProviderUID = input.ReadInt64(); + gamePlaySlotList_.AddEntriesFrom(input, _repeated_gamePlaySlotList_codec); break; } } @@ -4729,39 +4488,264 @@ namespace AxibugProtobuf { break; } case 56: { - Player1UID = input.ReadInt64(); + ScreenProviderUID = input.ReadInt64(); break; } case 66: { - Player1NickName = input.ReadString(); + gamePlaySlotList_.AddEntriesFrom(ref input, _repeated_gamePlaySlotList_codec); break; } - case 72: { - Player2UID = input.ReadInt64(); + } + } + } + #endif + + } + + public sealed partial class Protobuf_Room_GamePlaySlot : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_GamePlaySlot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot(Protobuf_Room_GamePlaySlot other) : this() { + playerUID_ = other.playerUID_; + playerNickName_ = other.playerNickName_; + playerLocalJoyIdx_ = other.playerLocalJoyIdx_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot Clone() { + return new Protobuf_Room_GamePlaySlot(this); + } + + /// Field number for the "Player_UID" field. + public const int PlayerUIDFieldNumber = 1; + private long playerUID_; + /// + ///玩家 UID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public long PlayerUID { + get { return playerUID_; } + set { + playerUID_ = value; + } + } + + /// Field number for the "Player_NickName" field. + public const int PlayerNickNameFieldNumber = 2; + private string playerNickName_ = ""; + /// + ///玩家 昵称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string PlayerNickName { + get { return playerNickName_; } + set { + playerNickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PlayerLocalJoyIdx" field. + public const int PlayerLocalJoyIdxFieldNumber = 3; + private int playerLocalJoyIdx_; + /// + ///客户端JoyIdx + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerLocalJoyIdx { + get { return playerLocalJoyIdx_; } + set { + playerLocalJoyIdx_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_GamePlaySlot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_GamePlaySlot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayerUID != other.PlayerUID) return false; + if (PlayerNickName != other.PlayerNickName) return false; + if (PlayerLocalJoyIdx != other.PlayerLocalJoyIdx) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (PlayerUID != 0L) hash ^= PlayerUID.GetHashCode(); + if (PlayerNickName.Length != 0) hash ^= PlayerNickName.GetHashCode(); + if (PlayerLocalJoyIdx != 0) hash ^= PlayerLocalJoyIdx.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PlayerUID != 0L) { + output.WriteRawTag(8); + output.WriteInt64(PlayerUID); + } + if (PlayerNickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerUID != 0L) { + output.WriteRawTag(8); + output.WriteInt64(PlayerUID); + } + if (PlayerNickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (PlayerUID != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerUID); + } + if (PlayerNickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_GamePlaySlot other) { + if (other == null) { + return; + } + if (other.PlayerUID != 0L) { + PlayerUID = other.PlayerUID; + } + if (other.PlayerNickName.Length != 0) { + PlayerNickName = other.PlayerNickName; + } + if (other.PlayerLocalJoyIdx != 0) { + PlayerLocalJoyIdx = other.PlayerLocalJoyIdx; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayerUID = input.ReadInt64(); break; } - case 82: { - Player2NickName = input.ReadString(); + case 18: { + PlayerNickName = input.ReadString(); break; } - case 88: { - Player3UID = input.ReadInt64(); + case 24: { + PlayerLocalJoyIdx = input.ReadInt32(); break; } - case 98: { - Player3NickName = input.ReadString(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayerUID = input.ReadInt64(); break; } - case 104: { - Player4UID = input.ReadInt64(); + case 18: { + PlayerNickName = input.ReadString(); break; } - case 114: { - Player4NickName = input.ReadString(); - break; - } - case 120: { - ScreenProviderUID = input.ReadInt64(); + case 24: { + PlayerLocalJoyIdx = input.ReadInt32(); break; } } @@ -4783,7 +4767,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[19]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5006,7 +4990,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[20]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5259,7 +5243,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[21]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5473,7 +5457,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[22]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5765,7 +5749,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[23]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5784,7 +5768,6 @@ namespace AxibugProtobuf { public Protobuf_Room_Create(Protobuf_Room_Create other) : this() { gameRomID_ = other.gameRomID_; gameRomHash_ = other.gameRomHash_; - joinPlayerIdx_ = other.joinPlayerIdx_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -5815,20 +5798,6 @@ namespace AxibugProtobuf { } } - /// Field number for the "JoinPlayerIdx" field. - public const int JoinPlayerIdxFieldNumber = 3; - private int joinPlayerIdx_; - /// - ///P1~P4[0~3] 以几号位玩家创建房间 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int JoinPlayerIdx { - get { return joinPlayerIdx_; } - set { - joinPlayerIdx_ = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Create); @@ -5844,7 +5813,6 @@ namespace AxibugProtobuf { } if (GameRomID != other.GameRomID) return false; if (GameRomHash != other.GameRomHash) return false; - if (JoinPlayerIdx != other.JoinPlayerIdx) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5853,7 +5821,6 @@ namespace AxibugProtobuf { int hash = 1; if (GameRomID != 0) hash ^= GameRomID.GetHashCode(); if (GameRomHash.Length != 0) hash ^= GameRomHash.GetHashCode(); - if (JoinPlayerIdx != 0) hash ^= JoinPlayerIdx.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5878,10 +5845,6 @@ namespace AxibugProtobuf { output.WriteRawTag(18); output.WriteString(GameRomHash); } - if (JoinPlayerIdx != 0) { - output.WriteRawTag(24); - output.WriteInt32(JoinPlayerIdx); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5899,10 +5862,6 @@ namespace AxibugProtobuf { output.WriteRawTag(18); output.WriteString(GameRomHash); } - if (JoinPlayerIdx != 0) { - output.WriteRawTag(24); - output.WriteInt32(JoinPlayerIdx); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5918,9 +5877,6 @@ namespace AxibugProtobuf { if (GameRomHash.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRomHash); } - if (JoinPlayerIdx != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JoinPlayerIdx); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5938,9 +5894,6 @@ namespace AxibugProtobuf { if (other.GameRomHash.Length != 0) { GameRomHash = other.GameRomHash; } - if (other.JoinPlayerIdx != 0) { - JoinPlayerIdx = other.JoinPlayerIdx; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5963,10 +5916,6 @@ namespace AxibugProtobuf { GameRomHash = input.ReadString(); break; } - case 24: { - JoinPlayerIdx = input.ReadInt32(); - break; - } } } #endif @@ -5989,10 +5938,6 @@ namespace AxibugProtobuf { GameRomHash = input.ReadString(); break; } - case 24: { - JoinPlayerIdx = input.ReadInt32(); - break; - } } } } @@ -6012,7 +5957,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[24]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6196,7 +6141,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[25]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6214,7 +6159,6 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Protobuf_Room_Join(Protobuf_Room_Join other) : this() { roomID_ = other.roomID_; - playerNum_ = other.playerNum_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -6237,20 +6181,6 @@ namespace AxibugProtobuf { } } - /// Field number for the "PlayerNum" field. - public const int PlayerNumFieldNumber = 2; - private int playerNum_; - /// - ///玩家编号 [0]1号玩家 [1]2号玩家 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int PlayerNum { - get { return playerNum_; } - set { - playerNum_ = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Join); @@ -6265,7 +6195,6 @@ namespace AxibugProtobuf { return true; } if (RoomID != other.RoomID) return false; - if (PlayerNum != other.PlayerNum) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6273,7 +6202,6 @@ namespace AxibugProtobuf { public override int GetHashCode() { int hash = 1; if (RoomID != 0) hash ^= RoomID.GetHashCode(); - if (PlayerNum != 0) hash ^= PlayerNum.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6294,10 +6222,6 @@ namespace AxibugProtobuf { output.WriteRawTag(8); output.WriteInt32(RoomID); } - if (PlayerNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(PlayerNum); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6311,10 +6235,6 @@ namespace AxibugProtobuf { output.WriteRawTag(8); output.WriteInt32(RoomID); } - if (PlayerNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(PlayerNum); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6327,9 +6247,6 @@ namespace AxibugProtobuf { if (RoomID != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID); } - if (PlayerNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerNum); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6344,9 +6261,6 @@ namespace AxibugProtobuf { if (other.RoomID != 0) { RoomID = other.RoomID; } - if (other.PlayerNum != 0) { - PlayerNum = other.PlayerNum; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6365,10 +6279,6 @@ namespace AxibugProtobuf { RoomID = input.ReadInt32(); break; } - case 16: { - PlayerNum = input.ReadInt32(); - break; - } } } #endif @@ -6387,10 +6297,6 @@ namespace AxibugProtobuf { RoomID = input.ReadInt32(); break; } - case 16: { - PlayerNum = input.ReadInt32(); - break; - } } } } @@ -6410,7 +6316,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[26]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6594,7 +6500,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[27]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6769,7 +6675,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[28]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6944,7 +6850,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[29]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7116,6 +7022,520 @@ namespace AxibugProtobuf { } + public sealed partial class Protobuf_Room_Change_PlaySlotWithJoy : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_Change_PlaySlotWithJoy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy(Protobuf_Room_Change_PlaySlotWithJoy other) : this() { + slotWithJoy_ = other.slotWithJoy_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy Clone() { + return new Protobuf_Room_Change_PlaySlotWithJoy(this); + } + + /// Field number for the "SlotWithJoy" field. + public const int SlotWithJoyFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_slotWithJoy_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx.Parser); + private readonly pbc::RepeatedField slotWithJoy_ = new pbc::RepeatedField(); + /// + ///P1~P4编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField SlotWithJoy { + get { return slotWithJoy_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_Change_PlaySlotWithJoy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_Change_PlaySlotWithJoy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!slotWithJoy_.Equals(other.slotWithJoy_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= slotWithJoy_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + slotWithJoy_.WriteTo(output, _repeated_slotWithJoy_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + slotWithJoy_.WriteTo(ref output, _repeated_slotWithJoy_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += slotWithJoy_.CalculateSize(_repeated_slotWithJoy_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_Change_PlaySlotWithJoy other) { + if (other == null) { + return; + } + slotWithJoy_.Add(other.slotWithJoy_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + slotWithJoy_.AddEntriesFrom(input, _repeated_slotWithJoy_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + slotWithJoy_.AddEntriesFrom(ref input, _repeated_slotWithJoy_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class Protobuf_PlaySlotIdxWithJoyIdx : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_PlaySlotIdxWithJoyIdx()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx(Protobuf_PlaySlotIdxWithJoyIdx other) : this() { + playerSlotIdx_ = other.playerSlotIdx_; + playerLocalJoyIdx_ = other.playerLocalJoyIdx_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx Clone() { + return new Protobuf_PlaySlotIdxWithJoyIdx(this); + } + + /// Field number for the "PlayerSlotIdx" field. + public const int PlayerSlotIdxFieldNumber = 1; + private int playerSlotIdx_; + /// + ///P1~P4编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerSlotIdx { + get { return playerSlotIdx_; } + set { + playerSlotIdx_ = value; + } + } + + /// Field number for the "PlayerLocalJoyIdx" field. + public const int PlayerLocalJoyIdxFieldNumber = 2; + private int playerLocalJoyIdx_; + /// + ///客户端Joy编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerLocalJoyIdx { + get { return playerLocalJoyIdx_; } + set { + playerLocalJoyIdx_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_PlaySlotIdxWithJoyIdx); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_PlaySlotIdxWithJoyIdx other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayerSlotIdx != other.PlayerSlotIdx) return false; + if (PlayerLocalJoyIdx != other.PlayerLocalJoyIdx) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (PlayerSlotIdx != 0) hash ^= PlayerSlotIdx.GetHashCode(); + if (PlayerLocalJoyIdx != 0) hash ^= PlayerLocalJoyIdx.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PlayerSlotIdx != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerSlotIdx != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (PlayerSlotIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_PlaySlotIdxWithJoyIdx other) { + if (other == null) { + return; + } + if (other.PlayerSlotIdx != 0) { + PlayerSlotIdx = other.PlayerSlotIdx; + } + if (other.PlayerLocalJoyIdx != 0) { + PlayerLocalJoyIdx = other.PlayerLocalJoyIdx; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayerSlotIdx = input.ReadInt32(); + break; + } + case 16: { + PlayerLocalJoyIdx = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayerSlotIdx = input.ReadInt32(); + break; + } + case 16: { + PlayerLocalJoyIdx = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + public sealed partial class Protobuf_Room_Change_PlaySlotWithJoy_RESP : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_Change_PlaySlotWithJoy_RESP()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP Clone() { + return new Protobuf_Room_Change_PlaySlotWithJoy_RESP(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_Change_PlaySlotWithJoy_RESP); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + public sealed partial class Protobuf_Room_WaitStep_RESP : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage @@ -7128,7 +7548,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[30]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7342,7 +7762,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[31]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7517,7 +7937,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[32]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7653,7 +8073,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[33]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7670,6 +8090,10 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Protobuf_Room_Player_Ready(Protobuf_Room_Player_Ready other) : this() { + pushFrameNeedTimeUs_ = other.pushFrameNeedTimeUs_; + loadStateNeedTimeUs_ = other.loadStateNeedTimeUs_; + videoFrameShowNeedTimeUs_ = other.videoFrameShowNeedTimeUs_; + audioFramePlayNeedTimeUs_ = other.audioFramePlayNeedTimeUs_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -7678,6 +8102,62 @@ namespace AxibugProtobuf { return new Protobuf_Room_Player_Ready(this); } + /// Field number for the "PushFrameNeedTimeUs" field. + public const int PushFrameNeedTimeUsFieldNumber = 1; + private float pushFrameNeedTimeUs_; + /// + ///push帧所需平均时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float PushFrameNeedTimeUs { + get { return pushFrameNeedTimeUs_; } + set { + pushFrameNeedTimeUs_ = value; + } + } + + /// Field number for the "LoadStateNeedTimeUs" field. + public const int LoadStateNeedTimeUsFieldNumber = 2; + private float loadStateNeedTimeUs_; + /// + ///加载即时存档所需平均时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float LoadStateNeedTimeUs { + get { return loadStateNeedTimeUs_; } + set { + loadStateNeedTimeUs_ = value; + } + } + + /// Field number for the "VideoFrameShowNeedTimeUs" field. + public const int VideoFrameShowNeedTimeUsFieldNumber = 3; + private float videoFrameShowNeedTimeUs_; + /// + ///视频一帧所需时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float VideoFrameShowNeedTimeUs { + get { return videoFrameShowNeedTimeUs_; } + set { + videoFrameShowNeedTimeUs_ = value; + } + } + + /// Field number for the "AudioFramePlayNeedTimeUs" field. + public const int AudioFramePlayNeedTimeUsFieldNumber = 4; + private float audioFramePlayNeedTimeUs_; + /// + ///音频处理一帧所需时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float AudioFramePlayNeedTimeUs { + get { return audioFramePlayNeedTimeUs_; } + set { + audioFramePlayNeedTimeUs_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Player_Ready); @@ -7691,12 +8171,20 @@ namespace AxibugProtobuf { if (ReferenceEquals(other, this)) { return true; } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PushFrameNeedTimeUs, other.PushFrameNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LoadStateNeedTimeUs, other.LoadStateNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VideoFrameShowNeedTimeUs, other.VideoFrameShowNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AudioFramePlayNeedTimeUs, other.AudioFramePlayNeedTimeUs)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; + if (PushFrameNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PushFrameNeedTimeUs); + if (LoadStateNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LoadStateNeedTimeUs); + if (VideoFrameShowNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VideoFrameShowNeedTimeUs); + if (AudioFramePlayNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AudioFramePlayNeedTimeUs); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7713,6 +8201,22 @@ namespace AxibugProtobuf { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else + if (PushFrameNeedTimeUs != 0F) { + output.WriteRawTag(13); + output.WriteFloat(PushFrameNeedTimeUs); + } + if (LoadStateNeedTimeUs != 0F) { + output.WriteRawTag(21); + output.WriteFloat(LoadStateNeedTimeUs); + } + if (VideoFrameShowNeedTimeUs != 0F) { + output.WriteRawTag(29); + output.WriteFloat(VideoFrameShowNeedTimeUs); + } + if (AudioFramePlayNeedTimeUs != 0F) { + output.WriteRawTag(37); + output.WriteFloat(AudioFramePlayNeedTimeUs); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7722,6 +8226,22 @@ namespace AxibugProtobuf { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PushFrameNeedTimeUs != 0F) { + output.WriteRawTag(13); + output.WriteFloat(PushFrameNeedTimeUs); + } + if (LoadStateNeedTimeUs != 0F) { + output.WriteRawTag(21); + output.WriteFloat(LoadStateNeedTimeUs); + } + if (VideoFrameShowNeedTimeUs != 0F) { + output.WriteRawTag(29); + output.WriteFloat(VideoFrameShowNeedTimeUs); + } + if (AudioFramePlayNeedTimeUs != 0F) { + output.WriteRawTag(37); + output.WriteFloat(AudioFramePlayNeedTimeUs); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7731,6 +8251,18 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; + if (PushFrameNeedTimeUs != 0F) { + size += 1 + 4; + } + if (LoadStateNeedTimeUs != 0F) { + size += 1 + 4; + } + if (VideoFrameShowNeedTimeUs != 0F) { + size += 1 + 4; + } + if (AudioFramePlayNeedTimeUs != 0F) { + size += 1 + 4; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7742,6 +8274,18 @@ namespace AxibugProtobuf { if (other == null) { return; } + if (other.PushFrameNeedTimeUs != 0F) { + PushFrameNeedTimeUs = other.PushFrameNeedTimeUs; + } + if (other.LoadStateNeedTimeUs != 0F) { + LoadStateNeedTimeUs = other.LoadStateNeedTimeUs; + } + if (other.VideoFrameShowNeedTimeUs != 0F) { + VideoFrameShowNeedTimeUs = other.VideoFrameShowNeedTimeUs; + } + if (other.AudioFramePlayNeedTimeUs != 0F) { + AudioFramePlayNeedTimeUs = other.AudioFramePlayNeedTimeUs; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7756,6 +8300,22 @@ namespace AxibugProtobuf { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 13: { + PushFrameNeedTimeUs = input.ReadFloat(); + break; + } + case 21: { + LoadStateNeedTimeUs = input.ReadFloat(); + break; + } + case 29: { + VideoFrameShowNeedTimeUs = input.ReadFloat(); + break; + } + case 37: { + AudioFramePlayNeedTimeUs = input.ReadFloat(); + break; + } } } #endif @@ -7770,6 +8330,22 @@ namespace AxibugProtobuf { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 13: { + PushFrameNeedTimeUs = input.ReadFloat(); + break; + } + case 21: { + LoadStateNeedTimeUs = input.ReadFloat(); + break; + } + case 29: { + VideoFrameShowNeedTimeUs = input.ReadFloat(); + break; + } + case 37: { + AudioFramePlayNeedTimeUs = input.ReadFloat(); + break; + } } } } @@ -7789,7 +8365,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[34]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7964,7 +8540,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[35]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8217,7 +8793,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[36]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8470,7 +9046,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[37]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/InGameUI.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/InGameUI.cs index 697f4c3..4f0465f 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/InGameUI.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/InGameUI/InGameUI.cs @@ -83,7 +83,7 @@ namespace AxibugEmuOnline.Client { if (App.user.IsLoggedIn) { - App.roomMgr.SendCreateRoom(RomFile.ID, 0, RomFile.Hash); + App.roomMgr.SendCreateRoom(RomFile.ID, RomFile.Hash); } else { @@ -116,7 +116,7 @@ namespace AxibugEmuOnline.Client private void OnLoggedIn() { - if (m_delayCreateRoom) App.roomMgr.SendCreateRoom(RomFile.ID, 0, RomFile.Hash); + if (m_delayCreateRoom) App.roomMgr.SendCreateRoom(RomFile.ID, RomFile.Hash); } private void OnServerStepUpdate(int step) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/RoomUI/RoomItem.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/RoomUI/RoomItem.cs index 2766162..5cc8555 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/RoomUI/RoomItem.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/UI/RoomUI/RoomItem.cs @@ -39,7 +39,7 @@ namespace AxibugEmuOnline.Client public void SetData(object data) { Debug.Assert(data is Protobuf_Room_MiniInfo); - + var roomInfo = (Protobuf_Room_MiniInfo)data; RoomID = roomInfo.RoomID; @@ -69,7 +69,7 @@ namespace AxibugEmuOnline.Client return false; } - App.roomMgr.SendJoinRoom(RoomID, freeSlots[0]); + App.roomMgr.SendJoinRoom(RoomID); return true; } } diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Utility.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Utility.cs index fdf7c77..ecda140 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Utility.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Utility.cs @@ -2,6 +2,7 @@ using AxibugEmuOnline.Client.ClientCore; using AxibugProtobuf; using System; using System.Collections.Generic; +using System.Linq; using UnityEngine; namespace AxibugEmuOnline.Client @@ -19,21 +20,17 @@ namespace AxibugEmuOnline.Client public static string GetHostNickName(this Protobuf_Room_MiniInfo roomInfo) { var hostUID = roomInfo.HostPlayerUID; - if (hostUID == roomInfo.Player1UID) return roomInfo.Player1NickName; - else if (hostUID == roomInfo.Player2UID) return roomInfo.Player2NickName; - else if (hostUID == roomInfo.Player3UID) return roomInfo.Player3NickName; - else if (hostUID == roomInfo.Player4UID) return roomInfo.Player4NickName; - else return string.Empty; + Protobuf_Room_GamePlaySlot slotdata = roomInfo.GamePlaySlotList.FirstOrDefault(w => w.PlayerUID == hostUID); + if (slotdata != null) + return slotdata.PlayerNickName; + else + return string.Empty; } public static void GetRoomPlayers(this Protobuf_Room_MiniInfo roomInfo, out int current, out int max) { current = 0; max = 4; - - if (roomInfo.Player1UID > 0) current++; - if (roomInfo.Player2UID > 0) current++; - if (roomInfo.Player3UID > 0) current++; - if (roomInfo.Player4UID > 0) current++; + current = roomInfo.GamePlaySlotList.Count(w => w.PlayerUID > 0); } private static Dictionary s_RomFileCahcesInRoomInfo = new Dictionary(); diff --git a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs index 20101a4..b64bcb2 100644 --- a/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs +++ b/ProtobufCore/out/CS/ProtobufAxibugEmuOnline.cs @@ -51,76 +51,83 @@ namespace AxibugProtobuf { "A1VJRBgBIAEoAxIuCghVc2VySW5mbxgCIAEoCzIcLkF4aWJ1Z1Byb3RvYnVm", "LlVzZXJNaW5pSW5mbyIUChJQcm90b2J1Zl9Sb29tX0xpc3QiWwoXUHJvdG9i", "dWZfUm9vbV9MaXN0X1JFU1ASQAoQUm9vbU1pbmlJbmZvTGlzdBgBIAMoCzIm", - "LkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8ihgMKFlBy", + "LkF4aWJ1Z1Byb3RvYnVmLlByb3RvYnVmX1Jvb21fTWluaUluZm8ikAIKFlBy", "b3RvYnVmX1Jvb21fTWluaUluZm8SDgoGUm9vbUlEGAEgASgFEhEKCUdhbWVS", "b21JRBgCIAEoBRITCgtHYW1lUm9tSGFzaBgDIAEoCRIVCg1Ib3N0UGxheWVy", "VUlEGAQgASgDEjAKCUdhbWVTdGF0ZRgFIAEoDjIdLkF4aWJ1Z1Byb3RvYnVm", - "LlJvb21HYW1lU3RhdGUSFAoMT2JzVXNlckNvdW50GAYgASgFEhMKC1BsYXll", - "cjFfVUlEGAcgASgDEhgKEFBsYXllcjFfTmlja05hbWUYCCABKAkSEwoLUGxh", - "eWVyMl9VSUQYCSABKAMSGAoQUGxheWVyMl9OaWNrTmFtZRgKIAEoCRITCgtQ", - "bGF5ZXIzX1VJRBgLIAEoAxIYChBQbGF5ZXIzX05pY2tOYW1lGAwgASgJEhMK", - "C1BsYXllcjRfVUlEGA0gASgDEhgKEFBsYXllcjRfTmlja05hbWUYDiABKAkS", - "GQoRU2NyZWVuUHJvdmlkZXJVSUQYDyABKAMibQoZUHJvdG9idWZfUm9vbV9V", - "cGRhdGVfUkVTUBISCgpVcGRhdGVUeXBlGAEgASgFEjwKDFJvb21NaW5pSW5m", - "bxgCIAEoCzImLkF4aWJ1Z1Byb3RvYnVmLlByb3Rv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HlwZRINCglVc2VEZXZpY2UQABIOCgpVc2VBY2Nv", + "dW50EAESFAoQVXNlSGFvWXVlQWNjb3VudBACKksKCkRldmljZVR5cGUSFgoS", + "RGV2aWNlVHlwZV9EZWZhdWx0EAASBgoCUEMQARILCgdBbmRyb2lkEAISBwoD", + "SU9TEAMSBwoDUFNWEAQqIAoMUGxhdGZvcm1UeXBlEgcKA0FsbBAAEgcKA05l", + "cxABKnAKDVJvb21HYW1lU3RhdGUSEgoOTm9uZV9HYW1lU3RhdGUQABIMCghP", + "bmx5SG9zdBABEhEKDVdhaXRSYXdVcGRhdGUQAhINCglXYWl0UmVhZHkQAxIJ", + "CgVQYXVzZRAEEhAKDEluT25saW5lR2FtZRAFKk4KEUxvZ2luUmVzdWx0U3Rh", + "dHVzEiEKHUxvZ2luUmVzdWx0U3RhdHVzX0Jhc2VEZWZhdWx0EAASBgoCT0sQ", + "ARIOCgpBY2NvdW50RXJyEAJCAkgBYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::AxibugProtobuf.CommandID), typeof(global::AxibugProtobuf.ErrorCode), typeof(global::AxibugProtobuf.LoginType), typeof(global::AxibugProtobuf.DeviceType), typeof(global::AxibugProtobuf.PlatformType), typeof(global::AxibugProtobuf.RoomGameState), typeof(global::AxibugProtobuf.LoginResultStatus), }, null, new pbr::GeneratedClrTypeInfo[] { @@ -142,22 +149,26 @@ namespace AxibugProtobuf { new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP), global::AxibugProtobuf.Protobuf_Update_OtherUserInfo_RESP.Parser, new[]{ "UID", "UserInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List), global::AxibugProtobuf.Protobuf_Room_List.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_List_RESP), global::AxibugProtobuf.Protobuf_Room_List_RESP.Parser, new[]{ "RoomMiniInfoList" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MiniInfo), global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser, new[]{ "RoomID", "GameRomID", "GameRomHash", "HostPlayerUID", "GameState", "ObsUserCount", "Player1UID", "Player1NickName", "Player2UID", "Player2NickName", "Player3UID", "Player3NickName", "Player4UID", "Player4NickName", "ScreenProviderUID" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MiniInfo), global::AxibugProtobuf.Protobuf_Room_MiniInfo.Parser, new[]{ "RoomID", "GameRomID", "GameRomHash", "HostPlayerUID", "GameState", "ObsUserCount", "ScreenProviderUID", "GamePlaySlotList" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_GamePlaySlot), global::AxibugProtobuf.Protobuf_Room_GamePlaySlot.Parser, new[]{ "PlayerUID", "PlayerNickName", "PlayerLocalJoyIdx" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Update_RESP), global::AxibugProtobuf.Protobuf_Room_Update_RESP.Parser, new[]{ "UpdateType", "RoomMiniInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Screnn_Frame), global::AxibugProtobuf.Protobuf_Screnn_Frame.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData), global::AxibugProtobuf.Protobuf_Room_SinglePlayerInputData.Parser, new[]{ "FrameID", "InputData" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData), global::AxibugProtobuf.Protobuf_Room_Syn_RoomFrameAllInputData.Parser, new[]{ "FrameID", "InputData", "ServerFrameID", "ServerForwardCount" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash", "JoinPlayerIdx" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create), global::AxibugProtobuf.Protobuf_Room_Create.Parser, new[]{ "GameRomID", "GameRomHash" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Create_RESP), global::AxibugProtobuf.Protobuf_Room_Create_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID", "PlayerNum" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join), global::AxibugProtobuf.Protobuf_Room_Join.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Join_RESP), global::AxibugProtobuf.Protobuf_Room_Join_RESP.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave), global::AxibugProtobuf.Protobuf_Room_Leave.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Leave_RESP), global::AxibugProtobuf.Protobuf_Room_Leave_RESP.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change), global::AxibugProtobuf.Protobuf_Room_MyRoom_State_Change.Parser, new[]{ "RoomMiniInfo" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy), global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy.Parser, new[]{ "SlotWithJoy" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx), global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx.Parser, new[]{ "PlayerSlotIdx", "PlayerLocalJoyIdx" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy_RESP), global::AxibugProtobuf.Protobuf_Room_Change_PlaySlotWithJoy_RESP.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP), global::AxibugProtobuf.Protobuf_Room_WaitStep_RESP.Parser, new[]{ "WaitStep", "LoadStateRaw" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw.Parser, new[]{ "LoadStateRaw" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP), global::AxibugProtobuf.Protobuf_Room_HostPlayer_UpdateStateRaw_RESP.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Player_Ready), global::AxibugProtobuf.Protobuf_Room_Player_Ready.Parser, null, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Player_Ready), global::AxibugProtobuf.Protobuf_Room_Player_Ready.Parser, new[]{ "PushFrameNeedTimeUs", "LoadStateNeedTimeUs", "VideoFrameShowNeedTimeUs", "AudioFramePlayNeedTimeUs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen), global::AxibugProtobuf.Protobuf_Room_Get_Screen.Parser, new[]{ "RoomID" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP), global::AxibugProtobuf.Protobuf_Room_Get_Screen_RESP.Parser, new[]{ "RoomID", "FrameID", "RawBitmap" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::AxibugProtobuf.Protobuf_Game_Mark), global::AxibugProtobuf.Protobuf_Game_Mark.Parser, new[]{ "RomID", "State", "PlatformType" }, null, null, null, null), @@ -246,6 +257,10 @@ namespace AxibugProtobuf { /// [pbr::OriginalName("CMD_Room_MyRoom_State_Changed")] CmdRoomMyRoomStateChanged = 5110, /// + ///更换操作槽位 对应 Protobuf_Room_Change_PlaySlotWithJoy | Protobuf_Room_Change_PlaySlotWithJoy_RESP + /// + [pbr::OriginalName("CMD_Room_ChangePlayerWithJoy")] CmdRoomChangePlayerWithJoy = 5130, + /// ///准备和开始流程(5201 ~ 5204 ~ 5208) /// /// 我们采用,玩家可以随时进入的方式开发 @@ -4088,15 +4103,8 @@ namespace AxibugProtobuf { hostPlayerUID_ = other.hostPlayerUID_; gameState_ = other.gameState_; obsUserCount_ = other.obsUserCount_; - player1UID_ = other.player1UID_; - player1NickName_ = other.player1NickName_; - player2UID_ = other.player2UID_; - player2NickName_ = other.player2NickName_; - player3UID_ = other.player3UID_; - player3NickName_ = other.player3NickName_; - player4UID_ = other.player4UID_; - player4NickName_ = other.player4NickName_; screenProviderUID_ = other.screenProviderUID_; + gamePlaySlotList_ = other.gamePlaySlotList_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4186,120 +4194,8 @@ namespace AxibugProtobuf { } } - /// Field number for the "Player1_UID" field. - public const int Player1UIDFieldNumber = 7; - private long player1UID_; - /// - ///玩家1 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player1UID { - get { return player1UID_; } - set { - player1UID_ = value; - } - } - - /// Field number for the "Player1_NickName" field. - public const int Player1NickNameFieldNumber = 8; - private string player1NickName_ = ""; - /// - ///玩家1 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player1NickName { - get { return player1NickName_; } - set { - player1NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player2_UID" field. - public const int Player2UIDFieldNumber = 9; - private long player2UID_; - /// - ///玩家2 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player2UID { - get { return player2UID_; } - set { - player2UID_ = value; - } - } - - /// Field number for the "Player2_NickName" field. - public const int Player2NickNameFieldNumber = 10; - private string player2NickName_ = ""; - /// - ///玩家2 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player2NickName { - get { return player2NickName_; } - set { - player2NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player3_UID" field. - public const int Player3UIDFieldNumber = 11; - private long player3UID_; - /// - ///玩家3 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player3UID { - get { return player3UID_; } - set { - player3UID_ = value; - } - } - - /// Field number for the "Player3_NickName" field. - public const int Player3NickNameFieldNumber = 12; - private string player3NickName_ = ""; - /// - ///玩家3 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player3NickName { - get { return player3NickName_; } - set { - player3NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - - /// Field number for the "Player4_UID" field. - public const int Player4UIDFieldNumber = 13; - private long player4UID_; - /// - ///玩家4 UID - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public long Player4UID { - get { return player4UID_; } - set { - player4UID_ = value; - } - } - - /// Field number for the "Player4_NickName" field. - public const int Player4NickNameFieldNumber = 14; - private string player4NickName_ = ""; - /// - ///玩家4 昵称 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public string Player4NickName { - get { return player4NickName_; } - set { - player4NickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } - } - /// Field number for the "ScreenProviderUID" field. - public const int ScreenProviderUIDFieldNumber = 15; + public const int ScreenProviderUIDFieldNumber = 7; private long screenProviderUID_; /// ///屏幕数据供应者 @@ -4312,6 +4208,19 @@ namespace AxibugProtobuf { } } + /// Field number for the "GamePlaySlotList" field. + public const int GamePlaySlotListFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_gamePlaySlotList_codec + = pb::FieldCodec.ForMessage(66, global::AxibugProtobuf.Protobuf_Room_GamePlaySlot.Parser); + private readonly pbc::RepeatedField gamePlaySlotList_ = new pbc::RepeatedField(); + /// + ///游玩槽位信息P1~P4 固定4个 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField GamePlaySlotList { + get { return gamePlaySlotList_; } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_MiniInfo); @@ -4331,15 +4240,8 @@ namespace AxibugProtobuf { if (HostPlayerUID != other.HostPlayerUID) return false; if (GameState != other.GameState) return false; if (ObsUserCount != other.ObsUserCount) return false; - if (Player1UID != other.Player1UID) return false; - if (Player1NickName != other.Player1NickName) return false; - if (Player2UID != other.Player2UID) return false; - if (Player2NickName != other.Player2NickName) return false; - if (Player3UID != other.Player3UID) return false; - if (Player3NickName != other.Player3NickName) return false; - if (Player4UID != other.Player4UID) return false; - if (Player4NickName != other.Player4NickName) return false; if (ScreenProviderUID != other.ScreenProviderUID) return false; + if(!gamePlaySlotList_.Equals(other.gamePlaySlotList_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4352,15 +4254,8 @@ namespace AxibugProtobuf { if (HostPlayerUID != 0L) hash ^= HostPlayerUID.GetHashCode(); if (GameState != global::AxibugProtobuf.RoomGameState.NoneGameState) hash ^= GameState.GetHashCode(); if (ObsUserCount != 0) hash ^= ObsUserCount.GetHashCode(); - if (Player1UID != 0L) hash ^= Player1UID.GetHashCode(); - if (Player1NickName.Length != 0) hash ^= Player1NickName.GetHashCode(); - if (Player2UID != 0L) hash ^= Player2UID.GetHashCode(); - if (Player2NickName.Length != 0) hash ^= Player2NickName.GetHashCode(); - if (Player3UID != 0L) hash ^= Player3UID.GetHashCode(); - if (Player3NickName.Length != 0) hash ^= Player3NickName.GetHashCode(); - if (Player4UID != 0L) hash ^= Player4UID.GetHashCode(); - if (Player4NickName.Length != 0) hash ^= Player4NickName.GetHashCode(); if (ScreenProviderUID != 0L) hash ^= ScreenProviderUID.GetHashCode(); + hash ^= gamePlaySlotList_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4401,42 +4296,11 @@ namespace AxibugProtobuf { output.WriteRawTag(48); output.WriteInt32(ObsUserCount); } - if (Player1UID != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Player1UID); - } - if (Player1NickName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Player1NickName); - } - if (Player2UID != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Player2UID); - } - if (Player2NickName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Player2NickName); - } - if (Player3UID != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Player3UID); - } - if (Player3NickName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Player3NickName); - } - if (Player4UID != 0L) { - output.WriteRawTag(104); - output.WriteInt64(Player4UID); - } - if (Player4NickName.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Player4NickName); - } if (ScreenProviderUID != 0L) { - output.WriteRawTag(120); + output.WriteRawTag(56); output.WriteInt64(ScreenProviderUID); } + gamePlaySlotList_.WriteTo(output, _repeated_gamePlaySlotList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4470,42 +4334,11 @@ namespace AxibugProtobuf { output.WriteRawTag(48); output.WriteInt32(ObsUserCount); } - if (Player1UID != 0L) { - output.WriteRawTag(56); - output.WriteInt64(Player1UID); - } - if (Player1NickName.Length != 0) { - output.WriteRawTag(66); - output.WriteString(Player1NickName); - } - if (Player2UID != 0L) { - output.WriteRawTag(72); - output.WriteInt64(Player2UID); - } - if (Player2NickName.Length != 0) { - output.WriteRawTag(82); - output.WriteString(Player2NickName); - } - if (Player3UID != 0L) { - output.WriteRawTag(88); - output.WriteInt64(Player3UID); - } - if (Player3NickName.Length != 0) { - output.WriteRawTag(98); - output.WriteString(Player3NickName); - } - if (Player4UID != 0L) { - output.WriteRawTag(104); - output.WriteInt64(Player4UID); - } - if (Player4NickName.Length != 0) { - output.WriteRawTag(114); - output.WriteString(Player4NickName); - } if (ScreenProviderUID != 0L) { - output.WriteRawTag(120); + output.WriteRawTag(56); output.WriteInt64(ScreenProviderUID); } + gamePlaySlotList_.WriteTo(ref output, _repeated_gamePlaySlotList_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4533,33 +4366,10 @@ namespace AxibugProtobuf { if (ObsUserCount != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ObsUserCount); } - if (Player1UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player1UID); - } - if (Player1NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player1NickName); - } - if (Player2UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player2UID); - } - if (Player2NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player2NickName); - } - if (Player3UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player3UID); - } - if (Player3NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player3NickName); - } - if (Player4UID != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Player4UID); - } - if (Player4NickName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Player4NickName); - } if (ScreenProviderUID != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(ScreenProviderUID); } + size += gamePlaySlotList_.CalculateSize(_repeated_gamePlaySlotList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4589,33 +4399,10 @@ namespace AxibugProtobuf { if (other.ObsUserCount != 0) { ObsUserCount = other.ObsUserCount; } - if (other.Player1UID != 0L) { - Player1UID = other.Player1UID; - } - if (other.Player1NickName.Length != 0) { - Player1NickName = other.Player1NickName; - } - if (other.Player2UID != 0L) { - Player2UID = other.Player2UID; - } - if (other.Player2NickName.Length != 0) { - Player2NickName = other.Player2NickName; - } - if (other.Player3UID != 0L) { - Player3UID = other.Player3UID; - } - if (other.Player3NickName.Length != 0) { - Player3NickName = other.Player3NickName; - } - if (other.Player4UID != 0L) { - Player4UID = other.Player4UID; - } - if (other.Player4NickName.Length != 0) { - Player4NickName = other.Player4NickName; - } if (other.ScreenProviderUID != 0L) { ScreenProviderUID = other.ScreenProviderUID; } + gamePlaySlotList_.Add(other.gamePlaySlotList_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4655,39 +4442,11 @@ namespace AxibugProtobuf { break; } case 56: { - Player1UID = input.ReadInt64(); + ScreenProviderUID = input.ReadInt64(); break; } case 66: { - Player1NickName = input.ReadString(); - break; - } - case 72: { - Player2UID = input.ReadInt64(); - break; - } - case 82: { - Player2NickName = input.ReadString(); - break; - } - case 88: { - Player3UID = input.ReadInt64(); - break; - } - case 98: { - Player3NickName = input.ReadString(); - break; - } - case 104: { - Player4UID = input.ReadInt64(); - break; - } - case 114: { - Player4NickName = input.ReadString(); - break; - } - case 120: { - ScreenProviderUID = input.ReadInt64(); + gamePlaySlotList_.AddEntriesFrom(input, _repeated_gamePlaySlotList_codec); break; } } @@ -4729,39 +4488,264 @@ namespace AxibugProtobuf { break; } case 56: { - Player1UID = input.ReadInt64(); + ScreenProviderUID = input.ReadInt64(); break; } case 66: { - Player1NickName = input.ReadString(); + gamePlaySlotList_.AddEntriesFrom(ref input, _repeated_gamePlaySlotList_codec); break; } - case 72: { - Player2UID = input.ReadInt64(); + } + } + } + #endif + + } + + public sealed partial class Protobuf_Room_GamePlaySlot : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_GamePlaySlot()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[19]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot(Protobuf_Room_GamePlaySlot other) : this() { + playerUID_ = other.playerUID_; + playerNickName_ = other.playerNickName_; + playerLocalJoyIdx_ = other.playerLocalJoyIdx_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_GamePlaySlot Clone() { + return new Protobuf_Room_GamePlaySlot(this); + } + + /// Field number for the "Player_UID" field. + public const int PlayerUIDFieldNumber = 1; + private long playerUID_; + /// + ///玩家 UID + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public long PlayerUID { + get { return playerUID_; } + set { + playerUID_ = value; + } + } + + /// Field number for the "Player_NickName" field. + public const int PlayerNickNameFieldNumber = 2; + private string playerNickName_ = ""; + /// + ///玩家 昵称 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public string PlayerNickName { + get { return playerNickName_; } + set { + playerNickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "PlayerLocalJoyIdx" field. + public const int PlayerLocalJoyIdxFieldNumber = 3; + private int playerLocalJoyIdx_; + /// + ///客户端JoyIdx + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerLocalJoyIdx { + get { return playerLocalJoyIdx_; } + set { + playerLocalJoyIdx_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_GamePlaySlot); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_GamePlaySlot other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayerUID != other.PlayerUID) return false; + if (PlayerNickName != other.PlayerNickName) return false; + if (PlayerLocalJoyIdx != other.PlayerLocalJoyIdx) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (PlayerUID != 0L) hash ^= PlayerUID.GetHashCode(); + if (PlayerNickName.Length != 0) hash ^= PlayerNickName.GetHashCode(); + if (PlayerLocalJoyIdx != 0) hash ^= PlayerLocalJoyIdx.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PlayerUID != 0L) { + output.WriteRawTag(8); + output.WriteInt64(PlayerUID); + } + if (PlayerNickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerUID != 0L) { + output.WriteRawTag(8); + output.WriteInt64(PlayerUID); + } + if (PlayerNickName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(24); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (PlayerUID != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerUID); + } + if (PlayerNickName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PlayerNickName); + } + if (PlayerLocalJoyIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_GamePlaySlot other) { + if (other == null) { + return; + } + if (other.PlayerUID != 0L) { + PlayerUID = other.PlayerUID; + } + if (other.PlayerNickName.Length != 0) { + PlayerNickName = other.PlayerNickName; + } + if (other.PlayerLocalJoyIdx != 0) { + PlayerLocalJoyIdx = other.PlayerLocalJoyIdx; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayerUID = input.ReadInt64(); break; } - case 82: { - Player2NickName = input.ReadString(); + case 18: { + PlayerNickName = input.ReadString(); break; } - case 88: { - Player3UID = input.ReadInt64(); + case 24: { + PlayerLocalJoyIdx = input.ReadInt32(); break; } - case 98: { - Player3NickName = input.ReadString(); + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayerUID = input.ReadInt64(); break; } - case 104: { - Player4UID = input.ReadInt64(); + case 18: { + PlayerNickName = input.ReadString(); break; } - case 114: { - Player4NickName = input.ReadString(); - break; - } - case 120: { - ScreenProviderUID = input.ReadInt64(); + case 24: { + PlayerLocalJoyIdx = input.ReadInt32(); break; } } @@ -4783,7 +4767,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[19]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[20]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5006,7 +4990,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[20]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[21]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5259,7 +5243,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[21]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[22]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5473,7 +5457,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[22]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5765,7 +5749,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[23]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5784,7 +5768,6 @@ namespace AxibugProtobuf { public Protobuf_Room_Create(Protobuf_Room_Create other) : this() { gameRomID_ = other.gameRomID_; gameRomHash_ = other.gameRomHash_; - joinPlayerIdx_ = other.joinPlayerIdx_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -5815,20 +5798,6 @@ namespace AxibugProtobuf { } } - /// Field number for the "JoinPlayerIdx" field. - public const int JoinPlayerIdxFieldNumber = 3; - private int joinPlayerIdx_; - /// - ///P1~P4[0~3] 以几号位玩家创建房间 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int JoinPlayerIdx { - get { return joinPlayerIdx_; } - set { - joinPlayerIdx_ = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Create); @@ -5844,7 +5813,6 @@ namespace AxibugProtobuf { } if (GameRomID != other.GameRomID) return false; if (GameRomHash != other.GameRomHash) return false; - if (JoinPlayerIdx != other.JoinPlayerIdx) return false; return Equals(_unknownFields, other._unknownFields); } @@ -5853,7 +5821,6 @@ namespace AxibugProtobuf { int hash = 1; if (GameRomID != 0) hash ^= GameRomID.GetHashCode(); if (GameRomHash.Length != 0) hash ^= GameRomHash.GetHashCode(); - if (JoinPlayerIdx != 0) hash ^= JoinPlayerIdx.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -5878,10 +5845,6 @@ namespace AxibugProtobuf { output.WriteRawTag(18); output.WriteString(GameRomHash); } - if (JoinPlayerIdx != 0) { - output.WriteRawTag(24); - output.WriteInt32(JoinPlayerIdx); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -5899,10 +5862,6 @@ namespace AxibugProtobuf { output.WriteRawTag(18); output.WriteString(GameRomHash); } - if (JoinPlayerIdx != 0) { - output.WriteRawTag(24); - output.WriteInt32(JoinPlayerIdx); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -5918,9 +5877,6 @@ namespace AxibugProtobuf { if (GameRomHash.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GameRomHash); } - if (JoinPlayerIdx != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(JoinPlayerIdx); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -5938,9 +5894,6 @@ namespace AxibugProtobuf { if (other.GameRomHash.Length != 0) { GameRomHash = other.GameRomHash; } - if (other.JoinPlayerIdx != 0) { - JoinPlayerIdx = other.JoinPlayerIdx; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -5963,10 +5916,6 @@ namespace AxibugProtobuf { GameRomHash = input.ReadString(); break; } - case 24: { - JoinPlayerIdx = input.ReadInt32(); - break; - } } } #endif @@ -5989,10 +5938,6 @@ namespace AxibugProtobuf { GameRomHash = input.ReadString(); break; } - case 24: { - JoinPlayerIdx = input.ReadInt32(); - break; - } } } } @@ -6012,7 +5957,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[24]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6196,7 +6141,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[25]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6214,7 +6159,6 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Protobuf_Room_Join(Protobuf_Room_Join other) : this() { roomID_ = other.roomID_; - playerNum_ = other.playerNum_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -6237,20 +6181,6 @@ namespace AxibugProtobuf { } } - /// Field number for the "PlayerNum" field. - public const int PlayerNumFieldNumber = 2; - private int playerNum_; - /// - ///玩家编号 [0]1号玩家 [1]2号玩家 - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public int PlayerNum { - get { return playerNum_; } - set { - playerNum_ = value; - } - } - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Join); @@ -6265,7 +6195,6 @@ namespace AxibugProtobuf { return true; } if (RoomID != other.RoomID) return false; - if (PlayerNum != other.PlayerNum) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6273,7 +6202,6 @@ namespace AxibugProtobuf { public override int GetHashCode() { int hash = 1; if (RoomID != 0) hash ^= RoomID.GetHashCode(); - if (PlayerNum != 0) hash ^= PlayerNum.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6294,10 +6222,6 @@ namespace AxibugProtobuf { output.WriteRawTag(8); output.WriteInt32(RoomID); } - if (PlayerNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(PlayerNum); - } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6311,10 +6235,6 @@ namespace AxibugProtobuf { output.WriteRawTag(8); output.WriteInt32(RoomID); } - if (PlayerNum != 0) { - output.WriteRawTag(16); - output.WriteInt32(PlayerNum); - } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6327,9 +6247,6 @@ namespace AxibugProtobuf { if (RoomID != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RoomID); } - if (PlayerNum != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerNum); - } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6344,9 +6261,6 @@ namespace AxibugProtobuf { if (other.RoomID != 0) { RoomID = other.RoomID; } - if (other.PlayerNum != 0) { - PlayerNum = other.PlayerNum; - } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6365,10 +6279,6 @@ namespace AxibugProtobuf { RoomID = input.ReadInt32(); break; } - case 16: { - PlayerNum = input.ReadInt32(); - break; - } } } #endif @@ -6387,10 +6297,6 @@ namespace AxibugProtobuf { RoomID = input.ReadInt32(); break; } - case 16: { - PlayerNum = input.ReadInt32(); - break; - } } } } @@ -6410,7 +6316,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[26]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6594,7 +6500,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[27]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6769,7 +6675,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[28]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6944,7 +6850,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[29]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7116,6 +7022,520 @@ namespace AxibugProtobuf { } + public sealed partial class Protobuf_Room_Change_PlaySlotWithJoy : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_Change_PlaySlotWithJoy()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[31]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy(Protobuf_Room_Change_PlaySlotWithJoy other) : this() { + slotWithJoy_ = other.slotWithJoy_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy Clone() { + return new Protobuf_Room_Change_PlaySlotWithJoy(this); + } + + /// Field number for the "SlotWithJoy" field. + public const int SlotWithJoyFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_slotWithJoy_codec + = pb::FieldCodec.ForMessage(10, global::AxibugProtobuf.Protobuf_PlaySlotIdxWithJoyIdx.Parser); + private readonly pbc::RepeatedField slotWithJoy_ = new pbc::RepeatedField(); + /// + ///P1~P4编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public pbc::RepeatedField SlotWithJoy { + get { return slotWithJoy_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_Change_PlaySlotWithJoy); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_Change_PlaySlotWithJoy other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!slotWithJoy_.Equals(other.slotWithJoy_)) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + hash ^= slotWithJoy_.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + slotWithJoy_.WriteTo(output, _repeated_slotWithJoy_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + slotWithJoy_.WriteTo(ref output, _repeated_slotWithJoy_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + size += slotWithJoy_.CalculateSize(_repeated_slotWithJoy_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_Change_PlaySlotWithJoy other) { + if (other == null) { + return; + } + slotWithJoy_.Add(other.slotWithJoy_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 10: { + slotWithJoy_.AddEntriesFrom(input, _repeated_slotWithJoy_codec); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 10: { + slotWithJoy_.AddEntriesFrom(ref input, _repeated_slotWithJoy_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class Protobuf_PlaySlotIdxWithJoyIdx : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_PlaySlotIdxWithJoyIdx()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[32]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx(Protobuf_PlaySlotIdxWithJoyIdx other) : this() { + playerSlotIdx_ = other.playerSlotIdx_; + playerLocalJoyIdx_ = other.playerLocalJoyIdx_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_PlaySlotIdxWithJoyIdx Clone() { + return new Protobuf_PlaySlotIdxWithJoyIdx(this); + } + + /// Field number for the "PlayerSlotIdx" field. + public const int PlayerSlotIdxFieldNumber = 1; + private int playerSlotIdx_; + /// + ///P1~P4编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerSlotIdx { + get { return playerSlotIdx_; } + set { + playerSlotIdx_ = value; + } + } + + /// Field number for the "PlayerLocalJoyIdx" field. + public const int PlayerLocalJoyIdxFieldNumber = 2; + private int playerLocalJoyIdx_; + /// + ///客户端Joy编号 + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int PlayerLocalJoyIdx { + get { return playerLocalJoyIdx_; } + set { + playerLocalJoyIdx_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_PlaySlotIdxWithJoyIdx); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_PlaySlotIdxWithJoyIdx other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PlayerSlotIdx != other.PlayerSlotIdx) return false; + if (PlayerLocalJoyIdx != other.PlayerLocalJoyIdx) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (PlayerSlotIdx != 0) hash ^= PlayerSlotIdx.GetHashCode(); + if (PlayerLocalJoyIdx != 0) hash ^= PlayerLocalJoyIdx.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (PlayerSlotIdx != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PlayerSlotIdx != 0) { + output.WriteRawTag(8); + output.WriteInt32(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + output.WriteRawTag(16); + output.WriteInt32(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (PlayerSlotIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerSlotIdx); + } + if (PlayerLocalJoyIdx != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlayerLocalJoyIdx); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_PlaySlotIdxWithJoyIdx other) { + if (other == null) { + return; + } + if (other.PlayerSlotIdx != 0) { + PlayerSlotIdx = other.PlayerSlotIdx; + } + if (other.PlayerLocalJoyIdx != 0) { + PlayerLocalJoyIdx = other.PlayerLocalJoyIdx; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + PlayerSlotIdx = input.ReadInt32(); + break; + } + case 16: { + PlayerLocalJoyIdx = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + PlayerSlotIdx = input.ReadInt32(); + break; + } + case 16: { + PlayerLocalJoyIdx = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + public sealed partial class Protobuf_Room_Change_PlaySlotWithJoy_RESP : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Protobuf_Room_Change_PlaySlotWithJoy_RESP()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public static pbr::MessageDescriptor Descriptor { + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[33]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public Protobuf_Room_Change_PlaySlotWithJoy_RESP Clone() { + return new Protobuf_Room_Change_PlaySlotWithJoy_RESP(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override bool Equals(object other) { + return Equals(other as Protobuf_Room_Change_PlaySlotWithJoy_RESP); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public bool Equals(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override int GetHashCode() { + int hash = 1; + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public int CalculateSize() { + int size = 0; + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(Protobuf_Room_Change_PlaySlotWithJoy_RESP other) { + if (other == null) { + return; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + } + } + } + #endif + + } + public sealed partial class Protobuf_Room_WaitStep_RESP : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage @@ -7128,7 +7548,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[30]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[34]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7342,7 +7762,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[31]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7517,7 +7937,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[32]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[36]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7653,7 +8073,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[33]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[37]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7670,6 +8090,10 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public Protobuf_Room_Player_Ready(Protobuf_Room_Player_Ready other) : this() { + pushFrameNeedTimeUs_ = other.pushFrameNeedTimeUs_; + loadStateNeedTimeUs_ = other.loadStateNeedTimeUs_; + videoFrameShowNeedTimeUs_ = other.videoFrameShowNeedTimeUs_; + audioFramePlayNeedTimeUs_ = other.audioFramePlayNeedTimeUs_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -7678,6 +8102,62 @@ namespace AxibugProtobuf { return new Protobuf_Room_Player_Ready(this); } + /// Field number for the "PushFrameNeedTimeUs" field. + public const int PushFrameNeedTimeUsFieldNumber = 1; + private float pushFrameNeedTimeUs_; + /// + ///push帧所需平均时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float PushFrameNeedTimeUs { + get { return pushFrameNeedTimeUs_; } + set { + pushFrameNeedTimeUs_ = value; + } + } + + /// Field number for the "LoadStateNeedTimeUs" field. + public const int LoadStateNeedTimeUsFieldNumber = 2; + private float loadStateNeedTimeUs_; + /// + ///加载即时存档所需平均时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float LoadStateNeedTimeUs { + get { return loadStateNeedTimeUs_; } + set { + loadStateNeedTimeUs_ = value; + } + } + + /// Field number for the "VideoFrameShowNeedTimeUs" field. + public const int VideoFrameShowNeedTimeUsFieldNumber = 3; + private float videoFrameShowNeedTimeUs_; + /// + ///视频一帧所需时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float VideoFrameShowNeedTimeUs { + get { return videoFrameShowNeedTimeUs_; } + set { + videoFrameShowNeedTimeUs_ = value; + } + } + + /// Field number for the "AudioFramePlayNeedTimeUs" field. + public const int AudioFramePlayNeedTimeUsFieldNumber = 4; + private float audioFramePlayNeedTimeUs_; + /// + ///音频处理一帧所需时间(微秒) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + public float AudioFramePlayNeedTimeUs { + get { return audioFramePlayNeedTimeUs_; } + set { + audioFramePlayNeedTimeUs_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override bool Equals(object other) { return Equals(other as Protobuf_Room_Player_Ready); @@ -7691,12 +8171,20 @@ namespace AxibugProtobuf { if (ReferenceEquals(other, this)) { return true; } + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(PushFrameNeedTimeUs, other.PushFrameNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(LoadStateNeedTimeUs, other.LoadStateNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(VideoFrameShowNeedTimeUs, other.VideoFrameShowNeedTimeUs)) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(AudioFramePlayNeedTimeUs, other.AudioFramePlayNeedTimeUs)) return false; return Equals(_unknownFields, other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public override int GetHashCode() { int hash = 1; + if (PushFrameNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(PushFrameNeedTimeUs); + if (LoadStateNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(LoadStateNeedTimeUs); + if (VideoFrameShowNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(VideoFrameShowNeedTimeUs); + if (AudioFramePlayNeedTimeUs != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AudioFramePlayNeedTimeUs); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7713,6 +8201,22 @@ namespace AxibugProtobuf { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else + if (PushFrameNeedTimeUs != 0F) { + output.WriteRawTag(13); + output.WriteFloat(PushFrameNeedTimeUs); + } + if (LoadStateNeedTimeUs != 0F) { + output.WriteRawTag(21); + output.WriteFloat(LoadStateNeedTimeUs); + } + if (VideoFrameShowNeedTimeUs != 0F) { + output.WriteRawTag(29); + output.WriteFloat(VideoFrameShowNeedTimeUs); + } + if (AudioFramePlayNeedTimeUs != 0F) { + output.WriteRawTag(37); + output.WriteFloat(AudioFramePlayNeedTimeUs); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -7722,6 +8226,22 @@ namespace AxibugProtobuf { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE [global::System.Diagnostics.DebuggerNonUserCodeAttribute] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (PushFrameNeedTimeUs != 0F) { + output.WriteRawTag(13); + output.WriteFloat(PushFrameNeedTimeUs); + } + if (LoadStateNeedTimeUs != 0F) { + output.WriteRawTag(21); + output.WriteFloat(LoadStateNeedTimeUs); + } + if (VideoFrameShowNeedTimeUs != 0F) { + output.WriteRawTag(29); + output.WriteFloat(VideoFrameShowNeedTimeUs); + } + if (AudioFramePlayNeedTimeUs != 0F) { + output.WriteRawTag(37); + output.WriteFloat(AudioFramePlayNeedTimeUs); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -7731,6 +8251,18 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public int CalculateSize() { int size = 0; + if (PushFrameNeedTimeUs != 0F) { + size += 1 + 4; + } + if (LoadStateNeedTimeUs != 0F) { + size += 1 + 4; + } + if (VideoFrameShowNeedTimeUs != 0F) { + size += 1 + 4; + } + if (AudioFramePlayNeedTimeUs != 0F) { + size += 1 + 4; + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -7742,6 +8274,18 @@ namespace AxibugProtobuf { if (other == null) { return; } + if (other.PushFrameNeedTimeUs != 0F) { + PushFrameNeedTimeUs = other.PushFrameNeedTimeUs; + } + if (other.LoadStateNeedTimeUs != 0F) { + LoadStateNeedTimeUs = other.LoadStateNeedTimeUs; + } + if (other.VideoFrameShowNeedTimeUs != 0F) { + VideoFrameShowNeedTimeUs = other.VideoFrameShowNeedTimeUs; + } + if (other.AudioFramePlayNeedTimeUs != 0F) { + AudioFramePlayNeedTimeUs = other.AudioFramePlayNeedTimeUs; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7756,6 +8300,22 @@ namespace AxibugProtobuf { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; + case 13: { + PushFrameNeedTimeUs = input.ReadFloat(); + break; + } + case 21: { + LoadStateNeedTimeUs = input.ReadFloat(); + break; + } + case 29: { + VideoFrameShowNeedTimeUs = input.ReadFloat(); + break; + } + case 37: { + AudioFramePlayNeedTimeUs = input.ReadFloat(); + break; + } } } #endif @@ -7770,6 +8330,22 @@ namespace AxibugProtobuf { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; + case 13: { + PushFrameNeedTimeUs = input.ReadFloat(); + break; + } + case 21: { + LoadStateNeedTimeUs = input.ReadFloat(); + break; + } + case 29: { + VideoFrameShowNeedTimeUs = input.ReadFloat(); + break; + } + case 37: { + AudioFramePlayNeedTimeUs = input.ReadFloat(); + break; + } } } } @@ -7789,7 +8365,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[34]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7964,7 +8540,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[35]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8217,7 +8793,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[36]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8470,7 +9046,7 @@ namespace AxibugProtobuf { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[37]; } + get { return global::AxibugProtobuf.ProtobufAxibugEmuOnlineReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto index 1220aad..f833026 100644 --- a/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto +++ b/ProtobufCore/proto/protobuf_AxibugEmuOnline.proto @@ -300,8 +300,6 @@ message Protobuf_Room_Create { int32 GameRomID = 1; string GameRomHash = 2; - int32 PlayerSlotIdx = 3;//创建时的P1~P4编号 - int32 PlayerLocalJoyIdx = 4;//创建时的客户端Joy编号 } message Protobuf_Room_Create_RESP @@ -312,8 +310,6 @@ message Protobuf_Room_Create_RESP message Protobuf_Room_Join { int32 RoomID = 1;//房间ID - int32 PlayerSlotIdx = 2;//P1~P4编号 - int32 PlayerLocalJoyIdx = 3;//客户端Joy编号 } message Protobuf_Room_Join_RESP