Comments (14)
Yes it is not up-to-date.
from node-mumble.
@Prior99, when you did the documentation, did you have a look at JSDoc or anything similar? Think it might be better to have the documentation derived from the code in the long run. Of course for stuff like events we'd then need to add more syntax in the code..
from node-mumble.
How would https://github.com/Rantanen/node-mumble/wiki/APIv2 look?
That's done using the jsdoc comments in the cec9e2d commit and jsdoc2md.
Didn't try documenting the events yet though so those are missing - and only tested on that one class.
from node-mumble.
I like it. No I didn't have a look at it, I wantes to have it done fast ;-) who likes to write documentation?
from node-mumble.
Working on this (because it's easier than the input streams which are a lot of work :p): e0d7d49
Travis is under maintenance so wasn't able to push this there. Ideally in future it would be enough to land the documentation as JSDoc among the code and Travis build would push the documentation online to the wiki. Would let us document the functionality as we implement it instead of having to go to the wiki later to update it.
from node-mumble.
I like it.
from node-mumble.
Allow me to say the documentation is not as good as the code. However, I'm loving that code so where does that leave us? :-)
from node-mumble.
The documentation is now generated from the JSDoc comments so it should be less outdated.
https://github.com/Rantanen/node-mumble/wiki/MumbleWrapper
https://github.com/Rantanen/node-mumble/wiki/User
https://github.com/Rantanen/node-mumble/wiki/Channel
Can't say whether the actual quality went up or down, but it should at least be easier to maintain while implementing new features now.
from node-mumble.
Wow. I love it. Thank you so much, writing doc is pain in the ass.
from node-mumble.
Well then. Even though the new documentation is awesome, I still can't track users moving :(
Closed.
from node-mumble.
Maybe the example here can help you? Though I agree it's not documented in User
from node-mumble.
I already tried that, the event didn't seem to get fired...
2015-05-14 12:41 GMT+02:00 bendem [email protected]:
Maybe the example here
https://github.com/Rantanen/node-mumble/wiki/MumbleWrapper#event-user-
can help you? Though I agree it's not documented in User
https://github.com/Rantanen/node-mumble/wiki/User—
Reply to this email directly or view it on GitHub
#29 (comment)
.
from node-mumble.
Just tried
connection.on('user-move', function(user, fromChannel, toChannel) {
console.log('User ' + user.name + ' moved from channel ' + fromChannel.name + ' to ' + toChannel.name);
});
and it displayed User bendem moved from channel A to B
as expected.
from node-mumble.
Ok then maybe I had a typo or something...
I will definately try this!
2015-05-14 12:50 GMT+02:00 bendem [email protected]:
Just tried
connection.on('user-move', function(user, fromChannel, toChannel) {
console.log('User ' + user.name + ' moved from channel ' + fromChannel.name + ' to ' + toChannel.name);
});and it displayed User bendem moved from channel A to B as expected.
—
Reply to this email directly or view it on GitHub
#29 (comment)
.
from node-mumble.
Related Issues (20)
- Trouble authenticating user HOT 2
- Events in the client HOT 7
- Register user HOT 9
- Deaf state not updated on user
- user.inputStream() fails with TypeError: cannot set whisperId of undefined HOT 2
- Not receiving private message event? HOT 4
- Is this project dead? HOT 3
- Update dependencies HOT 3
- BIZZARE WEIRD ERRORS UPON INSTALLATION HOT 4
- Play audio from channel (server) HOT 4
- Not recording from subgroup. HOT 1
- npm install not working anymore HOT 3
- Positional Audio HOT 1
- Install error 886 verbose stack Error: [email protected] install: `node-gyp rebuild` HOT 2
- v8 warning for native addon on node v6+ HOT 4
- How do I set the comment for the connected user? HOT 5
- Fatal error in api.cc HOT 6
- Can't run sendMessage function from outside mumble.connect HOT 2
- Windows 10 disconnects after a few seconds HOT 1
- Is there an example how to play/stream audio to Web Audio API ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-mumble.