Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display multiplayer authority ID in remote debugger #83437

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

SaracenOne
Copy link
Member

Adds the multiplayer_authority ID value to the remote node debugger.
NVIDIA_Share_5BaKgFmKIn

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using PROPERTY_USAGE_READ_ONLY so that the property is visible, but can't be edited (unless it makes sense to be editable).

PS: Would this approach be useful to implement godotengine/godot-proposals#8091?

@SaracenOne
Copy link
Member Author

So I actually did originally use read-only here (along with adding to the constant list), but I was bothered somewhat by the lack of the ability to selected read-only values for copy-pasting, but I think you're right that it would be better to add it and improve the interactions with read only properties.

Regarding that proposal, yeah, I agree that that is a problem, I think we do need a more general-purpose way to define properties which make sense to only show up in the remote debugger. I wonder what would be the best way to implement this.

@SaracenOne
Copy link
Member Author

Okay, updated, it's now flagged appropriately as read-only.

@akien-mga akien-mga merged commit 8d7f3d6 into godotengine:master Oct 23, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants