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

Packet Handler: MODULE_STATE_CHANGE #24

Open
acagliano opened this issue Sep 21, 2020 · 0 comments
Open

Packet Handler: MODULE_STATE_CHANGE #24

acagliano opened this issue Sep 21, 2020 · 0 comments
Assignees

Comments

@acagliano
Copy link
Owner

Implement Packet Handler for Module State Change.

CLIENT <=> SERVER
[Byte 0] MODULE_STATE_CHANGE
[Byte 1] Slot ID to modify (or 0xf0 to modify hull module)
[Byte 2] Action (see second code block)
[Byte 3] New Value to set (SERVER => CLIENT only)

Possible Actions

// SERVER => CLIENT
CHANGE_STATUS_FLAGS,     // edit status flags
CHANGE_HEALTH,     // update saved health %
// CLIENT => SERVER
CHANGE_ONLINE_STATE = 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants