Documentation ¶
Index ¶
- Variables
- type BanUserFromRoomRequest
- func (*BanUserFromRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BanUserFromRoomRequest) GetRoomId() string
- func (x *BanUserFromRoomRequest) GetUserId() string
- func (*BanUserFromRoomRequest) ProtoMessage()
- func (x *BanUserFromRoomRequest) ProtoReflect() protoreflect.Message
- func (x *BanUserFromRoomRequest) Reset()
- func (x *BanUserFromRoomRequest) String() string
- type BanUserFromRoomResponse
- type CheckIfRoomExistsRequest
- func (*CheckIfRoomExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckIfRoomExistsRequest) GetRoomId() string
- func (*CheckIfRoomExistsRequest) ProtoMessage()
- func (x *CheckIfRoomExistsRequest) ProtoReflect() protoreflect.Message
- func (x *CheckIfRoomExistsRequest) Reset()
- func (x *CheckIfRoomExistsRequest) String() string
- type CheckIfRoomExistsResponse
- func (*CheckIfRoomExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckIfRoomExistsResponse) GetExists() bool
- func (*CheckIfRoomExistsResponse) ProtoMessage()
- func (x *CheckIfRoomExistsResponse) ProtoReflect() protoreflect.Message
- func (x *CheckIfRoomExistsResponse) Reset()
- func (x *CheckIfRoomExistsResponse) String() string
- type CreateRoomData
- type CreateRoomRequest
- func (*CreateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomRequest) GetHostId() string
- func (x *CreateRoomRequest) GetMatchDuration() *durationpb.Duration
- func (x *CreateRoomRequest) GetMaxPlayers() uint32
- func (x *CreateRoomRequest) GetName() string
- func (*CreateRoomRequest) ProtoMessage()
- func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRoomRequest) Reset()
- func (x *CreateRoomRequest) String() string
- type CreateRoomResponse
- func (*CreateRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRoomResponse) GetData() *CreateRoomData
- func (*CreateRoomResponse) ProtoMessage()
- func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message
- func (x *CreateRoomResponse) Reset()
- func (x *CreateRoomResponse) String() string
- type ErrorResponse
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetDescription() string
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetEventId() string
- func (x *Event) GetEventTime() *timestamppb.Timestamp
- func (x *Event) GetEventType() EventType
- func (x *Event) GetGenericEvent() *GenericEvent
- func (x *Event) GetRoomId() string
- func (x *Event) GetRoomStartingEvent() *RoomStartingEvent
- func (x *Event) GetUserEvent() *UserEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventType
- type Event_GenericEvent
- type Event_RoomStartingEvent
- type Event_UserEvent
- type GenericEvent
- type GetBannedUsersFromRoomRequest
- func (*GetBannedUsersFromRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBannedUsersFromRoomRequest) GetRoomId() string
- func (*GetBannedUsersFromRoomRequest) ProtoMessage()
- func (x *GetBannedUsersFromRoomRequest) ProtoReflect() protoreflect.Message
- func (x *GetBannedUsersFromRoomRequest) Reset()
- func (x *GetBannedUsersFromRoomRequest) String() string
- type GetBannedUsersFromRoomResponse
- func (*GetBannedUsersFromRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBannedUsersFromRoomResponse) GetUserIds() []string
- func (*GetBannedUsersFromRoomResponse) ProtoMessage()
- func (x *GetBannedUsersFromRoomResponse) ProtoReflect() protoreflect.Message
- func (x *GetBannedUsersFromRoomResponse) Reset()
- func (x *GetBannedUsersFromRoomResponse) String() string
- type GetQuestionCountRequest
- func (*GetQuestionCountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionCountRequest) GetRoomId() string
- func (*GetQuestionCountRequest) ProtoMessage()
- func (x *GetQuestionCountRequest) ProtoReflect() protoreflect.Message
- func (x *GetQuestionCountRequest) Reset()
- func (x *GetQuestionCountRequest) String() string
- type GetQuestionCountResponse
- func (*GetQuestionCountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuestionCountResponse) GetData() *QuestionCountData
- func (*GetQuestionCountResponse) ProtoMessage()
- func (x *GetQuestionCountResponse) ProtoReflect() protoreflect.Message
- func (x *GetQuestionCountResponse) Reset()
- func (x *GetQuestionCountResponse) String() string
- type GetRoomRequest
- type GetRoomResponse
- func (*GetRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRoomResponse) GetHostId() string
- func (x *GetRoomResponse) GetMaxPlayers() int32
- func (x *GetRoomResponse) GetName() string
- func (x *GetRoomResponse) GetQuestionCount() int32
- func (x *GetRoomResponse) GetRoomStatus() RoomStatus
- func (*GetRoomResponse) ProtoMessage()
- func (x *GetRoomResponse) ProtoReflect() protoreflect.Message
- func (x *GetRoomResponse) Reset()
- func (x *GetRoomResponse) String() string
- type GetUsersInRoomRequest
- func (*GetUsersInRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersInRoomRequest) GetRoomId() string
- func (*GetUsersInRoomRequest) ProtoMessage()
- func (x *GetUsersInRoomRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersInRoomRequest) Reset()
- func (x *GetUsersInRoomRequest) String() string
- type GetUsersInRoomResponse
- func (*GetUsersInRoomResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersInRoomResponse) GetUserIds() []string
- func (*GetUsersInRoomResponse) ProtoMessage()
- func (x *GetUsersInRoomResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersInRoomResponse) Reset()
- func (x *GetUsersInRoomResponse) String() string
- type MatchData
- type QuestionCountData
- func (*QuestionCountData) Descriptor() ([]byte, []int)deprecated
- func (x *QuestionCountData) GetQuestionCount() int32
- func (*QuestionCountData) ProtoMessage()
- func (x *QuestionCountData) ProtoReflect() protoreflect.Message
- func (x *QuestionCountData) Reset()
- func (x *QuestionCountData) String() string
- type RegisterUserInRoomRequest
- func (*RegisterUserInRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterUserInRoomRequest) GetRoomId() string
- func (x *RegisterUserInRoomRequest) GetUserId() string
- func (*RegisterUserInRoomRequest) ProtoMessage()
- func (x *RegisterUserInRoomRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterUserInRoomRequest) Reset()
- func (x *RegisterUserInRoomRequest) String() string
- type RegisterUserInRoomResponse
- type RemoveUserFromRoomRequest
- func (*RemoveUserFromRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveUserFromRoomRequest) GetRoomId() string
- func (x *RemoveUserFromRoomRequest) GetUserId() string
- func (*RemoveUserFromRoomRequest) ProtoMessage()
- func (x *RemoveUserFromRoomRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveUserFromRoomRequest) Reset()
- func (x *RemoveUserFromRoomRequest) String() string
- type RemoveUserFromRoomResponse
- type RoomStartingEvent
- func (*RoomStartingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RoomStartingEvent) GetQuestionSetId() string
- func (x *RoomStartingEvent) GetStartsIn() *durationpb.Duration
- func (*RoomStartingEvent) ProtoMessage()
- func (x *RoomStartingEvent) ProtoReflect() protoreflect.Message
- func (x *RoomStartingEvent) Reset()
- func (x *RoomStartingEvent) String() string
- type RoomStatus
- type StartMatchRequest
- type StartMatchResponse
- func (*StartMatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartMatchResponse) GetData() *MatchData
- func (*StartMatchResponse) ProtoMessage()
- func (x *StartMatchResponse) ProtoReflect() protoreflect.Message
- func (x *StartMatchResponse) Reset()
- func (x *StartMatchResponse) String() string
- type SubscribeAllRoomEventsRequest
- func (*SubscribeAllRoomEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeAllRoomEventsRequest) ProtoMessage()
- func (x *SubscribeAllRoomEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeAllRoomEventsRequest) Reset()
- func (x *SubscribeAllRoomEventsRequest) String() string
- type SubscribeAllRoomEventsResponse
- func (*SubscribeAllRoomEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeAllRoomEventsResponse) GetData() *Event
- func (*SubscribeAllRoomEventsResponse) ProtoMessage()
- func (x *SubscribeAllRoomEventsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeAllRoomEventsResponse) Reset()
- func (x *SubscribeAllRoomEventsResponse) String() string
- type SubscribeRoomEventsRequest
- func (*SubscribeRoomEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRoomEventsRequest) GetRoomId() string
- func (*SubscribeRoomEventsRequest) ProtoMessage()
- func (x *SubscribeRoomEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeRoomEventsRequest) Reset()
- func (x *SubscribeRoomEventsRequest) String() string
- type SubscribeRoomEventsResponse
- func (*SubscribeRoomEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeRoomEventsResponse) GetData() *Event
- func (*SubscribeRoomEventsResponse) ProtoMessage()
- func (x *SubscribeRoomEventsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeRoomEventsResponse) Reset()
- func (x *SubscribeRoomEventsResponse) String() string
- type UnbanUserFromRoomRequest
- func (*UnbanUserFromRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnbanUserFromRoomRequest) GetRoomId() string
- func (x *UnbanUserFromRoomRequest) GetUserId() string
- func (*UnbanUserFromRoomRequest) ProtoMessage()
- func (x *UnbanUserFromRoomRequest) ProtoReflect() protoreflect.Message
- func (x *UnbanUserFromRoomRequest) Reset()
- func (x *UnbanUserFromRoomRequest) String() string
- type UnbanUserFromRoomResponse
- type UserEvent
- type UserFinishedAnsweringRequest
- func (*UserFinishedAnsweringRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserFinishedAnsweringRequest) GetRoomId() string
- func (x *UserFinishedAnsweringRequest) GetUserId() string
- func (*UserFinishedAnsweringRequest) ProtoMessage()
- func (x *UserFinishedAnsweringRequest) ProtoReflect() protoreflect.Message
- func (x *UserFinishedAnsweringRequest) Reset()
- func (x *UserFinishedAnsweringRequest) String() string
- type UserFinishedAnsweringResponse
- func (*UserFinishedAnsweringResponse) Descriptor() ([]byte, []int)deprecated
- func (*UserFinishedAnsweringResponse) ProtoMessage()
- func (x *UserFinishedAnsweringResponse) ProtoReflect() protoreflect.Message
- func (x *UserFinishedAnsweringResponse) Reset()
- func (x *UserFinishedAnsweringResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_UNSPECIFIED", 1: "EVENT_TYPE_ROOM_STARTING", 2: "EVENT_TYPE_ROOM_PLAYING", 3: "EVENT_TYPE_ROOM_ENDING", 4: "EVENT_TYPE_ROOM_USER_HOST_CHANGED", 5: "EVENT_TYPE_ROOM_USER_JOINED", 6: "EVENT_TYPE_ROOM_USER_LEFT", 7: "EVENT_TYPE_ROOM_USER_BANNED", 8: "EVENT_TYPE_ROOM_USER_UNBANNED", 20: "EVENT_TYPE_ROOM_ERROR_STARTING", } EventType_value = map[string]int32{ "EVENT_TYPE_UNSPECIFIED": 0, "EVENT_TYPE_ROOM_STARTING": 1, "EVENT_TYPE_ROOM_PLAYING": 2, "EVENT_TYPE_ROOM_ENDING": 3, "EVENT_TYPE_ROOM_USER_HOST_CHANGED": 4, "EVENT_TYPE_ROOM_USER_JOINED": 5, "EVENT_TYPE_ROOM_USER_LEFT": 6, "EVENT_TYPE_ROOM_USER_BANNED": 7, "EVENT_TYPE_ROOM_USER_UNBANNED": 8, "EVENT_TYPE_ROOM_ERROR_STARTING": 20, } )
Enum value maps for EventType.
var ( RoomStatus_name = map[int32]string{ 0: "ROOM_STATUS_UNSPECIFIED", 1: "ROOM_STATUS_WAITING", 2: "ROOM_STATUS_STARTING", 3: "ROOM_STATUS_PLAYING", 4: "ROOM_STATUS_ENDING", } RoomStatus_value = map[string]int32{ "ROOM_STATUS_UNSPECIFIED": 0, "ROOM_STATUS_WAITING": 1, "ROOM_STATUS_STARTING": 2, "ROOM_STATUS_PLAYING": 3, "ROOM_STATUS_ENDING": 4, } )
Enum value maps for RoomStatus.
var File_connectrpc_rooms_v1_events_proto protoreflect.FileDescriptor
var File_connectrpc_rooms_v1_rooms_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BanUserFromRoomRequest ¶
type BanUserFromRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*BanUserFromRoomRequest) Descriptor
deprecated
func (*BanUserFromRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use BanUserFromRoomRequest.ProtoReflect.Descriptor instead.
func (*BanUserFromRoomRequest) GetRoomId ¶
func (x *BanUserFromRoomRequest) GetRoomId() string
func (*BanUserFromRoomRequest) GetUserId ¶
func (x *BanUserFromRoomRequest) GetUserId() string
func (*BanUserFromRoomRequest) ProtoMessage ¶
func (*BanUserFromRoomRequest) ProtoMessage()
func (*BanUserFromRoomRequest) ProtoReflect ¶
func (x *BanUserFromRoomRequest) ProtoReflect() protoreflect.Message
func (*BanUserFromRoomRequest) Reset ¶
func (x *BanUserFromRoomRequest) Reset()
func (*BanUserFromRoomRequest) String ¶
func (x *BanUserFromRoomRequest) String() string
type BanUserFromRoomResponse ¶
type BanUserFromRoomResponse struct {
// contains filtered or unexported fields
}
func (*BanUserFromRoomResponse) Descriptor
deprecated
func (*BanUserFromRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use BanUserFromRoomResponse.ProtoReflect.Descriptor instead.
func (*BanUserFromRoomResponse) ProtoMessage ¶
func (*BanUserFromRoomResponse) ProtoMessage()
func (*BanUserFromRoomResponse) ProtoReflect ¶
func (x *BanUserFromRoomResponse) ProtoReflect() protoreflect.Message
func (*BanUserFromRoomResponse) Reset ¶
func (x *BanUserFromRoomResponse) Reset()
func (*BanUserFromRoomResponse) String ¶
func (x *BanUserFromRoomResponse) String() string
type CheckIfRoomExistsRequest ¶ added in v0.7.3
type CheckIfRoomExistsRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*CheckIfRoomExistsRequest) Descriptor
deprecated
added in
v0.7.3
func (*CheckIfRoomExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckIfRoomExistsRequest.ProtoReflect.Descriptor instead.
func (*CheckIfRoomExistsRequest) GetRoomId ¶ added in v0.7.3
func (x *CheckIfRoomExistsRequest) GetRoomId() string
func (*CheckIfRoomExistsRequest) ProtoMessage ¶ added in v0.7.3
func (*CheckIfRoomExistsRequest) ProtoMessage()
func (*CheckIfRoomExistsRequest) ProtoReflect ¶ added in v0.7.3
func (x *CheckIfRoomExistsRequest) ProtoReflect() protoreflect.Message
func (*CheckIfRoomExistsRequest) Reset ¶ added in v0.7.3
func (x *CheckIfRoomExistsRequest) Reset()
func (*CheckIfRoomExistsRequest) String ¶ added in v0.7.3
func (x *CheckIfRoomExistsRequest) String() string
type CheckIfRoomExistsResponse ¶ added in v0.7.3
type CheckIfRoomExistsResponse struct { Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"` // contains filtered or unexported fields }
func (*CheckIfRoomExistsResponse) Descriptor
deprecated
added in
v0.7.3
func (*CheckIfRoomExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckIfRoomExistsResponse.ProtoReflect.Descriptor instead.
func (*CheckIfRoomExistsResponse) GetExists ¶ added in v0.7.3
func (x *CheckIfRoomExistsResponse) GetExists() bool
func (*CheckIfRoomExistsResponse) ProtoMessage ¶ added in v0.7.3
func (*CheckIfRoomExistsResponse) ProtoMessage()
func (*CheckIfRoomExistsResponse) ProtoReflect ¶ added in v0.7.3
func (x *CheckIfRoomExistsResponse) ProtoReflect() protoreflect.Message
func (*CheckIfRoomExistsResponse) Reset ¶ added in v0.7.3
func (x *CheckIfRoomExistsResponse) Reset()
func (*CheckIfRoomExistsResponse) String ¶ added in v0.7.3
func (x *CheckIfRoomExistsResponse) String() string
type CreateRoomData ¶
type CreateRoomData struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomData) Descriptor
deprecated
func (*CreateRoomData) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomData.ProtoReflect.Descriptor instead.
func (*CreateRoomData) GetRoomId ¶
func (x *CreateRoomData) GetRoomId() string
func (*CreateRoomData) ProtoMessage ¶
func (*CreateRoomData) ProtoMessage()
func (*CreateRoomData) ProtoReflect ¶
func (x *CreateRoomData) ProtoReflect() protoreflect.Message
func (*CreateRoomData) Reset ¶
func (x *CreateRoomData) Reset()
func (*CreateRoomData) String ¶
func (x *CreateRoomData) String() string
type CreateRoomRequest ¶
type CreateRoomRequest struct { HostId string `protobuf:"bytes,1,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` MaxPlayers uint32 `protobuf:"varint,3,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"` MatchDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=match_duration,json=matchDuration,proto3,oneof" json:"match_duration,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomRequest) Descriptor
deprecated
func (*CreateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomRequest.ProtoReflect.Descriptor instead.
func (*CreateRoomRequest) GetHostId ¶
func (x *CreateRoomRequest) GetHostId() string
func (*CreateRoomRequest) GetMatchDuration ¶ added in v0.7.2
func (x *CreateRoomRequest) GetMatchDuration() *durationpb.Duration
func (*CreateRoomRequest) GetMaxPlayers ¶
func (x *CreateRoomRequest) GetMaxPlayers() uint32
func (*CreateRoomRequest) GetName ¶
func (x *CreateRoomRequest) GetName() string
func (*CreateRoomRequest) ProtoMessage ¶
func (*CreateRoomRequest) ProtoMessage()
func (*CreateRoomRequest) ProtoReflect ¶
func (x *CreateRoomRequest) ProtoReflect() protoreflect.Message
func (*CreateRoomRequest) Reset ¶
func (x *CreateRoomRequest) Reset()
func (*CreateRoomRequest) String ¶
func (x *CreateRoomRequest) String() string
type CreateRoomResponse ¶
type CreateRoomResponse struct { Data *CreateRoomData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateRoomResponse) Descriptor
deprecated
func (*CreateRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateRoomResponse.ProtoReflect.Descriptor instead.
func (*CreateRoomResponse) GetData ¶
func (x *CreateRoomResponse) GetData() *CreateRoomData
func (*CreateRoomResponse) ProtoMessage ¶
func (*CreateRoomResponse) ProtoMessage()
func (*CreateRoomResponse) ProtoReflect ¶
func (x *CreateRoomResponse) ProtoReflect() protoreflect.Message
func (*CreateRoomResponse) Reset ¶
func (x *CreateRoomResponse) Reset()
func (*CreateRoomResponse) String ¶
func (x *CreateRoomResponse) String() string
type ErrorResponse ¶
type ErrorResponse struct {
// contains filtered or unexported fields
}
func (*ErrorResponse) Descriptor
deprecated
func (*ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
func (*ErrorResponse) ProtoMessage ¶
func (*ErrorResponse) ProtoMessage()
func (*ErrorResponse) ProtoReflect ¶
func (x *ErrorResponse) ProtoReflect() protoreflect.Message
func (*ErrorResponse) Reset ¶
func (x *ErrorResponse) Reset()
func (*ErrorResponse) String ¶
func (x *ErrorResponse) String() string
type Event ¶
type Event struct { EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"` EventTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` EventType EventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=connectrpc.rooms.v1.EventType" json:"event_type,omitempty"` RoomId string `protobuf:"bytes,4,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` Description *string `protobuf:"bytes,5,opt,name=description,proto3,oneof" json:"description,omitempty"` // Types that are assignable to Event: // // *Event_GenericEvent // *Event_UserEvent // *Event_RoomStartingEvent Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
Message representing a room event
func (*Event) Descriptor
deprecated
func (*Event) GetDescription ¶
func (*Event) GetEventId ¶
func (*Event) GetEventTime ¶
func (x *Event) GetEventTime() *timestamppb.Timestamp
func (*Event) GetEventType ¶
func (*Event) GetGenericEvent ¶
func (x *Event) GetGenericEvent() *GenericEvent
func (*Event) GetRoomStartingEvent ¶ added in v0.7.0
func (x *Event) GetRoomStartingEvent() *RoomStartingEvent
func (*Event) GetUserEvent ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
Enum for different types of room events
const ( EventType_EVENT_TYPE_UNSPECIFIED EventType = 0 EventType_EVENT_TYPE_ROOM_STARTING EventType = 1 EventType_EVENT_TYPE_ROOM_PLAYING EventType = 2 EventType_EVENT_TYPE_ROOM_ENDING EventType = 3 EventType_EVENT_TYPE_ROOM_USER_HOST_CHANGED EventType = 4 EventType_EVENT_TYPE_ROOM_USER_JOINED EventType = 5 EventType_EVENT_TYPE_ROOM_USER_LEFT EventType = 6 EventType_EVENT_TYPE_ROOM_USER_BANNED EventType = 7 EventType_EVENT_TYPE_ROOM_USER_UNBANNED EventType = 8 EventType_EVENT_TYPE_ROOM_ERROR_STARTING EventType = 20 )
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type Event_GenericEvent ¶
type Event_GenericEvent struct {
GenericEvent *GenericEvent `protobuf:"bytes,10,opt,name=generic_event,json=genericEvent,proto3,oneof"`
}
type Event_RoomStartingEvent ¶ added in v0.7.0
type Event_RoomStartingEvent struct {
RoomStartingEvent *RoomStartingEvent `protobuf:"bytes,12,opt,name=room_starting_event,json=roomStartingEvent,proto3,oneof"`
}
type Event_UserEvent ¶
type Event_UserEvent struct {
UserEvent *UserEvent `protobuf:"bytes,11,opt,name=user_event,json=userEvent,proto3,oneof"`
}
type GenericEvent ¶
type GenericEvent struct {
// contains filtered or unexported fields
}
func (*GenericEvent) Descriptor
deprecated
func (*GenericEvent) Descriptor() ([]byte, []int)
Deprecated: Use GenericEvent.ProtoReflect.Descriptor instead.
func (*GenericEvent) ProtoMessage ¶
func (*GenericEvent) ProtoMessage()
func (*GenericEvent) ProtoReflect ¶
func (x *GenericEvent) ProtoReflect() protoreflect.Message
func (*GenericEvent) Reset ¶
func (x *GenericEvent) Reset()
func (*GenericEvent) String ¶
func (x *GenericEvent) String() string
type GetBannedUsersFromRoomRequest ¶ added in v0.8.0
type GetBannedUsersFromRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*GetBannedUsersFromRoomRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetBannedUsersFromRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBannedUsersFromRoomRequest.ProtoReflect.Descriptor instead.
func (*GetBannedUsersFromRoomRequest) GetRoomId ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomRequest) GetRoomId() string
func (*GetBannedUsersFromRoomRequest) ProtoMessage ¶ added in v0.8.0
func (*GetBannedUsersFromRoomRequest) ProtoMessage()
func (*GetBannedUsersFromRoomRequest) ProtoReflect ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomRequest) ProtoReflect() protoreflect.Message
func (*GetBannedUsersFromRoomRequest) Reset ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomRequest) Reset()
func (*GetBannedUsersFromRoomRequest) String ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomRequest) String() string
type GetBannedUsersFromRoomResponse ¶ added in v0.8.0
type GetBannedUsersFromRoomResponse struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*GetBannedUsersFromRoomResponse) Descriptor
deprecated
added in
v0.8.0
func (*GetBannedUsersFromRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBannedUsersFromRoomResponse.ProtoReflect.Descriptor instead.
func (*GetBannedUsersFromRoomResponse) GetUserIds ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomResponse) GetUserIds() []string
func (*GetBannedUsersFromRoomResponse) ProtoMessage ¶ added in v0.8.0
func (*GetBannedUsersFromRoomResponse) ProtoMessage()
func (*GetBannedUsersFromRoomResponse) ProtoReflect ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomResponse) ProtoReflect() protoreflect.Message
func (*GetBannedUsersFromRoomResponse) Reset ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomResponse) Reset()
func (*GetBannedUsersFromRoomResponse) String ¶ added in v0.8.0
func (x *GetBannedUsersFromRoomResponse) String() string
type GetQuestionCountRequest ¶
type GetQuestionCountRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionCountRequest) Descriptor
deprecated
func (*GetQuestionCountRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionCountRequest.ProtoReflect.Descriptor instead.
func (*GetQuestionCountRequest) GetRoomId ¶
func (x *GetQuestionCountRequest) GetRoomId() string
func (*GetQuestionCountRequest) ProtoMessage ¶
func (*GetQuestionCountRequest) ProtoMessage()
func (*GetQuestionCountRequest) ProtoReflect ¶
func (x *GetQuestionCountRequest) ProtoReflect() protoreflect.Message
func (*GetQuestionCountRequest) Reset ¶
func (x *GetQuestionCountRequest) Reset()
func (*GetQuestionCountRequest) String ¶
func (x *GetQuestionCountRequest) String() string
type GetQuestionCountResponse ¶
type GetQuestionCountResponse struct { Data *QuestionCountData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetQuestionCountResponse) Descriptor
deprecated
func (*GetQuestionCountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuestionCountResponse.ProtoReflect.Descriptor instead.
func (*GetQuestionCountResponse) GetData ¶
func (x *GetQuestionCountResponse) GetData() *QuestionCountData
func (*GetQuestionCountResponse) ProtoMessage ¶
func (*GetQuestionCountResponse) ProtoMessage()
func (*GetQuestionCountResponse) ProtoReflect ¶
func (x *GetQuestionCountResponse) ProtoReflect() protoreflect.Message
func (*GetQuestionCountResponse) Reset ¶
func (x *GetQuestionCountResponse) Reset()
func (*GetQuestionCountResponse) String ¶
func (x *GetQuestionCountResponse) String() string
type GetRoomRequest ¶ added in v0.6.3
type GetRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*GetRoomRequest) Descriptor
deprecated
added in
v0.6.3
func (*GetRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomRequest.ProtoReflect.Descriptor instead.
func (*GetRoomRequest) GetRoomId ¶ added in v0.6.3
func (x *GetRoomRequest) GetRoomId() string
func (*GetRoomRequest) ProtoMessage ¶ added in v0.6.3
func (*GetRoomRequest) ProtoMessage()
func (*GetRoomRequest) ProtoReflect ¶ added in v0.6.3
func (x *GetRoomRequest) ProtoReflect() protoreflect.Message
func (*GetRoomRequest) Reset ¶ added in v0.6.3
func (x *GetRoomRequest) Reset()
func (*GetRoomRequest) String ¶ added in v0.6.3
func (x *GetRoomRequest) String() string
type GetRoomResponse ¶ added in v0.6.3
type GetRoomResponse struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` HostId string `protobuf:"bytes,2,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty"` MaxPlayers int32 `protobuf:"varint,3,opt,name=max_players,json=maxPlayers,proto3" json:"max_players,omitempty"` QuestionCount int32 `protobuf:"varint,4,opt,name=question_count,json=questionCount,proto3" json:"question_count,omitempty"` RoomStatus RoomStatus `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetRoomResponse) Descriptor
deprecated
added in
v0.6.3
func (*GetRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRoomResponse.ProtoReflect.Descriptor instead.
func (*GetRoomResponse) GetHostId ¶ added in v0.6.3
func (x *GetRoomResponse) GetHostId() string
func (*GetRoomResponse) GetMaxPlayers ¶ added in v0.6.3
func (x *GetRoomResponse) GetMaxPlayers() int32
func (*GetRoomResponse) GetName ¶ added in v0.6.3
func (x *GetRoomResponse) GetName() string
func (*GetRoomResponse) GetQuestionCount ¶ added in v0.6.3
func (x *GetRoomResponse) GetQuestionCount() int32
func (*GetRoomResponse) GetRoomStatus ¶ added in v0.6.3
func (x *GetRoomResponse) GetRoomStatus() RoomStatus
func (*GetRoomResponse) ProtoMessage ¶ added in v0.6.3
func (*GetRoomResponse) ProtoMessage()
func (*GetRoomResponse) ProtoReflect ¶ added in v0.6.3
func (x *GetRoomResponse) ProtoReflect() protoreflect.Message
func (*GetRoomResponse) Reset ¶ added in v0.6.3
func (x *GetRoomResponse) Reset()
func (*GetRoomResponse) String ¶ added in v0.6.3
func (x *GetRoomResponse) String() string
type GetUsersInRoomRequest ¶ added in v0.6.7
type GetUsersInRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*GetUsersInRoomRequest) Descriptor
deprecated
added in
v0.6.7
func (*GetUsersInRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersInRoomRequest.ProtoReflect.Descriptor instead.
func (*GetUsersInRoomRequest) GetRoomId ¶ added in v0.6.7
func (x *GetUsersInRoomRequest) GetRoomId() string
func (*GetUsersInRoomRequest) ProtoMessage ¶ added in v0.6.7
func (*GetUsersInRoomRequest) ProtoMessage()
func (*GetUsersInRoomRequest) ProtoReflect ¶ added in v0.6.7
func (x *GetUsersInRoomRequest) ProtoReflect() protoreflect.Message
func (*GetUsersInRoomRequest) Reset ¶ added in v0.6.7
func (x *GetUsersInRoomRequest) Reset()
func (*GetUsersInRoomRequest) String ¶ added in v0.6.7
func (x *GetUsersInRoomRequest) String() string
type GetUsersInRoomResponse ¶ added in v0.6.7
type GetUsersInRoomResponse struct { UserIds []string `protobuf:"bytes,1,rep,name=user_ids,json=userIds,proto3" json:"user_ids,omitempty"` // contains filtered or unexported fields }
func (*GetUsersInRoomResponse) Descriptor
deprecated
added in
v0.6.7
func (*GetUsersInRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersInRoomResponse.ProtoReflect.Descriptor instead.
func (*GetUsersInRoomResponse) GetUserIds ¶ added in v0.6.7
func (x *GetUsersInRoomResponse) GetUserIds() []string
func (*GetUsersInRoomResponse) ProtoMessage ¶ added in v0.6.7
func (*GetUsersInRoomResponse) ProtoMessage()
func (*GetUsersInRoomResponse) ProtoReflect ¶ added in v0.6.7
func (x *GetUsersInRoomResponse) ProtoReflect() protoreflect.Message
func (*GetUsersInRoomResponse) Reset ¶ added in v0.6.7
func (x *GetUsersInRoomResponse) Reset()
func (*GetUsersInRoomResponse) String ¶ added in v0.6.7
func (x *GetUsersInRoomResponse) String() string
type MatchData ¶
type MatchData struct { MatchId string `protobuf:"bytes,1,opt,name=match_id,json=matchId,proto3" json:"match_id,omitempty"` // contains filtered or unexported fields }
func (*MatchData) Descriptor
deprecated
func (*MatchData) GetMatchId ¶
func (*MatchData) ProtoMessage ¶
func (*MatchData) ProtoMessage()
func (*MatchData) ProtoReflect ¶
func (x *MatchData) ProtoReflect() protoreflect.Message
type QuestionCountData ¶
type QuestionCountData struct { QuestionCount int32 `protobuf:"varint,1,opt,name=question_count,json=questionCount,proto3" json:"question_count,omitempty"` // contains filtered or unexported fields }
func (*QuestionCountData) Descriptor
deprecated
func (*QuestionCountData) Descriptor() ([]byte, []int)
Deprecated: Use QuestionCountData.ProtoReflect.Descriptor instead.
func (*QuestionCountData) GetQuestionCount ¶
func (x *QuestionCountData) GetQuestionCount() int32
func (*QuestionCountData) ProtoMessage ¶
func (*QuestionCountData) ProtoMessage()
func (*QuestionCountData) ProtoReflect ¶
func (x *QuestionCountData) ProtoReflect() protoreflect.Message
func (*QuestionCountData) Reset ¶
func (x *QuestionCountData) Reset()
func (*QuestionCountData) String ¶
func (x *QuestionCountData) String() string
type RegisterUserInRoomRequest ¶
type RegisterUserInRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RegisterUserInRoomRequest) Descriptor
deprecated
func (*RegisterUserInRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterUserInRoomRequest.ProtoReflect.Descriptor instead.
func (*RegisterUserInRoomRequest) GetRoomId ¶
func (x *RegisterUserInRoomRequest) GetRoomId() string
func (*RegisterUserInRoomRequest) GetUserId ¶
func (x *RegisterUserInRoomRequest) GetUserId() string
func (*RegisterUserInRoomRequest) ProtoMessage ¶
func (*RegisterUserInRoomRequest) ProtoMessage()
func (*RegisterUserInRoomRequest) ProtoReflect ¶
func (x *RegisterUserInRoomRequest) ProtoReflect() protoreflect.Message
func (*RegisterUserInRoomRequest) Reset ¶
func (x *RegisterUserInRoomRequest) Reset()
func (*RegisterUserInRoomRequest) String ¶
func (x *RegisterUserInRoomRequest) String() string
type RegisterUserInRoomResponse ¶
type RegisterUserInRoomResponse struct {
// contains filtered or unexported fields
}
func (*RegisterUserInRoomResponse) Descriptor
deprecated
func (*RegisterUserInRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterUserInRoomResponse.ProtoReflect.Descriptor instead.
func (*RegisterUserInRoomResponse) ProtoMessage ¶
func (*RegisterUserInRoomResponse) ProtoMessage()
func (*RegisterUserInRoomResponse) ProtoReflect ¶
func (x *RegisterUserInRoomResponse) ProtoReflect() protoreflect.Message
func (*RegisterUserInRoomResponse) Reset ¶
func (x *RegisterUserInRoomResponse) Reset()
func (*RegisterUserInRoomResponse) String ¶
func (x *RegisterUserInRoomResponse) String() string
type RemoveUserFromRoomRequest ¶ added in v0.8.0
type RemoveUserFromRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveUserFromRoomRequest) Descriptor
deprecated
added in
v0.8.0
func (*RemoveUserFromRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserFromRoomRequest.ProtoReflect.Descriptor instead.
func (*RemoveUserFromRoomRequest) GetRoomId ¶ added in v0.8.0
func (x *RemoveUserFromRoomRequest) GetRoomId() string
func (*RemoveUserFromRoomRequest) GetUserId ¶ added in v0.8.0
func (x *RemoveUserFromRoomRequest) GetUserId() string
func (*RemoveUserFromRoomRequest) ProtoMessage ¶ added in v0.8.0
func (*RemoveUserFromRoomRequest) ProtoMessage()
func (*RemoveUserFromRoomRequest) ProtoReflect ¶ added in v0.8.0
func (x *RemoveUserFromRoomRequest) ProtoReflect() protoreflect.Message
func (*RemoveUserFromRoomRequest) Reset ¶ added in v0.8.0
func (x *RemoveUserFromRoomRequest) Reset()
func (*RemoveUserFromRoomRequest) String ¶ added in v0.8.0
func (x *RemoveUserFromRoomRequest) String() string
type RemoveUserFromRoomResponse ¶ added in v0.8.0
type RemoveUserFromRoomResponse struct {
// contains filtered or unexported fields
}
func (*RemoveUserFromRoomResponse) Descriptor
deprecated
added in
v0.8.0
func (*RemoveUserFromRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveUserFromRoomResponse.ProtoReflect.Descriptor instead.
func (*RemoveUserFromRoomResponse) ProtoMessage ¶ added in v0.8.0
func (*RemoveUserFromRoomResponse) ProtoMessage()
func (*RemoveUserFromRoomResponse) ProtoReflect ¶ added in v0.8.0
func (x *RemoveUserFromRoomResponse) ProtoReflect() protoreflect.Message
func (*RemoveUserFromRoomResponse) Reset ¶ added in v0.8.0
func (x *RemoveUserFromRoomResponse) Reset()
func (*RemoveUserFromRoomResponse) String ¶ added in v0.8.0
func (x *RemoveUserFromRoomResponse) String() string
type RoomStartingEvent ¶ added in v0.7.0
type RoomStartingEvent struct { StartsIn *durationpb.Duration `protobuf:"bytes,1,opt,name=starts_in,json=startsIn,proto3" json:"starts_in,omitempty"` QuestionSetId string `protobuf:"bytes,2,opt,name=question_set_id,json=questionSetId,proto3" json:"question_set_id,omitempty"` // contains filtered or unexported fields }
func (*RoomStartingEvent) Descriptor
deprecated
added in
v0.7.0
func (*RoomStartingEvent) Descriptor() ([]byte, []int)
Deprecated: Use RoomStartingEvent.ProtoReflect.Descriptor instead.
func (*RoomStartingEvent) GetQuestionSetId ¶ added in v0.7.0
func (x *RoomStartingEvent) GetQuestionSetId() string
func (*RoomStartingEvent) GetStartsIn ¶ added in v0.7.0
func (x *RoomStartingEvent) GetStartsIn() *durationpb.Duration
func (*RoomStartingEvent) ProtoMessage ¶ added in v0.7.0
func (*RoomStartingEvent) ProtoMessage()
func (*RoomStartingEvent) ProtoReflect ¶ added in v0.7.0
func (x *RoomStartingEvent) ProtoReflect() protoreflect.Message
func (*RoomStartingEvent) Reset ¶ added in v0.7.0
func (x *RoomStartingEvent) Reset()
func (*RoomStartingEvent) String ¶ added in v0.7.0
func (x *RoomStartingEvent) String() string
type RoomStatus ¶ added in v0.6.3
type RoomStatus int32
const ( RoomStatus_ROOM_STATUS_UNSPECIFIED RoomStatus = 0 RoomStatus_ROOM_STATUS_WAITING RoomStatus = 1 RoomStatus_ROOM_STATUS_STARTING RoomStatus = 2 RoomStatus_ROOM_STATUS_PLAYING RoomStatus = 3 RoomStatus_ROOM_STATUS_ENDING RoomStatus = 4 )
func (RoomStatus) Descriptor ¶ added in v0.6.3
func (RoomStatus) Descriptor() protoreflect.EnumDescriptor
func (RoomStatus) Enum ¶ added in v0.6.3
func (x RoomStatus) Enum() *RoomStatus
func (RoomStatus) EnumDescriptor
deprecated
added in
v0.6.3
func (RoomStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use RoomStatus.Descriptor instead.
func (RoomStatus) Number ¶ added in v0.6.3
func (x RoomStatus) Number() protoreflect.EnumNumber
func (RoomStatus) String ¶ added in v0.6.3
func (x RoomStatus) String() string
func (RoomStatus) Type ¶ added in v0.6.3
func (RoomStatus) Type() protoreflect.EnumType
type StartMatchRequest ¶
type StartMatchRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
func (*StartMatchRequest) Descriptor
deprecated
func (*StartMatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartMatchRequest.ProtoReflect.Descriptor instead.
func (*StartMatchRequest) GetRoomId ¶
func (x *StartMatchRequest) GetRoomId() string
func (*StartMatchRequest) ProtoMessage ¶
func (*StartMatchRequest) ProtoMessage()
func (*StartMatchRequest) ProtoReflect ¶
func (x *StartMatchRequest) ProtoReflect() protoreflect.Message
func (*StartMatchRequest) Reset ¶
func (x *StartMatchRequest) Reset()
func (*StartMatchRequest) String ¶
func (x *StartMatchRequest) String() string
type StartMatchResponse ¶
type StartMatchResponse struct { Data *MatchData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*StartMatchResponse) Descriptor
deprecated
func (*StartMatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartMatchResponse.ProtoReflect.Descriptor instead.
func (*StartMatchResponse) GetData ¶
func (x *StartMatchResponse) GetData() *MatchData
func (*StartMatchResponse) ProtoMessage ¶
func (*StartMatchResponse) ProtoMessage()
func (*StartMatchResponse) ProtoReflect ¶
func (x *StartMatchResponse) ProtoReflect() protoreflect.Message
func (*StartMatchResponse) Reset ¶
func (x *StartMatchResponse) Reset()
func (*StartMatchResponse) String ¶
func (x *StartMatchResponse) String() string
type SubscribeAllRoomEventsRequest ¶
type SubscribeAllRoomEventsRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeAllRoomEventsRequest) Descriptor
deprecated
func (*SubscribeAllRoomEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeAllRoomEventsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeAllRoomEventsRequest) ProtoMessage ¶
func (*SubscribeAllRoomEventsRequest) ProtoMessage()
func (*SubscribeAllRoomEventsRequest) ProtoReflect ¶
func (x *SubscribeAllRoomEventsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeAllRoomEventsRequest) Reset ¶
func (x *SubscribeAllRoomEventsRequest) Reset()
func (*SubscribeAllRoomEventsRequest) String ¶
func (x *SubscribeAllRoomEventsRequest) String() string
type SubscribeAllRoomEventsResponse ¶
type SubscribeAllRoomEventsResponse struct { Data *Event `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SubscribeAllRoomEventsResponse) Descriptor
deprecated
func (*SubscribeAllRoomEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeAllRoomEventsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeAllRoomEventsResponse) GetData ¶
func (x *SubscribeAllRoomEventsResponse) GetData() *Event
func (*SubscribeAllRoomEventsResponse) ProtoMessage ¶
func (*SubscribeAllRoomEventsResponse) ProtoMessage()
func (*SubscribeAllRoomEventsResponse) ProtoReflect ¶
func (x *SubscribeAllRoomEventsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeAllRoomEventsResponse) Reset ¶
func (x *SubscribeAllRoomEventsResponse) Reset()
func (*SubscribeAllRoomEventsResponse) String ¶
func (x *SubscribeAllRoomEventsResponse) String() string
type SubscribeRoomEventsRequest ¶
type SubscribeRoomEventsRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` // contains filtered or unexported fields }
Message to request events for a specific room
func (*SubscribeRoomEventsRequest) Descriptor
deprecated
func (*SubscribeRoomEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRoomEventsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeRoomEventsRequest) GetRoomId ¶
func (x *SubscribeRoomEventsRequest) GetRoomId() string
func (*SubscribeRoomEventsRequest) ProtoMessage ¶
func (*SubscribeRoomEventsRequest) ProtoMessage()
func (*SubscribeRoomEventsRequest) ProtoReflect ¶
func (x *SubscribeRoomEventsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeRoomEventsRequest) Reset ¶
func (x *SubscribeRoomEventsRequest) Reset()
func (*SubscribeRoomEventsRequest) String ¶
func (x *SubscribeRoomEventsRequest) String() string
type SubscribeRoomEventsResponse ¶
type SubscribeRoomEventsResponse struct { Data *Event `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SubscribeRoomEventsResponse) Descriptor
deprecated
func (*SubscribeRoomEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeRoomEventsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeRoomEventsResponse) GetData ¶
func (x *SubscribeRoomEventsResponse) GetData() *Event
func (*SubscribeRoomEventsResponse) ProtoMessage ¶
func (*SubscribeRoomEventsResponse) ProtoMessage()
func (*SubscribeRoomEventsResponse) ProtoReflect ¶
func (x *SubscribeRoomEventsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeRoomEventsResponse) Reset ¶
func (x *SubscribeRoomEventsResponse) Reset()
func (*SubscribeRoomEventsResponse) String ¶
func (x *SubscribeRoomEventsResponse) String() string
type UnbanUserFromRoomRequest ¶ added in v0.8.0
type UnbanUserFromRoomRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UnbanUserFromRoomRequest) Descriptor
deprecated
added in
v0.8.0
func (*UnbanUserFromRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnbanUserFromRoomRequest.ProtoReflect.Descriptor instead.
func (*UnbanUserFromRoomRequest) GetRoomId ¶ added in v0.8.0
func (x *UnbanUserFromRoomRequest) GetRoomId() string
func (*UnbanUserFromRoomRequest) GetUserId ¶ added in v0.8.0
func (x *UnbanUserFromRoomRequest) GetUserId() string
func (*UnbanUserFromRoomRequest) ProtoMessage ¶ added in v0.8.0
func (*UnbanUserFromRoomRequest) ProtoMessage()
func (*UnbanUserFromRoomRequest) ProtoReflect ¶ added in v0.8.0
func (x *UnbanUserFromRoomRequest) ProtoReflect() protoreflect.Message
func (*UnbanUserFromRoomRequest) Reset ¶ added in v0.8.0
func (x *UnbanUserFromRoomRequest) Reset()
func (*UnbanUserFromRoomRequest) String ¶ added in v0.8.0
func (x *UnbanUserFromRoomRequest) String() string
type UnbanUserFromRoomResponse ¶ added in v0.8.0
type UnbanUserFromRoomResponse struct {
// contains filtered or unexported fields
}
func (*UnbanUserFromRoomResponse) Descriptor
deprecated
added in
v0.8.0
func (*UnbanUserFromRoomResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnbanUserFromRoomResponse.ProtoReflect.Descriptor instead.
func (*UnbanUserFromRoomResponse) ProtoMessage ¶ added in v0.8.0
func (*UnbanUserFromRoomResponse) ProtoMessage()
func (*UnbanUserFromRoomResponse) ProtoReflect ¶ added in v0.8.0
func (x *UnbanUserFromRoomResponse) ProtoReflect() protoreflect.Message
func (*UnbanUserFromRoomResponse) Reset ¶ added in v0.8.0
func (x *UnbanUserFromRoomResponse) Reset()
func (*UnbanUserFromRoomResponse) String ¶ added in v0.8.0
func (x *UnbanUserFromRoomResponse) String() string
type UserEvent ¶
type UserEvent struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserEvent) Descriptor
deprecated
func (*UserEvent) ProtoMessage ¶
func (*UserEvent) ProtoMessage()
func (*UserEvent) ProtoReflect ¶
func (x *UserEvent) ProtoReflect() protoreflect.Message
type UserFinishedAnsweringRequest ¶ added in v0.7.5
type UserFinishedAnsweringRequest struct { RoomId string `protobuf:"bytes,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UserFinishedAnsweringRequest) Descriptor
deprecated
added in
v0.7.5
func (*UserFinishedAnsweringRequest) Descriptor() ([]byte, []int)
Deprecated: Use UserFinishedAnsweringRequest.ProtoReflect.Descriptor instead.
func (*UserFinishedAnsweringRequest) GetRoomId ¶ added in v0.7.5
func (x *UserFinishedAnsweringRequest) GetRoomId() string
func (*UserFinishedAnsweringRequest) GetUserId ¶ added in v0.7.5
func (x *UserFinishedAnsweringRequest) GetUserId() string
func (*UserFinishedAnsweringRequest) ProtoMessage ¶ added in v0.7.5
func (*UserFinishedAnsweringRequest) ProtoMessage()
func (*UserFinishedAnsweringRequest) ProtoReflect ¶ added in v0.7.5
func (x *UserFinishedAnsweringRequest) ProtoReflect() protoreflect.Message
func (*UserFinishedAnsweringRequest) Reset ¶ added in v0.7.5
func (x *UserFinishedAnsweringRequest) Reset()
func (*UserFinishedAnsweringRequest) String ¶ added in v0.7.5
func (x *UserFinishedAnsweringRequest) String() string
type UserFinishedAnsweringResponse ¶ added in v0.7.5
type UserFinishedAnsweringResponse struct {
// contains filtered or unexported fields
}
func (*UserFinishedAnsweringResponse) Descriptor
deprecated
added in
v0.7.5
func (*UserFinishedAnsweringResponse) Descriptor() ([]byte, []int)
Deprecated: Use UserFinishedAnsweringResponse.ProtoReflect.Descriptor instead.
func (*UserFinishedAnsweringResponse) ProtoMessage ¶ added in v0.7.5
func (*UserFinishedAnsweringResponse) ProtoMessage()
func (*UserFinishedAnsweringResponse) ProtoReflect ¶ added in v0.7.5
func (x *UserFinishedAnsweringResponse) ProtoReflect() protoreflect.Message
func (*UserFinishedAnsweringResponse) Reset ¶ added in v0.7.5
func (x *UserFinishedAnsweringResponse) Reset()
func (*UserFinishedAnsweringResponse) String ¶ added in v0.7.5
func (x *UserFinishedAnsweringResponse) String() string