OrfeasZ / ZHMModSDK

A modding SDK for Hitman 3
Other
109 stars 27 forks source link

[Editor] Add EditorServer Enabled Checkbox #114

Closed dbierek closed 2 months ago

dbierek commented 2 months ago

There are times when working with GlacierKit and the Editor mod where you want to be able to modify an entity in GlacierKit without having the changes be reflected in Editor or vice versa.

This PR adds a checkbox toggle to the menu to allow disabling / enabling the EditorServer. When disabled, messages received by EditorServer will be ignored, and EditorServer will not send messages. The socket is kept open, so after reenabling, messages are sent and received again without the need for another handshake.

image image image image

Since this takes up some real estate on the menu bar, #111 would work well with this.