Permission documentation

This commit is contained in:
hydrabolt
2015-10-27 21:30:47 +00:00
parent 6b18f42728
commit 4f64fa6bbb
4 changed files with 82 additions and 1 deletions

View File

@@ -52,6 +52,10 @@ var ChannelPermissions = (function () {
};
};
ChannelPermissions.prototype.serialize = function serialize() {
return this.serialise();
};
ChannelPermissions.prototype.getBit = function getBit(x) {
if ((this.packed >>> 3 & 1) === 1) {
return true;