public UInt32 GetPlayerSocreBySeat(Byte Seat) { Seat = SceneRuntime.ClientToServerSeat(Seat); //或者指定位置玩家的积分 bool IsInMonth = (PlayerRole.Instance.RoleInfo.RoleMe.GetMonthID() != 0); if (!IsInMonth) { return(0); } RoleBase pRole = null; if (PlayerRole.Instance.RoleInfo.RoleMe.GetSeat() == Seat) { pRole = PlayerRole.Instance.RoleInfo.RoleMe; } else { pRole = PlayerRole.Instance.TableManager.GetTableRole(Seat); } if (pRole == null) { return(0); } return(pRole.GetMonthScore()); }