generated from VLADIMIR/template
4372 lines
199 KiB
Go
4372 lines
199 KiB
Go
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-grpc v1.6.2
|
|
// - protoc v7.36.0
|
|
// source: main.proto
|
|
|
|
// Contract rules:
|
|
// - fields inside each message are declared in ascending number order;
|
|
// - published field numbers are never renumbered or reused;
|
|
// - use ID, <name>ID and URL for abbreviation fields so generated clients
|
|
// keep the same naming convention across Go and TypeScript.
|
|
|
|
package proto
|
|
|
|
import (
|
|
context "context"
|
|
httpbody "google.golang.org/genproto/googleapis/api/httpbody"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
// Requires gRPC-Go v1.64.0 or later.
|
|
const _ = grpc.SupportPackageIsVersion9
|
|
|
|
const (
|
|
EveningDetectiveServer_DeviceHeartbeat_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeviceHeartbeat"
|
|
EveningDetectiveServer_GetDevices_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetDevices"
|
|
EveningDetectiveServer_GetTasks_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTasks"
|
|
EveningDetectiveServer_GetTaskAssignees_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTaskAssignees"
|
|
EveningDetectiveServer_CreateTask_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/CreateTask"
|
|
EveningDetectiveServer_UpdateTask_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateTask"
|
|
EveningDetectiveServer_SetTaskStatus_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetTaskStatus"
|
|
EveningDetectiveServer_DeleteTask_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteTask"
|
|
EveningDetectiveServer_GetParticipation_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetParticipation"
|
|
EveningDetectiveServer_AnswerParticipation_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AnswerParticipation"
|
|
EveningDetectiveServer_Ping_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/Ping"
|
|
EveningDetectiveServer_Echo_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/Echo"
|
|
EveningDetectiveServer_Signup_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/Signup"
|
|
EveningDetectiveServer_RefreshPassword_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/RefreshPassword"
|
|
EveningDetectiveServer_Login_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/Login"
|
|
EveningDetectiveServer_Refresh_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/Refresh"
|
|
EveningDetectiveServer_DeleteAccount_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteAccount"
|
|
EveningDetectiveServer_GetTerms_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTerms"
|
|
EveningDetectiveServer_GetPrivacy_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetPrivacy"
|
|
EveningDetectiveServer_GetConsent_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetConsent"
|
|
EveningDetectiveServer_GetUsers_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetUsers"
|
|
EveningDetectiveServer_GetUserByID_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetUserByID"
|
|
EveningDetectiveServer_GetMe_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetMe"
|
|
EveningDetectiveServer_ChangeUserPassword_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/ChangeUserPassword"
|
|
EveningDetectiveServer_AddUserRole_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddUserRole"
|
|
EveningDetectiveServer_DeleteUserRole_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteUserRole"
|
|
EveningDetectiveServer_GetPermissions_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetPermissions"
|
|
EveningDetectiveServer_UploadFile_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UploadFile"
|
|
EveningDetectiveServer_DownloadFile_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadFile"
|
|
EveningDetectiveServer_GetPlaylists_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetPlaylists"
|
|
EveningDetectiveServer_CreatePlaylist_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/CreatePlaylist"
|
|
EveningDetectiveServer_UpdatePlaylist_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdatePlaylist"
|
|
EveningDetectiveServer_DeletePlaylist_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeletePlaylist"
|
|
EveningDetectiveServer_UploadPlaylistTrack_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UploadPlaylistTrack"
|
|
EveningDetectiveServer_DeletePlaylistTrack_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeletePlaylistTrack"
|
|
EveningDetectiveServer_SetScenarioPlaylist_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScenarioPlaylist"
|
|
EveningDetectiveServer_AddScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddScenario"
|
|
EveningDetectiveServer_GetMyScenarios_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetMyScenarios"
|
|
EveningDetectiveServer_GetScenariosCatalog_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScenariosCatalog"
|
|
EveningDetectiveServer_GetFullScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetFullScenario"
|
|
EveningDetectiveServer_GetScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScenario"
|
|
EveningDetectiveServer_UpdateScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenario"
|
|
EveningDetectiveServer_PublicScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/PublicScenario"
|
|
EveningDetectiveServer_DraftScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DraftScenario"
|
|
EveningDetectiveServer_DeleteScenario_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteScenario"
|
|
EveningDetectiveServer_AddScenarioPlace_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddScenarioPlace"
|
|
EveningDetectiveServer_UpdateScenarioPlace_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenarioPlace"
|
|
EveningDetectiveServer_DeleteScenarioPlace_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteScenarioPlace"
|
|
EveningDetectiveServer_AddScenarioQuestion_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddScenarioQuestion"
|
|
EveningDetectiveServer_UpdateScenarioQuestion_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenarioQuestion"
|
|
EveningDetectiveServer_DeleteScenarioQuestion_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteScenarioQuestion"
|
|
EveningDetectiveServer_UpdateScenarioBackground_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenarioBackground"
|
|
EveningDetectiveServer_UpdateScenarioIntro_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenarioIntro"
|
|
EveningDetectiveServer_UpdateScenarioConclusion_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateScenarioConclusion"
|
|
EveningDetectiveServer_DownloadScenarioArchive_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadScenarioArchive"
|
|
EveningDetectiveServer_UploadScenarioArchive_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UploadScenarioArchive"
|
|
EveningDetectiveServer_AddGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddGame"
|
|
EveningDetectiveServer_GetGames_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGames"
|
|
EveningDetectiveServer_GetGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGame"
|
|
EveningDetectiveServer_ImportGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/ImportGame"
|
|
EveningDetectiveServer_DownloadGameResultsPackage_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadGameResultsPackage"
|
|
EveningDetectiveServer_ApplyGameResultsPackage_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/ApplyGameResultsPackage"
|
|
EveningDetectiveServer_StartGameExport_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/StartGameExport"
|
|
EveningDetectiveServer_GetGameExport_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameExport"
|
|
EveningDetectiveServer_IssueGameTickets_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/IssueGameTickets"
|
|
EveningDetectiveServer_GetTicket_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTicket"
|
|
EveningDetectiveServer_AcceptTicket_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AcceptTicket"
|
|
EveningDetectiveServer_CreateScreenSession_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/CreateScreenSession"
|
|
EveningDetectiveServer_GetScreenState_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenState"
|
|
EveningDetectiveServer_GetGameScreens_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameScreens"
|
|
EveningDetectiveServer_GetGameMusic_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameMusic"
|
|
EveningDetectiveServer_SetGameMusic_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetGameMusic"
|
|
EveningDetectiveServer_AdvanceScreenMusic_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AdvanceScreenMusic"
|
|
EveningDetectiveServer_BindScreen_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/BindScreen"
|
|
EveningDetectiveServer_UnbindScreen_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UnbindScreen"
|
|
EveningDetectiveServer_SetScreenSound_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenSound"
|
|
EveningDetectiveServer_GetGameMap_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameMap"
|
|
EveningDetectiveServer_UpdateGameMapItem_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateGameMapItem"
|
|
EveningDetectiveServer_SetScreenMode_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenMode"
|
|
EveningDetectiveServer_SetScreenTimer_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenTimer"
|
|
EveningDetectiveServer_SendScreenCommand_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SendScreenCommand"
|
|
EveningDetectiveServer_GetScreenPlan_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenPlan"
|
|
EveningDetectiveServer_SaveScreenPlan_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SaveScreenPlan"
|
|
EveningDetectiveServer_SetScreenPlanStep_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetScreenPlanStep"
|
|
EveningDetectiveServer_GetScreenResults_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScreenResults"
|
|
EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadGamePrintMaterials"
|
|
EveningDetectiveServer_DownloadTeamQR_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DownloadTeamQR"
|
|
EveningDetectiveServer_GetGameAnswers_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameAnswers"
|
|
EveningDetectiveServer_GetGameResults_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameResults"
|
|
EveningDetectiveServer_CreateGameReview_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/CreateGameReview"
|
|
EveningDetectiveServer_GetGameReviews_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameReviews"
|
|
EveningDetectiveServer_GetScenarioReviews_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetScenarioReviews"
|
|
EveningDetectiveServer_GetGameReviewsForModeration_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetGameReviewsForModeration"
|
|
EveningDetectiveServer_GetReviewsForModeration_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetReviewsForModeration"
|
|
EveningDetectiveServer_ModerateGameReview_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/ModerateGameReview"
|
|
EveningDetectiveServer_UpdateGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateGame"
|
|
EveningDetectiveServer_StartGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/StartGame"
|
|
EveningDetectiveServer_PauseGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/PauseGame"
|
|
EveningDetectiveServer_PlayGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/PlayGame"
|
|
EveningDetectiveServer_FinishGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/FinishGame"
|
|
EveningDetectiveServer_ResetGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/ResetGame"
|
|
EveningDetectiveServer_DeleteGame_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteGame"
|
|
EveningDetectiveServer_AddTeam_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddTeam"
|
|
EveningDetectiveServer_UpdateTeam_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/UpdateTeam"
|
|
EveningDetectiveServer_DeleteTeam_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteTeam"
|
|
EveningDetectiveServer_GiveTeamApplications_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GiveTeamApplications"
|
|
EveningDetectiveServer_GetTeamStory_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTeamStory"
|
|
EveningDetectiveServer_AddTeamAction_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/AddTeamAction"
|
|
EveningDetectiveServer_DeleteLastTeamAction_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/DeleteLastTeamAction"
|
|
EveningDetectiveServer_GetTeamAnswers_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/GetTeamAnswers"
|
|
EveningDetectiveServer_SubmitTeamAnswers_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SubmitTeamAnswers"
|
|
EveningDetectiveServer_SetTeamAnswerScore_FullMethodName = "/crabs.evening_detective_server.EveningDetectiveServer/SetTeamAnswerScore"
|
|
)
|
|
|
|
// EveningDetectiveServerClient is the client API for EveningDetectiveServer service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
type EveningDetectiveServerClient interface {
|
|
DeviceHeartbeat(ctx context.Context, in *DeviceHeartbeatReq, opts ...grpc.CallOption) (*DeviceHeartbeatRsp, error)
|
|
GetDevices(ctx context.Context, in *GetDevicesReq, opts ...grpc.CallOption) (*GetDevicesRsp, error)
|
|
GetTasks(ctx context.Context, in *GetTasksReq, opts ...grpc.CallOption) (*GetTasksRsp, error)
|
|
GetTaskAssignees(ctx context.Context, in *GetTaskAssigneesReq, opts ...grpc.CallOption) (*GetTaskAssigneesRsp, error)
|
|
CreateTask(ctx context.Context, in *CreateTaskReq, opts ...grpc.CallOption) (*TaskRsp, error)
|
|
UpdateTask(ctx context.Context, in *UpdateTaskReq, opts ...grpc.CallOption) (*TaskRsp, error)
|
|
SetTaskStatus(ctx context.Context, in *SetTaskStatusReq, opts ...grpc.CallOption) (*TaskRsp, error)
|
|
DeleteTask(ctx context.Context, in *DeleteTaskReq, opts ...grpc.CallOption) (*DeleteTaskRsp, error)
|
|
GetParticipation(ctx context.Context, in *GetParticipationReq, opts ...grpc.CallOption) (*ParticipationRsp, error)
|
|
AnswerParticipation(ctx context.Context, in *AnswerParticipationReq, opts ...grpc.CallOption) (*ParticipationRsp, error)
|
|
Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingRsp, error)
|
|
Echo(ctx context.Context, in *EchoReq, opts ...grpc.CallOption) (*EchoRsp, error)
|
|
Signup(ctx context.Context, in *SignupReq, opts ...grpc.CallOption) (*SignupRsp, error)
|
|
RefreshPassword(ctx context.Context, in *RefreshPasswordReq, opts ...grpc.CallOption) (*RefreshPasswordRsp, error)
|
|
Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginRsp, error)
|
|
Refresh(ctx context.Context, in *RefreshReq, opts ...grpc.CallOption) (*RefreshRsp, error)
|
|
DeleteAccount(ctx context.Context, in *DeleteAccountReq, opts ...grpc.CallOption) (*DeleteAccountRsp, error)
|
|
GetTerms(ctx context.Context, in *GetTermsReq, opts ...grpc.CallOption) (*GetTermsRsp, error)
|
|
GetPrivacy(ctx context.Context, in *GetPrivacyReq, opts ...grpc.CallOption) (*GetPrivacyRsp, error)
|
|
GetConsent(ctx context.Context, in *GetConsentReq, opts ...grpc.CallOption) (*GetConsentRsp, error)
|
|
GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersRsp, error)
|
|
GetUserByID(ctx context.Context, in *GetUserByIDReq, opts ...grpc.CallOption) (*GetUserByIDRsp, error)
|
|
GetMe(ctx context.Context, in *GetMeReq, opts ...grpc.CallOption) (*GetMeRsp, error)
|
|
// Только администратор; сеансы пользователя сохраняются.
|
|
// Ошибки: 401, 403, 400, 404, 500.
|
|
ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordReq, opts ...grpc.CallOption) (*ChangeUserPasswordRsp, error)
|
|
AddUserRole(ctx context.Context, in *AddUserRoleReq, opts ...grpc.CallOption) (*AddUserRoleRsp, error)
|
|
DeleteUserRole(ctx context.Context, in *DeleteUserRoleReq, opts ...grpc.CallOption) (*DeleteUserRoleRsp, error)
|
|
GetPermissions(ctx context.Context, in *GetPermissionsReq, opts ...grpc.CallOption) (*GetPermissionsRsp, error)
|
|
UploadFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*UploadFileRsp, error)
|
|
DownloadFile(ctx context.Context, in *DownloadFileReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
|
GetPlaylists(ctx context.Context, in *GetPlaylistsReq, opts ...grpc.CallOption) (*GetPlaylistsRsp, error)
|
|
CreatePlaylist(ctx context.Context, in *CreatePlaylistReq, opts ...grpc.CallOption) (*CreatePlaylistRsp, error)
|
|
UpdatePlaylist(ctx context.Context, in *UpdatePlaylistReq, opts ...grpc.CallOption) (*UpdatePlaylistRsp, error)
|
|
DeletePlaylist(ctx context.Context, in *DeletePlaylistReq, opts ...grpc.CallOption) (*DeletePlaylistRsp, error)
|
|
UploadPlaylistTrack(ctx context.Context, in *UploadPlaylistTrackReq, opts ...grpc.CallOption) (*UploadPlaylistTrackRsp, error)
|
|
DeletePlaylistTrack(ctx context.Context, in *DeletePlaylistTrackReq, opts ...grpc.CallOption) (*DeletePlaylistTrackRsp, error)
|
|
SetScenarioPlaylist(ctx context.Context, in *SetScenarioPlaylistReq, opts ...grpc.CallOption) (*SetScenarioPlaylistRsp, error)
|
|
AddScenario(ctx context.Context, in *AddScenarioReq, opts ...grpc.CallOption) (*AddScenarioRsp, error)
|
|
GetMyScenarios(ctx context.Context, in *GetMyScenariosReq, opts ...grpc.CallOption) (*GetMyScenariosRsp, error)
|
|
GetScenariosCatalog(ctx context.Context, in *GetScenariosCatalogReq, opts ...grpc.CallOption) (*GetScenariosCatalogRsp, error)
|
|
GetFullScenario(ctx context.Context, in *GetScenarioReq, opts ...grpc.CallOption) (*GetScenarioRsp, error)
|
|
GetScenario(ctx context.Context, in *GetScenarioReq, opts ...grpc.CallOption) (*GetScenarioRsp, error)
|
|
UpdateScenario(ctx context.Context, in *UpdateScenarioReq, opts ...grpc.CallOption) (*UpdateScenarioRsp, error)
|
|
PublicScenario(ctx context.Context, in *PublicScenarioReq, opts ...grpc.CallOption) (*PublicScenarioRsp, error)
|
|
DraftScenario(ctx context.Context, in *DraftScenarioReq, opts ...grpc.CallOption) (*DraftScenarioRsp, error)
|
|
DeleteScenario(ctx context.Context, in *DeleteScenarioReq, opts ...grpc.CallOption) (*DeleteScenarioRsp, error)
|
|
AddScenarioPlace(ctx context.Context, in *AddScenarioPlaceReq, opts ...grpc.CallOption) (*AddScenarioPlaceRsp, error)
|
|
UpdateScenarioPlace(ctx context.Context, in *UpdateScenarioPlaceReq, opts ...grpc.CallOption) (*UpdateScenarioPlaceRsp, error)
|
|
DeleteScenarioPlace(ctx context.Context, in *DeleteScenarioPlaceReq, opts ...grpc.CallOption) (*DeleteScenarioPlaceRsp, error)
|
|
AddScenarioQuestion(ctx context.Context, in *AddScenarioQuestionReq, opts ...grpc.CallOption) (*AddScenarioQuestionRsp, error)
|
|
UpdateScenarioQuestion(ctx context.Context, in *UpdateScenarioQuestionReq, opts ...grpc.CallOption) (*UpdateScenarioQuestionRsp, error)
|
|
DeleteScenarioQuestion(ctx context.Context, in *DeleteScenarioQuestionReq, opts ...grpc.CallOption) (*DeleteScenarioQuestionRsp, error)
|
|
// Загрузить файл через UploadFile, затем передать его имя; пустое имя удаляет фон дела.
|
|
UpdateScenarioBackground(ctx context.Context, in *UpdateScenarioBackgroundReq, opts ...grpc.CallOption) (*UpdateScenarioBackgroundRsp, error)
|
|
UpdateScenarioIntro(ctx context.Context, in *UpdateScenarioIntroReq, opts ...grpc.CallOption) (*UpdateScenarioIntroRsp, error)
|
|
// Видео загружается через UploadFile (MP4/WebM). Пустая conclusion удаляет закрывашку.
|
|
UpdateScenarioConclusion(ctx context.Context, in *UpdateScenarioConclusionReq, opts ...grpc.CallOption) (*UpdateScenarioConclusionRsp, error)
|
|
DownloadScenarioArchive(ctx context.Context, in *DownloadScenarioArchiveReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
|
UploadScenarioArchive(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*UploadScenarioArchiveRsp, error)
|
|
AddGame(ctx context.Context, in *AddGameReq, opts ...grpc.CallOption) (*AddGameRsp, error)
|
|
GetGames(ctx context.Context, in *GetGamesReq, opts ...grpc.CallOption) (*GetGamesRsp, error)
|
|
GetGame(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*GetGameRsp, error)
|
|
// HTTP uploads are streamed by a dedicated handler, bypassing gRPC message limits.
|
|
ImportGame(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*GameImportRsp, error)
|
|
// Dedicated HTTP handlers stream ZIPs; gRPC retains its message size limit.
|
|
DownloadGameResultsPackage(ctx context.Context, in *GameResultsPackageReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
|
ApplyGameResultsPackage(ctx context.Context, in *ApplyGameResultsPackageReq, opts ...grpc.CallOption) (*GameResultsPackageRsp, error)
|
|
StartGameExport(ctx context.Context, in *StartGameExportReq, opts ...grpc.CallOption) (*GameExportRsp, error)
|
|
GetGameExport(ctx context.Context, in *GetGameExportReq, opts ...grpc.CallOption) (*GameExportRsp, error)
|
|
IssueGameTickets(ctx context.Context, in *IssueGameTicketsReq, opts ...grpc.CallOption) (*IssueGameTicketsRsp, error)
|
|
GetTicket(ctx context.Context, in *GetTicketReq, opts ...grpc.CallOption) (*GetTicketRsp, error)
|
|
AcceptTicket(ctx context.Context, in *AcceptTicketReq, opts ...grpc.CallOption) (*AcceptTicketRsp, error)
|
|
// Создать сессию экрана. Экран получает токен и показывает QR для привязки.
|
|
CreateScreenSession(ctx context.Context, in *CreateScreenSessionReq, opts ...grpc.CallOption) (*CreateScreenSessionRsp, error)
|
|
// Получить состояние экрана по его токену. Вызывается самим экраном.
|
|
GetScreenState(ctx context.Context, in *GetScreenStateReq, opts ...grpc.CallOption) (*GetScreenStateRsp, error)
|
|
GetGameScreens(ctx context.Context, in *GetGameScreensReq, opts ...grpc.CallOption) (*GetGameScreensRsp, error)
|
|
GetGameMusic(ctx context.Context, in *GetGameMusicReq, opts ...grpc.CallOption) (*GetGameMusicRsp, error)
|
|
SetGameMusic(ctx context.Context, in *SetGameMusicReq, opts ...grpc.CallOption) (*SetGameMusicRsp, error)
|
|
AdvanceScreenMusic(ctx context.Context, in *AdvanceScreenMusicReq, opts ...grpc.CallOption) (*AdvanceScreenMusicRsp, error)
|
|
// Привязать экран к игре. Требует авторизацию организатора, автора или администратора.
|
|
BindScreen(ctx context.Context, in *BindScreenReq, opts ...grpc.CallOption) (*BindScreenRsp, error)
|
|
// Отвязать экран от игры. Требует авторизацию организатора, автора или администратора.
|
|
UnbindScreen(ctx context.Context, in *UnbindScreenReq, opts ...grpc.CallOption) (*UnbindScreenRsp, error)
|
|
SetScreenSound(ctx context.Context, in *SetScreenSoundReq, opts ...grpc.CallOption) (*SetScreenSoundRsp, error)
|
|
GetGameMap(ctx context.Context, in *GetGameMapReq, opts ...grpc.CallOption) (*GetGameMapRsp, error)
|
|
UpdateGameMapItem(ctx context.Context, in *UpdateGameMapItemReq, opts ...grpc.CallOption) (*UpdateGameMapItemRsp, error)
|
|
// Изменить общий режим показа всех экранов игры.
|
|
SetScreenMode(ctx context.Context, in *SetScreenModeReq, opts ...grpc.CallOption) (*SetScreenModeRsp, error)
|
|
SetScreenTimer(ctx context.Context, in *SetScreenTimerReq, opts ...grpc.CallOption) (*SetScreenTimerRsp, error)
|
|
// Отправить общую команду экранам игры.
|
|
SendScreenCommand(ctx context.Context, in *SendScreenCommandReq, opts ...grpc.CallOption) (*SendScreenCommandRsp, error)
|
|
GetScreenPlan(ctx context.Context, in *GetScreenPlanReq, opts ...grpc.CallOption) (*GetScreenPlanRsp, error)
|
|
SaveScreenPlan(ctx context.Context, in *SaveScreenPlanReq, opts ...grpc.CallOption) (*SaveScreenPlanRsp, error)
|
|
SetScreenPlanStep(ctx context.Context, in *SetScreenPlanStepReq, opts ...grpc.CallOption) (*SetScreenPlanStepRsp, error)
|
|
GetScreenResults(ctx context.Context, in *GetScreenResultsReq, opts ...grpc.CallOption) (*GetScreenResultsRsp, error)
|
|
DownloadGamePrintMaterials(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
|
DownloadTeamQR(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
|
GetGameAnswers(ctx context.Context, in *GetGameAnswersReq, opts ...grpc.CallOption) (*GetGameAnswersRsp, error)
|
|
GetGameResults(ctx context.Context, in *GetGameResultsReq, opts ...grpc.CallOption) (*GetGameResultsRsp, error)
|
|
CreateGameReview(ctx context.Context, in *CreateGameReviewReq, opts ...grpc.CallOption) (*CreateGameReviewRsp, error)
|
|
GetGameReviews(ctx context.Context, in *GetGameReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error)
|
|
GetScenarioReviews(ctx context.Context, in *GetScenarioReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error)
|
|
GetGameReviewsForModeration(ctx context.Context, in *GetGameReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error)
|
|
GetReviewsForModeration(ctx context.Context, in *GetReviewsForModerationReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error)
|
|
ModerateGameReview(ctx context.Context, in *ModerateGameReviewReq, opts ...grpc.CallOption) (*ModerateGameReviewRsp, error)
|
|
UpdateGame(ctx context.Context, in *UpdateGameReq, opts ...grpc.CallOption) (*UpdateGameRsp, error)
|
|
StartGame(ctx context.Context, in *StartGameReq, opts ...grpc.CallOption) (*StartGameRsp, error)
|
|
PauseGame(ctx context.Context, in *PauseGameReq, opts ...grpc.CallOption) (*PauseGameRsp, error)
|
|
PlayGame(ctx context.Context, in *PlayGameReq, opts ...grpc.CallOption) (*PlayGameRsp, error)
|
|
FinishGame(ctx context.Context, in *FinishGameReq, opts ...grpc.CallOption) (*FinishGameRsp, error)
|
|
ResetGame(ctx context.Context, in *ResetGameReq, opts ...grpc.CallOption) (*ResetGameRsp, error)
|
|
DeleteGame(ctx context.Context, in *DeleteGameReq, opts ...grpc.CallOption) (*DeleteGameRsp, error)
|
|
AddTeam(ctx context.Context, in *AddTeamReq, opts ...grpc.CallOption) (*AddTeamRsp, error)
|
|
UpdateTeam(ctx context.Context, in *UpdateTeamReq, opts ...grpc.CallOption) (*UpdateTeamRsp, error)
|
|
DeleteTeam(ctx context.Context, in *DeleteTeamReq, opts ...grpc.CallOption) (*DeleteTeamRsp, error)
|
|
GiveTeamApplications(ctx context.Context, in *GiveTeamApplicationsReq, opts ...grpc.CallOption) (*GiveTeamApplicationsRsp, error)
|
|
GetTeamStory(ctx context.Context, in *GetTeamStoryReq, opts ...grpc.CallOption) (*GetTeamStoryRsp, error)
|
|
AddTeamAction(ctx context.Context, in *AddTeamActionReq, opts ...grpc.CallOption) (*AddTeamActionRsp, error)
|
|
DeleteLastTeamAction(ctx context.Context, in *DeleteLastTeamActionReq, opts ...grpc.CallOption) (*DeleteLastTeamActionRsp, error)
|
|
GetTeamAnswers(ctx context.Context, in *GetTeamAnswersReq, opts ...grpc.CallOption) (*GetTeamAnswersRsp, error)
|
|
SubmitTeamAnswers(ctx context.Context, in *SubmitTeamAnswersReq, opts ...grpc.CallOption) (*SubmitTeamAnswersRsp, error)
|
|
SetTeamAnswerScore(ctx context.Context, in *SetTeamAnswerScoreReq, opts ...grpc.CallOption) (*SetTeamAnswerScoreRsp, error)
|
|
}
|
|
|
|
type eveningDetectiveServerClient struct {
|
|
cc grpc.ClientConnInterface
|
|
}
|
|
|
|
func NewEveningDetectiveServerClient(cc grpc.ClientConnInterface) EveningDetectiveServerClient {
|
|
return &eveningDetectiveServerClient{cc}
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeviceHeartbeat(ctx context.Context, in *DeviceHeartbeatReq, opts ...grpc.CallOption) (*DeviceHeartbeatRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeviceHeartbeatRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeviceHeartbeat_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetDevices(ctx context.Context, in *GetDevicesReq, opts ...grpc.CallOption) (*GetDevicesRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetDevicesRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetDevices_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTasks(ctx context.Context, in *GetTasksReq, opts ...grpc.CallOption) (*GetTasksRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTasksRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTasks_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTaskAssignees(ctx context.Context, in *GetTaskAssigneesReq, opts ...grpc.CallOption) (*GetTaskAssigneesRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTaskAssigneesRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTaskAssignees_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) CreateTask(ctx context.Context, in *CreateTaskReq, opts ...grpc.CallOption) (*TaskRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(TaskRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_CreateTask_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateTask(ctx context.Context, in *UpdateTaskReq, opts ...grpc.CallOption) (*TaskRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(TaskRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateTask_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetTaskStatus(ctx context.Context, in *SetTaskStatusReq, opts ...grpc.CallOption) (*TaskRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(TaskRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetTaskStatus_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteTask(ctx context.Context, in *DeleteTaskReq, opts ...grpc.CallOption) (*DeleteTaskRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteTaskRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteTask_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetParticipation(ctx context.Context, in *GetParticipationReq, opts ...grpc.CallOption) (*ParticipationRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ParticipationRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetParticipation_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AnswerParticipation(ctx context.Context, in *AnswerParticipationReq, opts ...grpc.CallOption) (*ParticipationRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ParticipationRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AnswerParticipation_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) Ping(ctx context.Context, in *PingReq, opts ...grpc.CallOption) (*PingRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(PingRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_Ping_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) Echo(ctx context.Context, in *EchoReq, opts ...grpc.CallOption) (*EchoRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(EchoRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_Echo_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) Signup(ctx context.Context, in *SignupReq, opts ...grpc.CallOption) (*SignupRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SignupRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_Signup_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) RefreshPassword(ctx context.Context, in *RefreshPasswordReq, opts ...grpc.CallOption) (*RefreshPasswordRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RefreshPasswordRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_RefreshPassword_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(LoginRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_Login_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) Refresh(ctx context.Context, in *RefreshReq, opts ...grpc.CallOption) (*RefreshRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(RefreshRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_Refresh_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteAccount(ctx context.Context, in *DeleteAccountReq, opts ...grpc.CallOption) (*DeleteAccountRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteAccountRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteAccount_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTerms(ctx context.Context, in *GetTermsReq, opts ...grpc.CallOption) (*GetTermsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTermsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTerms_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetPrivacy(ctx context.Context, in *GetPrivacyReq, opts ...grpc.CallOption) (*GetPrivacyRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetPrivacyRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetPrivacy_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetConsent(ctx context.Context, in *GetConsentReq, opts ...grpc.CallOption) (*GetConsentRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetConsentRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetConsent_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetUsers(ctx context.Context, in *GetUsersReq, opts ...grpc.CallOption) (*GetUsersRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetUsersRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetUsers_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetUserByID(ctx context.Context, in *GetUserByIDReq, opts ...grpc.CallOption) (*GetUserByIDRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetUserByIDRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetUserByID_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetMe(ctx context.Context, in *GetMeReq, opts ...grpc.CallOption) (*GetMeRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetMeRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetMe_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) ChangeUserPassword(ctx context.Context, in *ChangeUserPasswordReq, opts ...grpc.CallOption) (*ChangeUserPasswordRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ChangeUserPasswordRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_ChangeUserPassword_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddUserRole(ctx context.Context, in *AddUserRoleReq, opts ...grpc.CallOption) (*AddUserRoleRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddUserRoleRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddUserRole_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteUserRole(ctx context.Context, in *DeleteUserRoleReq, opts ...grpc.CallOption) (*DeleteUserRoleRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteUserRoleRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteUserRole_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetPermissions(ctx context.Context, in *GetPermissionsReq, opts ...grpc.CallOption) (*GetPermissionsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetPermissionsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetPermissions_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UploadFile(ctx context.Context, in *UploadFileReq, opts ...grpc.CallOption) (*UploadFileRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UploadFileRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UploadFile_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DownloadFile(ctx context.Context, in *DownloadFileReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(httpbody.HttpBody)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadFile_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetPlaylists(ctx context.Context, in *GetPlaylistsReq, opts ...grpc.CallOption) (*GetPlaylistsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetPlaylistsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetPlaylists_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) CreatePlaylist(ctx context.Context, in *CreatePlaylistReq, opts ...grpc.CallOption) (*CreatePlaylistRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CreatePlaylistRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_CreatePlaylist_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdatePlaylist(ctx context.Context, in *UpdatePlaylistReq, opts ...grpc.CallOption) (*UpdatePlaylistRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdatePlaylistRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdatePlaylist_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeletePlaylist(ctx context.Context, in *DeletePlaylistReq, opts ...grpc.CallOption) (*DeletePlaylistRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeletePlaylistRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeletePlaylist_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UploadPlaylistTrack(ctx context.Context, in *UploadPlaylistTrackReq, opts ...grpc.CallOption) (*UploadPlaylistTrackRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UploadPlaylistTrackRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UploadPlaylistTrack_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeletePlaylistTrack(ctx context.Context, in *DeletePlaylistTrackReq, opts ...grpc.CallOption) (*DeletePlaylistTrackRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeletePlaylistTrackRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeletePlaylistTrack_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetScenarioPlaylist(ctx context.Context, in *SetScenarioPlaylistReq, opts ...grpc.CallOption) (*SetScenarioPlaylistRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetScenarioPlaylistRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetScenarioPlaylist_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddScenario(ctx context.Context, in *AddScenarioReq, opts ...grpc.CallOption) (*AddScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetMyScenarios(ctx context.Context, in *GetMyScenariosReq, opts ...grpc.CallOption) (*GetMyScenariosRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetMyScenariosRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetMyScenarios_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScenariosCatalog(ctx context.Context, in *GetScenariosCatalogReq, opts ...grpc.CallOption) (*GetScenariosCatalogRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScenariosCatalogRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScenariosCatalog_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetFullScenario(ctx context.Context, in *GetScenarioReq, opts ...grpc.CallOption) (*GetScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetFullScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScenario(ctx context.Context, in *GetScenarioReq, opts ...grpc.CallOption) (*GetScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenario(ctx context.Context, in *UpdateScenarioReq, opts ...grpc.CallOption) (*UpdateScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) PublicScenario(ctx context.Context, in *PublicScenarioReq, opts ...grpc.CallOption) (*PublicScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(PublicScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_PublicScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DraftScenario(ctx context.Context, in *DraftScenarioReq, opts ...grpc.CallOption) (*DraftScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DraftScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DraftScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteScenario(ctx context.Context, in *DeleteScenarioReq, opts ...grpc.CallOption) (*DeleteScenarioRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteScenarioRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteScenario_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddScenarioPlace(ctx context.Context, in *AddScenarioPlaceReq, opts ...grpc.CallOption) (*AddScenarioPlaceRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddScenarioPlaceRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddScenarioPlace_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenarioPlace(ctx context.Context, in *UpdateScenarioPlaceReq, opts ...grpc.CallOption) (*UpdateScenarioPlaceRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioPlaceRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenarioPlace_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteScenarioPlace(ctx context.Context, in *DeleteScenarioPlaceReq, opts ...grpc.CallOption) (*DeleteScenarioPlaceRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteScenarioPlaceRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteScenarioPlace_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddScenarioQuestion(ctx context.Context, in *AddScenarioQuestionReq, opts ...grpc.CallOption) (*AddScenarioQuestionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddScenarioQuestionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddScenarioQuestion_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenarioQuestion(ctx context.Context, in *UpdateScenarioQuestionReq, opts ...grpc.CallOption) (*UpdateScenarioQuestionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioQuestionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenarioQuestion_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteScenarioQuestion(ctx context.Context, in *DeleteScenarioQuestionReq, opts ...grpc.CallOption) (*DeleteScenarioQuestionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteScenarioQuestionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteScenarioQuestion_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenarioBackground(ctx context.Context, in *UpdateScenarioBackgroundReq, opts ...grpc.CallOption) (*UpdateScenarioBackgroundRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioBackgroundRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenarioBackground_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenarioIntro(ctx context.Context, in *UpdateScenarioIntroReq, opts ...grpc.CallOption) (*UpdateScenarioIntroRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioIntroRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenarioIntro_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateScenarioConclusion(ctx context.Context, in *UpdateScenarioConclusionReq, opts ...grpc.CallOption) (*UpdateScenarioConclusionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateScenarioConclusionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateScenarioConclusion_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DownloadScenarioArchive(ctx context.Context, in *DownloadScenarioArchiveReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(httpbody.HttpBody)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadScenarioArchive_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UploadScenarioArchive(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*UploadScenarioArchiveRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UploadScenarioArchiveRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UploadScenarioArchive_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddGame(ctx context.Context, in *AddGameReq, opts ...grpc.CallOption) (*AddGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGames(ctx context.Context, in *GetGamesReq, opts ...grpc.CallOption) (*GetGamesRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGamesRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGames_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGame(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*GetGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) ImportGame(ctx context.Context, in *httpbody.HttpBody, opts ...grpc.CallOption) (*GameImportRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GameImportRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_ImportGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DownloadGameResultsPackage(ctx context.Context, in *GameResultsPackageReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(httpbody.HttpBody)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadGameResultsPackage_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) ApplyGameResultsPackage(ctx context.Context, in *ApplyGameResultsPackageReq, opts ...grpc.CallOption) (*GameResultsPackageRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GameResultsPackageRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_ApplyGameResultsPackage_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) StartGameExport(ctx context.Context, in *StartGameExportReq, opts ...grpc.CallOption) (*GameExportRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GameExportRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_StartGameExport_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameExport(ctx context.Context, in *GetGameExportReq, opts ...grpc.CallOption) (*GameExportRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GameExportRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameExport_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) IssueGameTickets(ctx context.Context, in *IssueGameTicketsReq, opts ...grpc.CallOption) (*IssueGameTicketsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(IssueGameTicketsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_IssueGameTickets_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTicket(ctx context.Context, in *GetTicketReq, opts ...grpc.CallOption) (*GetTicketRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTicketRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTicket_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AcceptTicket(ctx context.Context, in *AcceptTicketReq, opts ...grpc.CallOption) (*AcceptTicketRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AcceptTicketRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AcceptTicket_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) CreateScreenSession(ctx context.Context, in *CreateScreenSessionReq, opts ...grpc.CallOption) (*CreateScreenSessionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CreateScreenSessionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_CreateScreenSession_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScreenState(ctx context.Context, in *GetScreenStateReq, opts ...grpc.CallOption) (*GetScreenStateRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScreenStateRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScreenState_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameScreens(ctx context.Context, in *GetGameScreensReq, opts ...grpc.CallOption) (*GetGameScreensRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameScreensRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameScreens_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameMusic(ctx context.Context, in *GetGameMusicReq, opts ...grpc.CallOption) (*GetGameMusicRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameMusicRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameMusic_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetGameMusic(ctx context.Context, in *SetGameMusicReq, opts ...grpc.CallOption) (*SetGameMusicRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetGameMusicRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetGameMusic_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AdvanceScreenMusic(ctx context.Context, in *AdvanceScreenMusicReq, opts ...grpc.CallOption) (*AdvanceScreenMusicRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AdvanceScreenMusicRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AdvanceScreenMusic_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) BindScreen(ctx context.Context, in *BindScreenReq, opts ...grpc.CallOption) (*BindScreenRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(BindScreenRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_BindScreen_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UnbindScreen(ctx context.Context, in *UnbindScreenReq, opts ...grpc.CallOption) (*UnbindScreenRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UnbindScreenRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UnbindScreen_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetScreenSound(ctx context.Context, in *SetScreenSoundReq, opts ...grpc.CallOption) (*SetScreenSoundRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetScreenSoundRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetScreenSound_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameMap(ctx context.Context, in *GetGameMapReq, opts ...grpc.CallOption) (*GetGameMapRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameMapRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameMap_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateGameMapItem(ctx context.Context, in *UpdateGameMapItemReq, opts ...grpc.CallOption) (*UpdateGameMapItemRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateGameMapItemRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateGameMapItem_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetScreenMode(ctx context.Context, in *SetScreenModeReq, opts ...grpc.CallOption) (*SetScreenModeRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetScreenModeRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetScreenMode_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetScreenTimer(ctx context.Context, in *SetScreenTimerReq, opts ...grpc.CallOption) (*SetScreenTimerRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetScreenTimerRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetScreenTimer_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SendScreenCommand(ctx context.Context, in *SendScreenCommandReq, opts ...grpc.CallOption) (*SendScreenCommandRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SendScreenCommandRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SendScreenCommand_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScreenPlan(ctx context.Context, in *GetScreenPlanReq, opts ...grpc.CallOption) (*GetScreenPlanRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScreenPlanRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScreenPlan_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SaveScreenPlan(ctx context.Context, in *SaveScreenPlanReq, opts ...grpc.CallOption) (*SaveScreenPlanRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SaveScreenPlanRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SaveScreenPlan_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetScreenPlanStep(ctx context.Context, in *SetScreenPlanStepReq, opts ...grpc.CallOption) (*SetScreenPlanStepRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetScreenPlanStepRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetScreenPlanStep_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScreenResults(ctx context.Context, in *GetScreenResultsReq, opts ...grpc.CallOption) (*GetScreenResultsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetScreenResultsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScreenResults_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DownloadGamePrintMaterials(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(httpbody.HttpBody)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DownloadTeamQR(ctx context.Context, in *GetGameReq, opts ...grpc.CallOption) (*httpbody.HttpBody, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(httpbody.HttpBody)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DownloadTeamQR_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameAnswers(ctx context.Context, in *GetGameAnswersReq, opts ...grpc.CallOption) (*GetGameAnswersRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameAnswersRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameAnswers_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameResults(ctx context.Context, in *GetGameResultsReq, opts ...grpc.CallOption) (*GetGameResultsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameResultsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameResults_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) CreateGameReview(ctx context.Context, in *CreateGameReviewReq, opts ...grpc.CallOption) (*CreateGameReviewRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(CreateGameReviewRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_CreateGameReview_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameReviews(ctx context.Context, in *GetGameReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameReviewsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameReviews_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetScenarioReviews(ctx context.Context, in *GetScenarioReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameReviewsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetScenarioReviews_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetGameReviewsForModeration(ctx context.Context, in *GetGameReviewsReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameReviewsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetGameReviewsForModeration_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetReviewsForModeration(ctx context.Context, in *GetReviewsForModerationReq, opts ...grpc.CallOption) (*GetGameReviewsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetGameReviewsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetReviewsForModeration_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) ModerateGameReview(ctx context.Context, in *ModerateGameReviewReq, opts ...grpc.CallOption) (*ModerateGameReviewRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ModerateGameReviewRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_ModerateGameReview_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateGame(ctx context.Context, in *UpdateGameReq, opts ...grpc.CallOption) (*UpdateGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) StartGame(ctx context.Context, in *StartGameReq, opts ...grpc.CallOption) (*StartGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(StartGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_StartGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) PauseGame(ctx context.Context, in *PauseGameReq, opts ...grpc.CallOption) (*PauseGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(PauseGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_PauseGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) PlayGame(ctx context.Context, in *PlayGameReq, opts ...grpc.CallOption) (*PlayGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(PlayGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_PlayGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) FinishGame(ctx context.Context, in *FinishGameReq, opts ...grpc.CallOption) (*FinishGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(FinishGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_FinishGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) ResetGame(ctx context.Context, in *ResetGameReq, opts ...grpc.CallOption) (*ResetGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(ResetGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_ResetGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteGame(ctx context.Context, in *DeleteGameReq, opts ...grpc.CallOption) (*DeleteGameRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteGameRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteGame_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddTeam(ctx context.Context, in *AddTeamReq, opts ...grpc.CallOption) (*AddTeamRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddTeamRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddTeam_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) UpdateTeam(ctx context.Context, in *UpdateTeamReq, opts ...grpc.CallOption) (*UpdateTeamRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(UpdateTeamRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_UpdateTeam_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteTeam(ctx context.Context, in *DeleteTeamReq, opts ...grpc.CallOption) (*DeleteTeamRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteTeamRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteTeam_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GiveTeamApplications(ctx context.Context, in *GiveTeamApplicationsReq, opts ...grpc.CallOption) (*GiveTeamApplicationsRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GiveTeamApplicationsRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GiveTeamApplications_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTeamStory(ctx context.Context, in *GetTeamStoryReq, opts ...grpc.CallOption) (*GetTeamStoryRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTeamStoryRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTeamStory_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) AddTeamAction(ctx context.Context, in *AddTeamActionReq, opts ...grpc.CallOption) (*AddTeamActionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(AddTeamActionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_AddTeamAction_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) DeleteLastTeamAction(ctx context.Context, in *DeleteLastTeamActionReq, opts ...grpc.CallOption) (*DeleteLastTeamActionRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(DeleteLastTeamActionRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_DeleteLastTeamAction_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) GetTeamAnswers(ctx context.Context, in *GetTeamAnswersReq, opts ...grpc.CallOption) (*GetTeamAnswersRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(GetTeamAnswersRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_GetTeamAnswers_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SubmitTeamAnswers(ctx context.Context, in *SubmitTeamAnswersReq, opts ...grpc.CallOption) (*SubmitTeamAnswersRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SubmitTeamAnswersRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SubmitTeamAnswers_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *eveningDetectiveServerClient) SetTeamAnswerScore(ctx context.Context, in *SetTeamAnswerScoreReq, opts ...grpc.CallOption) (*SetTeamAnswerScoreRsp, error) {
|
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
out := new(SetTeamAnswerScoreRsp)
|
|
err := c.cc.Invoke(ctx, EveningDetectiveServer_SetTeamAnswerScore_FullMethodName, in, out, cOpts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// EveningDetectiveServerServer is the server API for EveningDetectiveServer service.
|
|
// All implementations must embed UnimplementedEveningDetectiveServerServer
|
|
// for forward compatibility.
|
|
type EveningDetectiveServerServer interface {
|
|
DeviceHeartbeat(context.Context, *DeviceHeartbeatReq) (*DeviceHeartbeatRsp, error)
|
|
GetDevices(context.Context, *GetDevicesReq) (*GetDevicesRsp, error)
|
|
GetTasks(context.Context, *GetTasksReq) (*GetTasksRsp, error)
|
|
GetTaskAssignees(context.Context, *GetTaskAssigneesReq) (*GetTaskAssigneesRsp, error)
|
|
CreateTask(context.Context, *CreateTaskReq) (*TaskRsp, error)
|
|
UpdateTask(context.Context, *UpdateTaskReq) (*TaskRsp, error)
|
|
SetTaskStatus(context.Context, *SetTaskStatusReq) (*TaskRsp, error)
|
|
DeleteTask(context.Context, *DeleteTaskReq) (*DeleteTaskRsp, error)
|
|
GetParticipation(context.Context, *GetParticipationReq) (*ParticipationRsp, error)
|
|
AnswerParticipation(context.Context, *AnswerParticipationReq) (*ParticipationRsp, error)
|
|
Ping(context.Context, *PingReq) (*PingRsp, error)
|
|
Echo(context.Context, *EchoReq) (*EchoRsp, error)
|
|
Signup(context.Context, *SignupReq) (*SignupRsp, error)
|
|
RefreshPassword(context.Context, *RefreshPasswordReq) (*RefreshPasswordRsp, error)
|
|
Login(context.Context, *LoginReq) (*LoginRsp, error)
|
|
Refresh(context.Context, *RefreshReq) (*RefreshRsp, error)
|
|
DeleteAccount(context.Context, *DeleteAccountReq) (*DeleteAccountRsp, error)
|
|
GetTerms(context.Context, *GetTermsReq) (*GetTermsRsp, error)
|
|
GetPrivacy(context.Context, *GetPrivacyReq) (*GetPrivacyRsp, error)
|
|
GetConsent(context.Context, *GetConsentReq) (*GetConsentRsp, error)
|
|
GetUsers(context.Context, *GetUsersReq) (*GetUsersRsp, error)
|
|
GetUserByID(context.Context, *GetUserByIDReq) (*GetUserByIDRsp, error)
|
|
GetMe(context.Context, *GetMeReq) (*GetMeRsp, error)
|
|
// Только администратор; сеансы пользователя сохраняются.
|
|
// Ошибки: 401, 403, 400, 404, 500.
|
|
ChangeUserPassword(context.Context, *ChangeUserPasswordReq) (*ChangeUserPasswordRsp, error)
|
|
AddUserRole(context.Context, *AddUserRoleReq) (*AddUserRoleRsp, error)
|
|
DeleteUserRole(context.Context, *DeleteUserRoleReq) (*DeleteUserRoleRsp, error)
|
|
GetPermissions(context.Context, *GetPermissionsReq) (*GetPermissionsRsp, error)
|
|
UploadFile(context.Context, *UploadFileReq) (*UploadFileRsp, error)
|
|
DownloadFile(context.Context, *DownloadFileReq) (*httpbody.HttpBody, error)
|
|
GetPlaylists(context.Context, *GetPlaylistsReq) (*GetPlaylistsRsp, error)
|
|
CreatePlaylist(context.Context, *CreatePlaylistReq) (*CreatePlaylistRsp, error)
|
|
UpdatePlaylist(context.Context, *UpdatePlaylistReq) (*UpdatePlaylistRsp, error)
|
|
DeletePlaylist(context.Context, *DeletePlaylistReq) (*DeletePlaylistRsp, error)
|
|
UploadPlaylistTrack(context.Context, *UploadPlaylistTrackReq) (*UploadPlaylistTrackRsp, error)
|
|
DeletePlaylistTrack(context.Context, *DeletePlaylistTrackReq) (*DeletePlaylistTrackRsp, error)
|
|
SetScenarioPlaylist(context.Context, *SetScenarioPlaylistReq) (*SetScenarioPlaylistRsp, error)
|
|
AddScenario(context.Context, *AddScenarioReq) (*AddScenarioRsp, error)
|
|
GetMyScenarios(context.Context, *GetMyScenariosReq) (*GetMyScenariosRsp, error)
|
|
GetScenariosCatalog(context.Context, *GetScenariosCatalogReq) (*GetScenariosCatalogRsp, error)
|
|
GetFullScenario(context.Context, *GetScenarioReq) (*GetScenarioRsp, error)
|
|
GetScenario(context.Context, *GetScenarioReq) (*GetScenarioRsp, error)
|
|
UpdateScenario(context.Context, *UpdateScenarioReq) (*UpdateScenarioRsp, error)
|
|
PublicScenario(context.Context, *PublicScenarioReq) (*PublicScenarioRsp, error)
|
|
DraftScenario(context.Context, *DraftScenarioReq) (*DraftScenarioRsp, error)
|
|
DeleteScenario(context.Context, *DeleteScenarioReq) (*DeleteScenarioRsp, error)
|
|
AddScenarioPlace(context.Context, *AddScenarioPlaceReq) (*AddScenarioPlaceRsp, error)
|
|
UpdateScenarioPlace(context.Context, *UpdateScenarioPlaceReq) (*UpdateScenarioPlaceRsp, error)
|
|
DeleteScenarioPlace(context.Context, *DeleteScenarioPlaceReq) (*DeleteScenarioPlaceRsp, error)
|
|
AddScenarioQuestion(context.Context, *AddScenarioQuestionReq) (*AddScenarioQuestionRsp, error)
|
|
UpdateScenarioQuestion(context.Context, *UpdateScenarioQuestionReq) (*UpdateScenarioQuestionRsp, error)
|
|
DeleteScenarioQuestion(context.Context, *DeleteScenarioQuestionReq) (*DeleteScenarioQuestionRsp, error)
|
|
// Загрузить файл через UploadFile, затем передать его имя; пустое имя удаляет фон дела.
|
|
UpdateScenarioBackground(context.Context, *UpdateScenarioBackgroundReq) (*UpdateScenarioBackgroundRsp, error)
|
|
UpdateScenarioIntro(context.Context, *UpdateScenarioIntroReq) (*UpdateScenarioIntroRsp, error)
|
|
// Видео загружается через UploadFile (MP4/WebM). Пустая conclusion удаляет закрывашку.
|
|
UpdateScenarioConclusion(context.Context, *UpdateScenarioConclusionReq) (*UpdateScenarioConclusionRsp, error)
|
|
DownloadScenarioArchive(context.Context, *DownloadScenarioArchiveReq) (*httpbody.HttpBody, error)
|
|
UploadScenarioArchive(context.Context, *httpbody.HttpBody) (*UploadScenarioArchiveRsp, error)
|
|
AddGame(context.Context, *AddGameReq) (*AddGameRsp, error)
|
|
GetGames(context.Context, *GetGamesReq) (*GetGamesRsp, error)
|
|
GetGame(context.Context, *GetGameReq) (*GetGameRsp, error)
|
|
// HTTP uploads are streamed by a dedicated handler, bypassing gRPC message limits.
|
|
ImportGame(context.Context, *httpbody.HttpBody) (*GameImportRsp, error)
|
|
// Dedicated HTTP handlers stream ZIPs; gRPC retains its message size limit.
|
|
DownloadGameResultsPackage(context.Context, *GameResultsPackageReq) (*httpbody.HttpBody, error)
|
|
ApplyGameResultsPackage(context.Context, *ApplyGameResultsPackageReq) (*GameResultsPackageRsp, error)
|
|
StartGameExport(context.Context, *StartGameExportReq) (*GameExportRsp, error)
|
|
GetGameExport(context.Context, *GetGameExportReq) (*GameExportRsp, error)
|
|
IssueGameTickets(context.Context, *IssueGameTicketsReq) (*IssueGameTicketsRsp, error)
|
|
GetTicket(context.Context, *GetTicketReq) (*GetTicketRsp, error)
|
|
AcceptTicket(context.Context, *AcceptTicketReq) (*AcceptTicketRsp, error)
|
|
// Создать сессию экрана. Экран получает токен и показывает QR для привязки.
|
|
CreateScreenSession(context.Context, *CreateScreenSessionReq) (*CreateScreenSessionRsp, error)
|
|
// Получить состояние экрана по его токену. Вызывается самим экраном.
|
|
GetScreenState(context.Context, *GetScreenStateReq) (*GetScreenStateRsp, error)
|
|
GetGameScreens(context.Context, *GetGameScreensReq) (*GetGameScreensRsp, error)
|
|
GetGameMusic(context.Context, *GetGameMusicReq) (*GetGameMusicRsp, error)
|
|
SetGameMusic(context.Context, *SetGameMusicReq) (*SetGameMusicRsp, error)
|
|
AdvanceScreenMusic(context.Context, *AdvanceScreenMusicReq) (*AdvanceScreenMusicRsp, error)
|
|
// Привязать экран к игре. Требует авторизацию организатора, автора или администратора.
|
|
BindScreen(context.Context, *BindScreenReq) (*BindScreenRsp, error)
|
|
// Отвязать экран от игры. Требует авторизацию организатора, автора или администратора.
|
|
UnbindScreen(context.Context, *UnbindScreenReq) (*UnbindScreenRsp, error)
|
|
SetScreenSound(context.Context, *SetScreenSoundReq) (*SetScreenSoundRsp, error)
|
|
GetGameMap(context.Context, *GetGameMapReq) (*GetGameMapRsp, error)
|
|
UpdateGameMapItem(context.Context, *UpdateGameMapItemReq) (*UpdateGameMapItemRsp, error)
|
|
// Изменить общий режим показа всех экранов игры.
|
|
SetScreenMode(context.Context, *SetScreenModeReq) (*SetScreenModeRsp, error)
|
|
SetScreenTimer(context.Context, *SetScreenTimerReq) (*SetScreenTimerRsp, error)
|
|
// Отправить общую команду экранам игры.
|
|
SendScreenCommand(context.Context, *SendScreenCommandReq) (*SendScreenCommandRsp, error)
|
|
GetScreenPlan(context.Context, *GetScreenPlanReq) (*GetScreenPlanRsp, error)
|
|
SaveScreenPlan(context.Context, *SaveScreenPlanReq) (*SaveScreenPlanRsp, error)
|
|
SetScreenPlanStep(context.Context, *SetScreenPlanStepReq) (*SetScreenPlanStepRsp, error)
|
|
GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error)
|
|
DownloadGamePrintMaterials(context.Context, *GetGameReq) (*httpbody.HttpBody, error)
|
|
DownloadTeamQR(context.Context, *GetGameReq) (*httpbody.HttpBody, error)
|
|
GetGameAnswers(context.Context, *GetGameAnswersReq) (*GetGameAnswersRsp, error)
|
|
GetGameResults(context.Context, *GetGameResultsReq) (*GetGameResultsRsp, error)
|
|
CreateGameReview(context.Context, *CreateGameReviewReq) (*CreateGameReviewRsp, error)
|
|
GetGameReviews(context.Context, *GetGameReviewsReq) (*GetGameReviewsRsp, error)
|
|
GetScenarioReviews(context.Context, *GetScenarioReviewsReq) (*GetGameReviewsRsp, error)
|
|
GetGameReviewsForModeration(context.Context, *GetGameReviewsReq) (*GetGameReviewsRsp, error)
|
|
GetReviewsForModeration(context.Context, *GetReviewsForModerationReq) (*GetGameReviewsRsp, error)
|
|
ModerateGameReview(context.Context, *ModerateGameReviewReq) (*ModerateGameReviewRsp, error)
|
|
UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameRsp, error)
|
|
StartGame(context.Context, *StartGameReq) (*StartGameRsp, error)
|
|
PauseGame(context.Context, *PauseGameReq) (*PauseGameRsp, error)
|
|
PlayGame(context.Context, *PlayGameReq) (*PlayGameRsp, error)
|
|
FinishGame(context.Context, *FinishGameReq) (*FinishGameRsp, error)
|
|
ResetGame(context.Context, *ResetGameReq) (*ResetGameRsp, error)
|
|
DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameRsp, error)
|
|
AddTeam(context.Context, *AddTeamReq) (*AddTeamRsp, error)
|
|
UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamRsp, error)
|
|
DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamRsp, error)
|
|
GiveTeamApplications(context.Context, *GiveTeamApplicationsReq) (*GiveTeamApplicationsRsp, error)
|
|
GetTeamStory(context.Context, *GetTeamStoryReq) (*GetTeamStoryRsp, error)
|
|
AddTeamAction(context.Context, *AddTeamActionReq) (*AddTeamActionRsp, error)
|
|
DeleteLastTeamAction(context.Context, *DeleteLastTeamActionReq) (*DeleteLastTeamActionRsp, error)
|
|
GetTeamAnswers(context.Context, *GetTeamAnswersReq) (*GetTeamAnswersRsp, error)
|
|
SubmitTeamAnswers(context.Context, *SubmitTeamAnswersReq) (*SubmitTeamAnswersRsp, error)
|
|
SetTeamAnswerScore(context.Context, *SetTeamAnswerScoreReq) (*SetTeamAnswerScoreRsp, error)
|
|
mustEmbedUnimplementedEveningDetectiveServerServer()
|
|
}
|
|
|
|
// UnimplementedEveningDetectiveServerServer must be embedded to have
|
|
// forward compatible implementations.
|
|
//
|
|
// NOTE: this should be embedded by value instead of pointer to avoid a nil
|
|
// pointer dereference when methods are called.
|
|
type UnimplementedEveningDetectiveServerServer struct{}
|
|
|
|
func (UnimplementedEveningDetectiveServerServer) DeviceHeartbeat(context.Context, *DeviceHeartbeatReq) (*DeviceHeartbeatRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeviceHeartbeat not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetDevices(context.Context, *GetDevicesReq) (*GetDevicesRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetDevices not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTasks(context.Context, *GetTasksReq) (*GetTasksRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTasks not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTaskAssignees(context.Context, *GetTaskAssigneesReq) (*GetTaskAssigneesRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTaskAssignees not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) CreateTask(context.Context, *CreateTaskReq) (*TaskRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CreateTask not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateTask(context.Context, *UpdateTaskReq) (*TaskRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateTask not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetTaskStatus(context.Context, *SetTaskStatusReq) (*TaskRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetTaskStatus not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteTask(context.Context, *DeleteTaskReq) (*DeleteTaskRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteTask not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetParticipation(context.Context, *GetParticipationReq) (*ParticipationRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetParticipation not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AnswerParticipation(context.Context, *AnswerParticipationReq) (*ParticipationRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AnswerParticipation not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) Ping(context.Context, *PingReq) (*PingRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method Ping not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) Echo(context.Context, *EchoReq) (*EchoRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method Echo not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) Signup(context.Context, *SignupReq) (*SignupRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method Signup not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) RefreshPassword(context.Context, *RefreshPasswordReq) (*RefreshPasswordRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method RefreshPassword not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) Login(context.Context, *LoginReq) (*LoginRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method Login not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) Refresh(context.Context, *RefreshReq) (*RefreshRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method Refresh not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteAccount(context.Context, *DeleteAccountReq) (*DeleteAccountRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteAccount not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTerms(context.Context, *GetTermsReq) (*GetTermsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTerms not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetPrivacy(context.Context, *GetPrivacyReq) (*GetPrivacyRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetPrivacy not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetConsent(context.Context, *GetConsentReq) (*GetConsentRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetConsent not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetUsers(context.Context, *GetUsersReq) (*GetUsersRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetUsers not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetUserByID(context.Context, *GetUserByIDReq) (*GetUserByIDRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetUserByID not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetMe(context.Context, *GetMeReq) (*GetMeRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetMe not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) ChangeUserPassword(context.Context, *ChangeUserPasswordReq) (*ChangeUserPasswordRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ChangeUserPassword not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddUserRole(context.Context, *AddUserRoleReq) (*AddUserRoleRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddUserRole not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteUserRole(context.Context, *DeleteUserRoleReq) (*DeleteUserRoleRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteUserRole not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetPermissions(context.Context, *GetPermissionsReq) (*GetPermissionsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetPermissions not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UploadFile(context.Context, *UploadFileReq) (*UploadFileRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UploadFile not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DownloadFile(context.Context, *DownloadFileReq) (*httpbody.HttpBody, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DownloadFile not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetPlaylists(context.Context, *GetPlaylistsReq) (*GetPlaylistsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetPlaylists not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) CreatePlaylist(context.Context, *CreatePlaylistReq) (*CreatePlaylistRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CreatePlaylist not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdatePlaylist(context.Context, *UpdatePlaylistReq) (*UpdatePlaylistRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdatePlaylist not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeletePlaylist(context.Context, *DeletePlaylistReq) (*DeletePlaylistRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeletePlaylist not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UploadPlaylistTrack(context.Context, *UploadPlaylistTrackReq) (*UploadPlaylistTrackRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UploadPlaylistTrack not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeletePlaylistTrack(context.Context, *DeletePlaylistTrackReq) (*DeletePlaylistTrackRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeletePlaylistTrack not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetScenarioPlaylist(context.Context, *SetScenarioPlaylistReq) (*SetScenarioPlaylistRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetScenarioPlaylist not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddScenario(context.Context, *AddScenarioReq) (*AddScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetMyScenarios(context.Context, *GetMyScenariosReq) (*GetMyScenariosRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetMyScenarios not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScenariosCatalog(context.Context, *GetScenariosCatalogReq) (*GetScenariosCatalogRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScenariosCatalog not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetFullScenario(context.Context, *GetScenarioReq) (*GetScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetFullScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScenario(context.Context, *GetScenarioReq) (*GetScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenario(context.Context, *UpdateScenarioReq) (*UpdateScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) PublicScenario(context.Context, *PublicScenarioReq) (*PublicScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method PublicScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DraftScenario(context.Context, *DraftScenarioReq) (*DraftScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DraftScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteScenario(context.Context, *DeleteScenarioReq) (*DeleteScenarioRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteScenario not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddScenarioPlace(context.Context, *AddScenarioPlaceReq) (*AddScenarioPlaceRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddScenarioPlace not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenarioPlace(context.Context, *UpdateScenarioPlaceReq) (*UpdateScenarioPlaceRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenarioPlace not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteScenarioPlace(context.Context, *DeleteScenarioPlaceReq) (*DeleteScenarioPlaceRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteScenarioPlace not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddScenarioQuestion(context.Context, *AddScenarioQuestionReq) (*AddScenarioQuestionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddScenarioQuestion not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenarioQuestion(context.Context, *UpdateScenarioQuestionReq) (*UpdateScenarioQuestionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenarioQuestion not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteScenarioQuestion(context.Context, *DeleteScenarioQuestionReq) (*DeleteScenarioQuestionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteScenarioQuestion not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenarioBackground(context.Context, *UpdateScenarioBackgroundReq) (*UpdateScenarioBackgroundRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenarioBackground not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenarioIntro(context.Context, *UpdateScenarioIntroReq) (*UpdateScenarioIntroRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenarioIntro not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateScenarioConclusion(context.Context, *UpdateScenarioConclusionReq) (*UpdateScenarioConclusionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateScenarioConclusion not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DownloadScenarioArchive(context.Context, *DownloadScenarioArchiveReq) (*httpbody.HttpBody, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DownloadScenarioArchive not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UploadScenarioArchive(context.Context, *httpbody.HttpBody) (*UploadScenarioArchiveRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UploadScenarioArchive not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddGame(context.Context, *AddGameReq) (*AddGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGames(context.Context, *GetGamesReq) (*GetGamesRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGames not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGame(context.Context, *GetGameReq) (*GetGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) ImportGame(context.Context, *httpbody.HttpBody) (*GameImportRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ImportGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DownloadGameResultsPackage(context.Context, *GameResultsPackageReq) (*httpbody.HttpBody, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DownloadGameResultsPackage not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) ApplyGameResultsPackage(context.Context, *ApplyGameResultsPackageReq) (*GameResultsPackageRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ApplyGameResultsPackage not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) StartGameExport(context.Context, *StartGameExportReq) (*GameExportRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method StartGameExport not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameExport(context.Context, *GetGameExportReq) (*GameExportRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameExport not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) IssueGameTickets(context.Context, *IssueGameTicketsReq) (*IssueGameTicketsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method IssueGameTickets not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTicket(context.Context, *GetTicketReq) (*GetTicketRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTicket not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AcceptTicket(context.Context, *AcceptTicketReq) (*AcceptTicketRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AcceptTicket not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) CreateScreenSession(context.Context, *CreateScreenSessionReq) (*CreateScreenSessionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CreateScreenSession not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScreenState(context.Context, *GetScreenStateReq) (*GetScreenStateRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScreenState not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameScreens(context.Context, *GetGameScreensReq) (*GetGameScreensRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameScreens not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameMusic(context.Context, *GetGameMusicReq) (*GetGameMusicRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameMusic not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetGameMusic(context.Context, *SetGameMusicReq) (*SetGameMusicRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetGameMusic not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AdvanceScreenMusic(context.Context, *AdvanceScreenMusicReq) (*AdvanceScreenMusicRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AdvanceScreenMusic not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) BindScreen(context.Context, *BindScreenReq) (*BindScreenRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method BindScreen not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UnbindScreen(context.Context, *UnbindScreenReq) (*UnbindScreenRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UnbindScreen not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetScreenSound(context.Context, *SetScreenSoundReq) (*SetScreenSoundRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetScreenSound not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameMap(context.Context, *GetGameMapReq) (*GetGameMapRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameMap not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateGameMapItem(context.Context, *UpdateGameMapItemReq) (*UpdateGameMapItemRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateGameMapItem not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetScreenMode(context.Context, *SetScreenModeReq) (*SetScreenModeRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetScreenMode not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetScreenTimer(context.Context, *SetScreenTimerReq) (*SetScreenTimerRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetScreenTimer not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SendScreenCommand(context.Context, *SendScreenCommandReq) (*SendScreenCommandRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SendScreenCommand not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScreenPlan(context.Context, *GetScreenPlanReq) (*GetScreenPlanRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScreenPlan not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SaveScreenPlan(context.Context, *SaveScreenPlanReq) (*SaveScreenPlanRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SaveScreenPlan not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetScreenPlanStep(context.Context, *SetScreenPlanStepReq) (*SetScreenPlanStepRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetScreenPlanStep not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScreenResults(context.Context, *GetScreenResultsReq) (*GetScreenResultsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScreenResults not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DownloadGamePrintMaterials(context.Context, *GetGameReq) (*httpbody.HttpBody, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DownloadGamePrintMaterials not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DownloadTeamQR(context.Context, *GetGameReq) (*httpbody.HttpBody, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DownloadTeamQR not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameAnswers(context.Context, *GetGameAnswersReq) (*GetGameAnswersRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameAnswers not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameResults(context.Context, *GetGameResultsReq) (*GetGameResultsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameResults not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) CreateGameReview(context.Context, *CreateGameReviewReq) (*CreateGameReviewRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method CreateGameReview not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameReviews(context.Context, *GetGameReviewsReq) (*GetGameReviewsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameReviews not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetScenarioReviews(context.Context, *GetScenarioReviewsReq) (*GetGameReviewsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetScenarioReviews not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetGameReviewsForModeration(context.Context, *GetGameReviewsReq) (*GetGameReviewsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetGameReviewsForModeration not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetReviewsForModeration(context.Context, *GetReviewsForModerationReq) (*GetGameReviewsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetReviewsForModeration not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) ModerateGameReview(context.Context, *ModerateGameReviewReq) (*ModerateGameReviewRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ModerateGameReview not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateGame(context.Context, *UpdateGameReq) (*UpdateGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) StartGame(context.Context, *StartGameReq) (*StartGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method StartGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) PauseGame(context.Context, *PauseGameReq) (*PauseGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method PauseGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) PlayGame(context.Context, *PlayGameReq) (*PlayGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method PlayGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) FinishGame(context.Context, *FinishGameReq) (*FinishGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method FinishGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) ResetGame(context.Context, *ResetGameReq) (*ResetGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method ResetGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteGame(context.Context, *DeleteGameReq) (*DeleteGameRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteGame not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddTeam(context.Context, *AddTeamReq) (*AddTeamRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddTeam not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) UpdateTeam(context.Context, *UpdateTeamReq) (*UpdateTeamRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method UpdateTeam not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteTeam(context.Context, *DeleteTeamReq) (*DeleteTeamRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteTeam not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GiveTeamApplications(context.Context, *GiveTeamApplicationsReq) (*GiveTeamApplicationsRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GiveTeamApplications not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTeamStory(context.Context, *GetTeamStoryReq) (*GetTeamStoryRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTeamStory not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) AddTeamAction(context.Context, *AddTeamActionReq) (*AddTeamActionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method AddTeamAction not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) DeleteLastTeamAction(context.Context, *DeleteLastTeamActionReq) (*DeleteLastTeamActionRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method DeleteLastTeamAction not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) GetTeamAnswers(context.Context, *GetTeamAnswersReq) (*GetTeamAnswersRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method GetTeamAnswers not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SubmitTeamAnswers(context.Context, *SubmitTeamAnswersReq) (*SubmitTeamAnswersRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SubmitTeamAnswers not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) SetTeamAnswerScore(context.Context, *SetTeamAnswerScoreReq) (*SetTeamAnswerScoreRsp, error) {
|
|
return nil, status.Error(codes.Unimplemented, "method SetTeamAnswerScore not implemented")
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) mustEmbedUnimplementedEveningDetectiveServerServer() {
|
|
}
|
|
func (UnimplementedEveningDetectiveServerServer) testEmbeddedByValue() {}
|
|
|
|
// UnsafeEveningDetectiveServerServer may be embedded to opt out of forward compatibility for this service.
|
|
// Use of this interface is not recommended, as added methods to EveningDetectiveServerServer will
|
|
// result in compilation errors.
|
|
type UnsafeEveningDetectiveServerServer interface {
|
|
mustEmbedUnimplementedEveningDetectiveServerServer()
|
|
}
|
|
|
|
func RegisterEveningDetectiveServerServer(s grpc.ServiceRegistrar, srv EveningDetectiveServerServer) {
|
|
// If the following call panics, it indicates UnimplementedEveningDetectiveServerServer was
|
|
// embedded by pointer and is nil. This will cause panics if an
|
|
// unimplemented method is ever invoked, so we test this at initialization
|
|
// time to prevent it from happening at runtime later due to I/O.
|
|
if t, ok := srv.(interface{ testEmbeddedByValue() }); ok {
|
|
t.testEmbeddedByValue()
|
|
}
|
|
s.RegisterService(&EveningDetectiveServer_ServiceDesc, srv)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeviceHeartbeat_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeviceHeartbeatReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeviceHeartbeat(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeviceHeartbeat_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeviceHeartbeat(ctx, req.(*DeviceHeartbeatReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetDevicesReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetDevices(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetDevices_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetDevices(ctx, req.(*GetDevicesReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTasksReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTasks(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTasks_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTasks(ctx, req.(*GetTasksReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTaskAssignees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTaskAssigneesReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTaskAssignees(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTaskAssignees_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTaskAssignees(ctx, req.(*GetTaskAssigneesReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateTaskReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).CreateTask(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_CreateTask_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).CreateTask(ctx, req.(*CreateTaskReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateTaskReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateTask(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateTask_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateTask(ctx, req.(*UpdateTaskReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetTaskStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetTaskStatusReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetTaskStatus(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetTaskStatus_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetTaskStatus(ctx, req.(*SetTaskStatusReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteTaskReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteTask(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteTask_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteTask(ctx, req.(*DeleteTaskReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetParticipation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetParticipationReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetParticipation(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetParticipation_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetParticipation(ctx, req.(*GetParticipationReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AnswerParticipation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AnswerParticipationReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AnswerParticipation(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AnswerParticipation_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AnswerParticipation(ctx, req.(*AnswerParticipationReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PingReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).Ping(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_Ping_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).Ping(ctx, req.(*PingReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_Echo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(EchoReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).Echo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_Echo_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).Echo(ctx, req.(*EchoReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_Signup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SignupReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).Signup(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_Signup_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).Signup(ctx, req.(*SignupReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_RefreshPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RefreshPasswordReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).RefreshPassword(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_RefreshPassword_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).RefreshPassword(ctx, req.(*RefreshPasswordReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(LoginReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).Login(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_Login_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).Login(ctx, req.(*LoginReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_Refresh_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RefreshReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).Refresh(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_Refresh_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).Refresh(ctx, req.(*RefreshReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteAccountReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteAccount(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteAccount_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteAccount(ctx, req.(*DeleteAccountReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTerms_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTermsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTerms(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTerms_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTerms(ctx, req.(*GetTermsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetPrivacy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPrivacyReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetPrivacy(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetPrivacy_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetPrivacy(ctx, req.(*GetPrivacyReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetConsent_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetConsentReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetConsent(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetConsent_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetConsent(ctx, req.(*GetConsentReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetUsers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUsersReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetUsers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetUsers_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetUsers(ctx, req.(*GetUsersReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetUserByID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetUserByIDReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetUserByID(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetUserByID_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetUserByID(ctx, req.(*GetUserByIDReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetMe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetMeReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetMe(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetMe_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetMe(ctx, req.(*GetMeReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_ChangeUserPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ChangeUserPasswordReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).ChangeUserPassword(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_ChangeUserPassword_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).ChangeUserPassword(ctx, req.(*ChangeUserPasswordReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddUserRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddUserRoleReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddUserRole(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddUserRole_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddUserRole(ctx, req.(*AddUserRoleReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteUserRole_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteUserRoleReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteUserRole(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteUserRole_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteUserRole(ctx, req.(*DeleteUserRoleReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPermissionsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetPermissions(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetPermissions_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetPermissions(ctx, req.(*GetPermissionsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UploadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadFileReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UploadFile(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UploadFile_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UploadFile(ctx, req.(*UploadFileReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DownloadFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DownloadFileReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DownloadFile(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DownloadFile_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DownloadFile(ctx, req.(*DownloadFileReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetPlaylists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetPlaylistsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetPlaylists(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetPlaylists_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetPlaylists(ctx, req.(*GetPlaylistsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_CreatePlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreatePlaylistReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).CreatePlaylist(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_CreatePlaylist_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).CreatePlaylist(ctx, req.(*CreatePlaylistReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdatePlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdatePlaylistReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdatePlaylist(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdatePlaylist_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdatePlaylist(ctx, req.(*UpdatePlaylistReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeletePlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletePlaylistReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeletePlaylist(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeletePlaylist_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeletePlaylist(ctx, req.(*DeletePlaylistReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UploadPlaylistTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UploadPlaylistTrackReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UploadPlaylistTrack(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UploadPlaylistTrack_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UploadPlaylistTrack(ctx, req.(*UploadPlaylistTrackReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeletePlaylistTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeletePlaylistTrackReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeletePlaylistTrack(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeletePlaylistTrack_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeletePlaylistTrack(ctx, req.(*DeletePlaylistTrackReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetScenarioPlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetScenarioPlaylistReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetScenarioPlaylist(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetScenarioPlaylist_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetScenarioPlaylist(ctx, req.(*SetScenarioPlaylistReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddScenario(ctx, req.(*AddScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetMyScenarios_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetMyScenariosReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetMyScenarios(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetMyScenarios_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetMyScenarios(ctx, req.(*GetMyScenariosReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScenariosCatalog_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScenariosCatalogReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScenariosCatalog(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScenariosCatalog_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScenariosCatalog(ctx, req.(*GetScenariosCatalogReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetFullScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetFullScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetFullScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetFullScenario(ctx, req.(*GetScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScenario(ctx, req.(*GetScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenario(ctx, req.(*UpdateScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_PublicScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PublicScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).PublicScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_PublicScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).PublicScenario(ctx, req.(*PublicScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DraftScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DraftScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DraftScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DraftScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DraftScenario(ctx, req.(*DraftScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteScenario_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteScenarioReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenario(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteScenario_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenario(ctx, req.(*DeleteScenarioReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddScenarioPlace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddScenarioPlaceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddScenarioPlace(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddScenarioPlace_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddScenarioPlace(ctx, req.(*AddScenarioPlaceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenarioPlace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioPlaceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioPlace(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenarioPlace_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioPlace(ctx, req.(*UpdateScenarioPlaceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteScenarioPlace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteScenarioPlaceReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenarioPlace(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteScenarioPlace_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenarioPlace(ctx, req.(*DeleteScenarioPlaceReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddScenarioQuestion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddScenarioQuestionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddScenarioQuestion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddScenarioQuestion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddScenarioQuestion(ctx, req.(*AddScenarioQuestionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenarioQuestion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioQuestionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioQuestion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenarioQuestion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioQuestion(ctx, req.(*UpdateScenarioQuestionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteScenarioQuestion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteScenarioQuestionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenarioQuestion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteScenarioQuestion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteScenarioQuestion(ctx, req.(*DeleteScenarioQuestionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenarioBackground_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioBackgroundReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioBackground(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenarioBackground_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioBackground(ctx, req.(*UpdateScenarioBackgroundReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenarioIntro_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioIntroReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioIntro(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenarioIntro_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioIntro(ctx, req.(*UpdateScenarioIntroReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateScenarioConclusion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateScenarioConclusionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioConclusion(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateScenarioConclusion_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateScenarioConclusion(ctx, req.(*UpdateScenarioConclusionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DownloadScenarioArchive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DownloadScenarioArchiveReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DownloadScenarioArchive(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DownloadScenarioArchive_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DownloadScenarioArchive(ctx, req.(*DownloadScenarioArchiveReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UploadScenarioArchive_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(httpbody.HttpBody)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UploadScenarioArchive(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UploadScenarioArchive_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UploadScenarioArchive(ctx, req.(*httpbody.HttpBody))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddGame(ctx, req.(*AddGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGamesReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGames(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGames_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGames(ctx, req.(*GetGamesReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGame(ctx, req.(*GetGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_ImportGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(httpbody.HttpBody)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).ImportGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_ImportGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).ImportGame(ctx, req.(*httpbody.HttpBody))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DownloadGameResultsPackage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GameResultsPackageReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DownloadGameResultsPackage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DownloadGameResultsPackage_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DownloadGameResultsPackage(ctx, req.(*GameResultsPackageReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_ApplyGameResultsPackage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ApplyGameResultsPackageReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).ApplyGameResultsPackage(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_ApplyGameResultsPackage_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).ApplyGameResultsPackage(ctx, req.(*ApplyGameResultsPackageReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_StartGameExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StartGameExportReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).StartGameExport(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_StartGameExport_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).StartGameExport(ctx, req.(*StartGameExportReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameExport_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameExportReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameExport(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameExport_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameExport(ctx, req.(*GetGameExportReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_IssueGameTickets_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(IssueGameTicketsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).IssueGameTickets(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_IssueGameTickets_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).IssueGameTickets(ctx, req.(*IssueGameTicketsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTicket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTicketReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTicket(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTicket_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTicket(ctx, req.(*GetTicketReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AcceptTicket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AcceptTicketReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AcceptTicket(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AcceptTicket_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AcceptTicket(ctx, req.(*AcceptTicketReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_CreateScreenSession_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateScreenSessionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).CreateScreenSession(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_CreateScreenSession_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).CreateScreenSession(ctx, req.(*CreateScreenSessionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScreenState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScreenStateReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScreenState(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScreenState_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScreenState(ctx, req.(*GetScreenStateReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameScreens_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameScreensReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameScreens(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameScreens_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameScreens(ctx, req.(*GetGameScreensReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameMusic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameMusicReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameMusic(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameMusic_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameMusic(ctx, req.(*GetGameMusicReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetGameMusic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetGameMusicReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetGameMusic(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetGameMusic_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetGameMusic(ctx, req.(*SetGameMusicReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AdvanceScreenMusic_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AdvanceScreenMusicReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AdvanceScreenMusic(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AdvanceScreenMusic_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AdvanceScreenMusic(ctx, req.(*AdvanceScreenMusicReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_BindScreen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BindScreenReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).BindScreen(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_BindScreen_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).BindScreen(ctx, req.(*BindScreenReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UnbindScreen_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UnbindScreenReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UnbindScreen(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UnbindScreen_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UnbindScreen(ctx, req.(*UnbindScreenReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetScreenSound_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetScreenSoundReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetScreenSound(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetScreenSound_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetScreenSound(ctx, req.(*SetScreenSoundReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameMap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameMapReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameMap(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameMap_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameMap(ctx, req.(*GetGameMapReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateGameMapItem_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateGameMapItemReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateGameMapItem(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateGameMapItem_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateGameMapItem(ctx, req.(*UpdateGameMapItemReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetScreenMode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetScreenModeReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetScreenMode(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetScreenMode_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetScreenMode(ctx, req.(*SetScreenModeReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetScreenTimer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetScreenTimerReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetScreenTimer(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetScreenTimer_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetScreenTimer(ctx, req.(*SetScreenTimerReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SendScreenCommand_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SendScreenCommandReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SendScreenCommand(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SendScreenCommand_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SendScreenCommand(ctx, req.(*SendScreenCommandReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScreenPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScreenPlanReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScreenPlan(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScreenPlan_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScreenPlan(ctx, req.(*GetScreenPlanReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SaveScreenPlan_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SaveScreenPlanReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SaveScreenPlan(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SaveScreenPlan_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SaveScreenPlan(ctx, req.(*SaveScreenPlanReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetScreenPlanStep_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetScreenPlanStepReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetScreenPlanStep(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetScreenPlanStep_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetScreenPlanStep(ctx, req.(*SetScreenPlanStepReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScreenResults_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScreenResultsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScreenResults(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScreenResults_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScreenResults(ctx, req.(*GetScreenResultsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DownloadGamePrintMaterials_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DownloadGamePrintMaterials(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DownloadGamePrintMaterials_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DownloadGamePrintMaterials(ctx, req.(*GetGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DownloadTeamQR_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DownloadTeamQR(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DownloadTeamQR_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DownloadTeamQR(ctx, req.(*GetGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameAnswers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameAnswersReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameAnswers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameAnswers_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameAnswers(ctx, req.(*GetGameAnswersReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameResults_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameResultsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameResults(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameResults_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameResults(ctx, req.(*GetGameResultsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_CreateGameReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(CreateGameReviewReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).CreateGameReview(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_CreateGameReview_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).CreateGameReview(ctx, req.(*CreateGameReviewReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameReviews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameReviewsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameReviews(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameReviews_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameReviews(ctx, req.(*GetGameReviewsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetScenarioReviews_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetScenarioReviewsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetScenarioReviews(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetScenarioReviews_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetScenarioReviews(ctx, req.(*GetScenarioReviewsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetGameReviewsForModeration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetGameReviewsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetGameReviewsForModeration(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetGameReviewsForModeration_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetGameReviewsForModeration(ctx, req.(*GetGameReviewsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetReviewsForModeration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetReviewsForModerationReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetReviewsForModeration(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetReviewsForModeration_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetReviewsForModeration(ctx, req.(*GetReviewsForModerationReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_ModerateGameReview_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ModerateGameReviewReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).ModerateGameReview(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_ModerateGameReview_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).ModerateGameReview(ctx, req.(*ModerateGameReviewReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateGame(ctx, req.(*UpdateGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_StartGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(StartGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).StartGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_StartGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).StartGame(ctx, req.(*StartGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_PauseGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PauseGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).PauseGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_PauseGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).PauseGame(ctx, req.(*PauseGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_PlayGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PlayGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).PlayGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_PlayGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).PlayGame(ctx, req.(*PlayGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_FinishGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(FinishGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).FinishGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_FinishGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).FinishGame(ctx, req.(*FinishGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_ResetGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(ResetGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).ResetGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_ResetGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).ResetGame(ctx, req.(*ResetGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteGame_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteGameReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteGame(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteGame_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteGame(ctx, req.(*DeleteGameReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddTeamReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddTeam(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddTeam_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddTeam(ctx, req.(*AddTeamReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_UpdateTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(UpdateTeamReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).UpdateTeam(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_UpdateTeam_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).UpdateTeam(ctx, req.(*UpdateTeamReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteTeam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteTeamReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteTeam(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteTeam_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteTeam(ctx, req.(*DeleteTeamReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GiveTeamApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GiveTeamApplicationsReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GiveTeamApplications(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GiveTeamApplications_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GiveTeamApplications(ctx, req.(*GiveTeamApplicationsReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTeamStory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTeamStoryReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTeamStory(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTeamStory_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTeamStory(ctx, req.(*GetTeamStoryReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_AddTeamAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(AddTeamActionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).AddTeamAction(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_AddTeamAction_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).AddTeamAction(ctx, req.(*AddTeamActionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_DeleteLastTeamAction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DeleteLastTeamActionReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).DeleteLastTeamAction(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_DeleteLastTeamAction_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).DeleteLastTeamAction(ctx, req.(*DeleteLastTeamActionReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_GetTeamAnswers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetTeamAnswersReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).GetTeamAnswers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_GetTeamAnswers_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).GetTeamAnswers(ctx, req.(*GetTeamAnswersReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SubmitTeamAnswers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SubmitTeamAnswersReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SubmitTeamAnswers(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SubmitTeamAnswers_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SubmitTeamAnswers(ctx, req.(*SubmitTeamAnswersReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _EveningDetectiveServer_SetTeamAnswerScore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SetTeamAnswerScoreReq)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(EveningDetectiveServerServer).SetTeamAnswerScore(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: EveningDetectiveServer_SetTeamAnswerScore_FullMethodName,
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(EveningDetectiveServerServer).SetTeamAnswerScore(ctx, req.(*SetTeamAnswerScoreReq))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
// EveningDetectiveServer_ServiceDesc is the grpc.ServiceDesc for EveningDetectiveServer service.
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
// and not to be introspected or modified (even as a copy)
|
|
var EveningDetectiveServer_ServiceDesc = grpc.ServiceDesc{
|
|
ServiceName: "crabs.evening_detective_server.EveningDetectiveServer",
|
|
HandlerType: (*EveningDetectiveServerServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "DeviceHeartbeat",
|
|
Handler: _EveningDetectiveServer_DeviceHeartbeat_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetDevices",
|
|
Handler: _EveningDetectiveServer_GetDevices_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTasks",
|
|
Handler: _EveningDetectiveServer_GetTasks_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTaskAssignees",
|
|
Handler: _EveningDetectiveServer_GetTaskAssignees_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateTask",
|
|
Handler: _EveningDetectiveServer_CreateTask_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateTask",
|
|
Handler: _EveningDetectiveServer_UpdateTask_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetTaskStatus",
|
|
Handler: _EveningDetectiveServer_SetTaskStatus_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteTask",
|
|
Handler: _EveningDetectiveServer_DeleteTask_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetParticipation",
|
|
Handler: _EveningDetectiveServer_GetParticipation_Handler,
|
|
},
|
|
{
|
|
MethodName: "AnswerParticipation",
|
|
Handler: _EveningDetectiveServer_AnswerParticipation_Handler,
|
|
},
|
|
{
|
|
MethodName: "Ping",
|
|
Handler: _EveningDetectiveServer_Ping_Handler,
|
|
},
|
|
{
|
|
MethodName: "Echo",
|
|
Handler: _EveningDetectiveServer_Echo_Handler,
|
|
},
|
|
{
|
|
MethodName: "Signup",
|
|
Handler: _EveningDetectiveServer_Signup_Handler,
|
|
},
|
|
{
|
|
MethodName: "RefreshPassword",
|
|
Handler: _EveningDetectiveServer_RefreshPassword_Handler,
|
|
},
|
|
{
|
|
MethodName: "Login",
|
|
Handler: _EveningDetectiveServer_Login_Handler,
|
|
},
|
|
{
|
|
MethodName: "Refresh",
|
|
Handler: _EveningDetectiveServer_Refresh_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteAccount",
|
|
Handler: _EveningDetectiveServer_DeleteAccount_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTerms",
|
|
Handler: _EveningDetectiveServer_GetTerms_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPrivacy",
|
|
Handler: _EveningDetectiveServer_GetPrivacy_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetConsent",
|
|
Handler: _EveningDetectiveServer_GetConsent_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUsers",
|
|
Handler: _EveningDetectiveServer_GetUsers_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetUserByID",
|
|
Handler: _EveningDetectiveServer_GetUserByID_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMe",
|
|
Handler: _EveningDetectiveServer_GetMe_Handler,
|
|
},
|
|
{
|
|
MethodName: "ChangeUserPassword",
|
|
Handler: _EveningDetectiveServer_ChangeUserPassword_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddUserRole",
|
|
Handler: _EveningDetectiveServer_AddUserRole_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteUserRole",
|
|
Handler: _EveningDetectiveServer_DeleteUserRole_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPermissions",
|
|
Handler: _EveningDetectiveServer_GetPermissions_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadFile",
|
|
Handler: _EveningDetectiveServer_UploadFile_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadFile",
|
|
Handler: _EveningDetectiveServer_DownloadFile_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetPlaylists",
|
|
Handler: _EveningDetectiveServer_GetPlaylists_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreatePlaylist",
|
|
Handler: _EveningDetectiveServer_CreatePlaylist_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdatePlaylist",
|
|
Handler: _EveningDetectiveServer_UpdatePlaylist_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletePlaylist",
|
|
Handler: _EveningDetectiveServer_DeletePlaylist_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadPlaylistTrack",
|
|
Handler: _EveningDetectiveServer_UploadPlaylistTrack_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeletePlaylistTrack",
|
|
Handler: _EveningDetectiveServer_DeletePlaylistTrack_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetScenarioPlaylist",
|
|
Handler: _EveningDetectiveServer_SetScenarioPlaylist_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddScenario",
|
|
Handler: _EveningDetectiveServer_AddScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetMyScenarios",
|
|
Handler: _EveningDetectiveServer_GetMyScenarios_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScenariosCatalog",
|
|
Handler: _EveningDetectiveServer_GetScenariosCatalog_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetFullScenario",
|
|
Handler: _EveningDetectiveServer_GetFullScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScenario",
|
|
Handler: _EveningDetectiveServer_GetScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenario",
|
|
Handler: _EveningDetectiveServer_UpdateScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "PublicScenario",
|
|
Handler: _EveningDetectiveServer_PublicScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "DraftScenario",
|
|
Handler: _EveningDetectiveServer_DraftScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteScenario",
|
|
Handler: _EveningDetectiveServer_DeleteScenario_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddScenarioPlace",
|
|
Handler: _EveningDetectiveServer_AddScenarioPlace_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenarioPlace",
|
|
Handler: _EveningDetectiveServer_UpdateScenarioPlace_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteScenarioPlace",
|
|
Handler: _EveningDetectiveServer_DeleteScenarioPlace_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddScenarioQuestion",
|
|
Handler: _EveningDetectiveServer_AddScenarioQuestion_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenarioQuestion",
|
|
Handler: _EveningDetectiveServer_UpdateScenarioQuestion_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteScenarioQuestion",
|
|
Handler: _EveningDetectiveServer_DeleteScenarioQuestion_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenarioBackground",
|
|
Handler: _EveningDetectiveServer_UpdateScenarioBackground_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenarioIntro",
|
|
Handler: _EveningDetectiveServer_UpdateScenarioIntro_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateScenarioConclusion",
|
|
Handler: _EveningDetectiveServer_UpdateScenarioConclusion_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadScenarioArchive",
|
|
Handler: _EveningDetectiveServer_DownloadScenarioArchive_Handler,
|
|
},
|
|
{
|
|
MethodName: "UploadScenarioArchive",
|
|
Handler: _EveningDetectiveServer_UploadScenarioArchive_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddGame",
|
|
Handler: _EveningDetectiveServer_AddGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGames",
|
|
Handler: _EveningDetectiveServer_GetGames_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGame",
|
|
Handler: _EveningDetectiveServer_GetGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "ImportGame",
|
|
Handler: _EveningDetectiveServer_ImportGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadGameResultsPackage",
|
|
Handler: _EveningDetectiveServer_DownloadGameResultsPackage_Handler,
|
|
},
|
|
{
|
|
MethodName: "ApplyGameResultsPackage",
|
|
Handler: _EveningDetectiveServer_ApplyGameResultsPackage_Handler,
|
|
},
|
|
{
|
|
MethodName: "StartGameExport",
|
|
Handler: _EveningDetectiveServer_StartGameExport_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameExport",
|
|
Handler: _EveningDetectiveServer_GetGameExport_Handler,
|
|
},
|
|
{
|
|
MethodName: "IssueGameTickets",
|
|
Handler: _EveningDetectiveServer_IssueGameTickets_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTicket",
|
|
Handler: _EveningDetectiveServer_GetTicket_Handler,
|
|
},
|
|
{
|
|
MethodName: "AcceptTicket",
|
|
Handler: _EveningDetectiveServer_AcceptTicket_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateScreenSession",
|
|
Handler: _EveningDetectiveServer_CreateScreenSession_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScreenState",
|
|
Handler: _EveningDetectiveServer_GetScreenState_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameScreens",
|
|
Handler: _EveningDetectiveServer_GetGameScreens_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameMusic",
|
|
Handler: _EveningDetectiveServer_GetGameMusic_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetGameMusic",
|
|
Handler: _EveningDetectiveServer_SetGameMusic_Handler,
|
|
},
|
|
{
|
|
MethodName: "AdvanceScreenMusic",
|
|
Handler: _EveningDetectiveServer_AdvanceScreenMusic_Handler,
|
|
},
|
|
{
|
|
MethodName: "BindScreen",
|
|
Handler: _EveningDetectiveServer_BindScreen_Handler,
|
|
},
|
|
{
|
|
MethodName: "UnbindScreen",
|
|
Handler: _EveningDetectiveServer_UnbindScreen_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetScreenSound",
|
|
Handler: _EveningDetectiveServer_SetScreenSound_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameMap",
|
|
Handler: _EveningDetectiveServer_GetGameMap_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateGameMapItem",
|
|
Handler: _EveningDetectiveServer_UpdateGameMapItem_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetScreenMode",
|
|
Handler: _EveningDetectiveServer_SetScreenMode_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetScreenTimer",
|
|
Handler: _EveningDetectiveServer_SetScreenTimer_Handler,
|
|
},
|
|
{
|
|
MethodName: "SendScreenCommand",
|
|
Handler: _EveningDetectiveServer_SendScreenCommand_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScreenPlan",
|
|
Handler: _EveningDetectiveServer_GetScreenPlan_Handler,
|
|
},
|
|
{
|
|
MethodName: "SaveScreenPlan",
|
|
Handler: _EveningDetectiveServer_SaveScreenPlan_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetScreenPlanStep",
|
|
Handler: _EveningDetectiveServer_SetScreenPlanStep_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScreenResults",
|
|
Handler: _EveningDetectiveServer_GetScreenResults_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadGamePrintMaterials",
|
|
Handler: _EveningDetectiveServer_DownloadGamePrintMaterials_Handler,
|
|
},
|
|
{
|
|
MethodName: "DownloadTeamQR",
|
|
Handler: _EveningDetectiveServer_DownloadTeamQR_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameAnswers",
|
|
Handler: _EveningDetectiveServer_GetGameAnswers_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameResults",
|
|
Handler: _EveningDetectiveServer_GetGameResults_Handler,
|
|
},
|
|
{
|
|
MethodName: "CreateGameReview",
|
|
Handler: _EveningDetectiveServer_CreateGameReview_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameReviews",
|
|
Handler: _EveningDetectiveServer_GetGameReviews_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetScenarioReviews",
|
|
Handler: _EveningDetectiveServer_GetScenarioReviews_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetGameReviewsForModeration",
|
|
Handler: _EveningDetectiveServer_GetGameReviewsForModeration_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetReviewsForModeration",
|
|
Handler: _EveningDetectiveServer_GetReviewsForModeration_Handler,
|
|
},
|
|
{
|
|
MethodName: "ModerateGameReview",
|
|
Handler: _EveningDetectiveServer_ModerateGameReview_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateGame",
|
|
Handler: _EveningDetectiveServer_UpdateGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "StartGame",
|
|
Handler: _EveningDetectiveServer_StartGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "PauseGame",
|
|
Handler: _EveningDetectiveServer_PauseGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "PlayGame",
|
|
Handler: _EveningDetectiveServer_PlayGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "FinishGame",
|
|
Handler: _EveningDetectiveServer_FinishGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "ResetGame",
|
|
Handler: _EveningDetectiveServer_ResetGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteGame",
|
|
Handler: _EveningDetectiveServer_DeleteGame_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddTeam",
|
|
Handler: _EveningDetectiveServer_AddTeam_Handler,
|
|
},
|
|
{
|
|
MethodName: "UpdateTeam",
|
|
Handler: _EveningDetectiveServer_UpdateTeam_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteTeam",
|
|
Handler: _EveningDetectiveServer_DeleteTeam_Handler,
|
|
},
|
|
{
|
|
MethodName: "GiveTeamApplications",
|
|
Handler: _EveningDetectiveServer_GiveTeamApplications_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTeamStory",
|
|
Handler: _EveningDetectiveServer_GetTeamStory_Handler,
|
|
},
|
|
{
|
|
MethodName: "AddTeamAction",
|
|
Handler: _EveningDetectiveServer_AddTeamAction_Handler,
|
|
},
|
|
{
|
|
MethodName: "DeleteLastTeamAction",
|
|
Handler: _EveningDetectiveServer_DeleteLastTeamAction_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetTeamAnswers",
|
|
Handler: _EveningDetectiveServer_GetTeamAnswers_Handler,
|
|
},
|
|
{
|
|
MethodName: "SubmitTeamAnswers",
|
|
Handler: _EveningDetectiveServer_SubmitTeamAnswers_Handler,
|
|
},
|
|
{
|
|
MethodName: "SetTeamAnswerScore",
|
|
Handler: _EveningDetectiveServer_SetTeamAnswerScore_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "main.proto",
|
|
}
|