Add ability to propogate result of vote and making a vote.
This commit is contained in:
@@ -88,4 +88,14 @@ class SubmitVote(Message):
|
||||
self._data["vote"] = value
|
||||
|
||||
class GetSwarmParticipants(Message):
|
||||
_type = "listening"
|
||||
_type = "listening"
|
||||
|
||||
class VoteResult(Message):
|
||||
_type = "voteresult"
|
||||
|
||||
def __init__(self, vote, sender='', data={}):
|
||||
super().__init__(sender=sender, data=data)
|
||||
self._data["vote"] = vote
|
||||
|
||||
class ClientVoteRequest(Message):
|
||||
_type = "clientvoterequest"
|
||||
Reference in New Issue
Block a user