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

Add hooks in client for updates #39

Open
dylwhich opened this issue Jan 16, 2015 · 1 comment
Open

Add hooks in client for updates #39

dylwhich opened this issue Jan 16, 2015 · 1 comment
Labels

Comments

@dylwhich
Copy link
Member

Right now the only way to get updates as they come in is to catch all of them and sift through yourself. This could be made much easier, by binding listeners for changes of the following types:

  • For a single property of an object
  • For any property of an object
  • For a single property of any instance of a class
  • For any property of any instance of a class
  • For when an instance of an object is created/destroyed
@alexander-bauer
Copy link
Member

This could use a JQuery-like 'event' system, where you bind callbacks by invoking client.$ClientRequestUpdater.onUpdate("Player", callback), or something of that nature.

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

No branches or pull requests

2 participants