Disable subscribe/unsubscribe commands temporarily
This commit is contained in:
parent
2ae3e1fbda
commit
48f03354d3
@ -36,21 +36,21 @@ class Command extends PlayerConnectionEvent {
|
|||||||
return jsonEncode(toJson());
|
return jsonEncode(toJson());
|
||||||
}
|
}
|
||||||
|
|
||||||
factory Command.subscribe(String property) {
|
// factory Command.subscribe(String property) {
|
||||||
return Command(
|
// return Command(
|
||||||
type: 'subscribe',
|
// type: 'subscribe',
|
||||||
value: {
|
// value: {
|
||||||
'property': property,
|
// 'property': property,
|
||||||
},
|
// },
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
factory Command.unsubscribeAll() {
|
// factory Command.unsubscribeAll() {
|
||||||
return Command(
|
// return Command(
|
||||||
type: 'unsubscribe_all',
|
// type: 'unsubscribe_all',
|
||||||
value: {},
|
// value: {},
|
||||||
);
|
// );
|
||||||
}
|
// }
|
||||||
|
|
||||||
factory Command.load(String url) {
|
factory Command.load(String url) {
|
||||||
return Command(
|
return Command(
|
||||||
|
Loading…
Reference in New Issue
Block a user