lib/mumble-ruby/messages.rb in mumble-ruby-0.0.3 vs lib/mumble-ruby/messages.rb in mumble-ruby-1.0.0
- old
+ new
@@ -1,16 +1,16 @@
### Generated by rprotoc. DO NOT EDIT!
-### <proto file: Mumble.proto>
+### <proto file: mumble.proto>
require 'protobuf/message/message'
require 'protobuf/message/enum'
require 'protobuf/message/service'
require 'protobuf/message/extend'
module Mumble
module Messages
- ::Protobuf::OPTIONS[:optimize_for] = :SPEED
+ ::Protobuf::OPTIONS[:"optimize_for"] = :SPEED
HEADER_FORMAT = "nN"
@@sym_to_type = {
version: 0,
udp_tunnel: 1,
@@ -34,11 +34,12 @@
voice_target: 19,
permission_query: 20,
codec_version: 21,
user_stats: 22,
request_blob: 23,
- server_config: 24
+ server_config: 24,
+ suggest_config: 25
}
@@type_to_sym = @@sym_to_type.invert
class << self
@@ -76,10 +77,11 @@
defined_in __FILE__
optional :string, :username, 1
optional :string, :password, 2
repeated :string, :tokens, 3
repeated :int32, :celt_versions, 4
+ optional :bool, :opus, 5, :default => false
end
class Ping < ::Protobuf::Message
defined_in __FILE__
optional :uint64, :timestamp, 1
optional :uint32, :good, 2
@@ -122,10 +124,16 @@
optional :uint32, :session, 1
optional :uint32, :max_bandwidth, 2
optional :string, :welcome_text, 3
optional :uint64, :permissions, 4
end
+ class SuggestConfig < ::Protobuf::Message
+ defined_in __FILE__
+ optional :uint32, :version, 1
+ optional :bool, :positional, 2
+ optional :bool, :push_to_talk, 3
+ end
class ChannelRemove < ::Protobuf::Message
defined_in __FILE__
required :uint32, :channel_id, 1
end
class ChannelState < ::Protobuf::Message
@@ -205,10 +213,11 @@
H9K = value(:H9K, 5)
TemporaryChannel = value(:TemporaryChannel, 6)
MissingCertificate = value(:MissingCertificate, 7)
UserName = value(:UserName, 8)
ChannelFull = value(:ChannelFull, 9)
+ NestingLimit = value(:NestingLimit, 10)
end
optional :uint32, :permission, 1
optional :uint32, :channel_id, 2
optional :uint32, :session, 3
optional :string, :reason, 4
@@ -252,21 +261,27 @@
defined_in __FILE__
optional :bytes, :key, 1
optional :bytes, :client_nonce, 2
optional :bytes, :server_nonce, 3
end
- class ContextActionAdd < ::Protobuf::Message
+ class ContextActionModify < ::Protobuf::Message
defined_in __FILE__
class Context < ::Protobuf::Enum
defined_in __FILE__
Server = value(:Server, 1)
Channel = value(:Channel, 2)
User = value(:User, 4)
end
+ class Operation < ::Protobuf::Enum
+ defined_in __FILE__
+ Add = value(:Add, 0)
+ Remove = value(:Remove, 1)
+ end
required :string, :action, 1
- required :string, :text, 2
+ optional :string, :text, 2
optional :uint32, :context, 3
+ optional :Operation, :operation, 4
end
class ContextAction < ::Protobuf::Message
defined_in __FILE__
optional :uint32, :session, 1
optional :uint32, :channel_id, 2
@@ -303,10 +318,11 @@
class CodecVersion < ::Protobuf::Message
defined_in __FILE__
required :int32, :alpha, 1
required :int32, :beta, 2
required :bool, :prefer_alpha, 3, :default => true
+ optional :bool, :opus, 4, :default => false
end
class UserStats < ::Protobuf::Message
defined_in __FILE__
class Stats < ::Protobuf::Message
defined_in __FILE__
@@ -331,9 +347,16 @@
optional :bytes, :address, 14
optional :uint32, :bandwidth, 15
optional :uint32, :onlinesecs, 16
optional :uint32, :idlesecs, 17
optional :bool, :strong_certificate, 18, :default => false
+ optional :bool, :opus, 19, :default => false
+ end
+ class SuggestConfig < ::Protobuf::Message
+ defined_in __FILE__
+ optional :uint32, :version, 1
+ optional :bool, :positional, 2
+ optional :bool, :push_to_talk, 3
end
class RequestBlob < ::Protobuf::Message
defined_in __FILE__
repeated :uint32, :session_texture, 1
repeated :uint32, :session_comment, 2