Skip to content

Conversation

@jefvel
Copy link

@jefvel jefvel commented Jan 21, 2025

can be used like this:

@:rpc(all) @:visible(group)
public function groupMethod() { trace('hello'); }

It will only be forwarded to clients with visibility set to true. for #90

can be used like this:
@:rpc(all) @:visible(group)
public function groupMethod() { trace('hello'); }

It will only be forwarded to clients with visibility set to true
@ncannasse
Copy link
Member

In implementation I would allow several @:visible and generate a visibility mask testing for at least one of the groups, and use 0 as a default value instead of null.

@jefvel
Copy link
Author

jefvel commented Jan 22, 2025

Made it possible to use multiple @:visible now, and default the mask to 0 👍

@jefvel
Copy link
Author

jefvel commented Jan 30, 2025

I updated the readme with info about visibility ( I hope I got it mostly correct this time :) )

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

Successfully merging this pull request may close these issues.

2 participants