com.beamable 5.0.0-PREVIEW.RC3 → 5.0.0-PREVIEW.RC5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/.attestation.p7m +0 -0
  2. package/CHANGELOG.md +6 -0
  3. package/Common/Runtime/AgnosticAttribute.cs +2 -2
  4. package/Common/Runtime/Api/AliasHelper.cs +2 -2
  5. package/Common/Runtime/Api/Analytics/AnalyticsEventRequest.cs +2 -2
  6. package/Common/Runtime/Api/Analytics/AnalyticsService.cs +2 -2
  7. package/Common/Runtime/Api/Analytics/IBeamAnalyticsService.cs +2 -2
  8. package/Common/Runtime/Api/Analytics/Models/CoreEvent.cs +2 -2
  9. package/Common/Runtime/Api/Analytics/Models/IAnalyticsEvent.cs +2 -2
  10. package/Common/Runtime/Api/Analytics/Models/SampleCustomEvent.cs +2 -2
  11. package/Common/Runtime/Api/Announcements/AbsAnnouncementsApi.cs +2 -2
  12. package/Common/Runtime/Api/Announcements/IAnnouncementsApi.cs +2 -2
  13. package/Common/Runtime/Api/Auth/AuthApi.cs +2 -2
  14. package/Common/Runtime/Api/Auth/IAuthApi.cs +2 -2
  15. package/Common/Runtime/Api/Calendars/AbsCalendarApi.cs +2 -2
  16. package/Common/Runtime/Api/Calendars/ICalendarApi.cs +2 -2
  17. package/Common/Runtime/Api/Chat/ChatApi.cs +2 -2
  18. package/Common/Runtime/Api/Chat/IChatApi.cs +2 -2
  19. package/Common/Runtime/Api/CloudData/CloudDataApi.cs +2 -2
  20. package/Common/Runtime/Api/CloudData/ICloudDataApi.cs +2 -2
  21. package/Common/Runtime/Api/CometClientData.cs +2 -2
  22. package/Common/Runtime/Api/Commerce/ICommerceApi.cs +2 -2
  23. package/Common/Runtime/Api/Content/IContentApi.cs +2 -2
  24. package/Common/Runtime/Api/Events/AbsEventsApi.cs +2 -2
  25. package/Common/Runtime/Api/Events/IEventsApi.cs +2 -2
  26. package/Common/Runtime/Api/Groups/GroupsApi.cs +2 -2
  27. package/Common/Runtime/Api/Groups/IGroupsApi.cs +2 -2
  28. package/Common/Runtime/Api/IAccessToken.cs +2 -2
  29. package/Common/Runtime/Api/IBeamableFilesystemAccessor.cs +2 -2
  30. package/Common/Runtime/Api/IBeamableRequester.cs +2 -2
  31. package/Common/Runtime/Api/IConnectivityChecker.cs +2 -2
  32. package/Common/Runtime/Api/IHasBeamableRequester.cs +2 -2
  33. package/Common/Runtime/Api/IServiceRoutingStrategy.cs +2 -2
  34. package/Common/Runtime/Api/ISupportsGet.cs +2 -2
  35. package/Common/Runtime/Api/IUserContext.cs +2 -2
  36. package/Common/Runtime/Api/IUserDataCache.cs +2 -2
  37. package/Common/Runtime/Api/Inventory/IInventoryApi.cs +2 -2
  38. package/Common/Runtime/Api/Inventory/InventoryApi.cs +2 -2
  39. package/Common/Runtime/Api/Inventory/InventoryUpdateBuilder.cs +2 -2
  40. package/Common/Runtime/Api/Leaderboards/ILeaderboardApi.cs +2 -2
  41. package/Common/Runtime/Api/Leaderboards/LeaderboardApi.cs +2 -2
  42. package/Common/Runtime/Api/Lobbies/ILobbyApi.cs +2 -2
  43. package/Common/Runtime/Api/Lobbies/Lobby.cs +2 -2
  44. package/Common/Runtime/Api/Lobbies/LobbyNotification.cs +2 -2
  45. package/Common/Runtime/Api/Lobbies/LobbyPlayer.cs +2 -2
  46. package/Common/Runtime/Api/Lobbies/LobbyRestriction.cs +2 -2
  47. package/Common/Runtime/Api/Lobbies/LobbyService.cs +2 -2
  48. package/Common/Runtime/Api/Lobbies/LobbyUtils.cs +2 -2
  49. package/Common/Runtime/Api/Lobbies/NotInLobby.cs +2 -2
  50. package/Common/Runtime/Api/Lobbies/Requests/AddTagsRequest.cs +2 -2
  51. package/Common/Runtime/Api/Lobbies/Requests/CreateLobbyRequest.cs +2 -2
  52. package/Common/Runtime/Api/Lobbies/Requests/JoinByPasscodeRequest.cs +2 -2
  53. package/Common/Runtime/Api/Lobbies/Requests/JoinLobbyRequest.cs +2 -2
  54. package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryRequest.cs +2 -2
  55. package/Common/Runtime/Api/Lobbies/Requests/LobbyQueryResponse.cs +2 -2
  56. package/Common/Runtime/Api/Lobbies/Requests/RemoveFromLobbyRequest.cs +2 -2
  57. package/Common/Runtime/Api/Lobbies/Requests/RemoveTagsRequest.cs +2 -2
  58. package/Common/Runtime/Api/Lobbies/Requests/UpdateLobbyRequest.cs +2 -2
  59. package/Common/Runtime/Api/Mail/AbsMailApi.cs +2 -2
  60. package/Common/Runtime/Api/Mail/IMailApi.cs +2 -2
  61. package/Common/Runtime/Api/Notifications/INotificationService.cs +2 -2
  62. package/Common/Runtime/Api/Notifications/PrimitiveStringPayload.cs +2 -2
  63. package/Common/Runtime/Api/Parties/IPartyApi.cs +2 -2
  64. package/Common/Runtime/Api/Parties/NotInParty.cs +2 -2
  65. package/Common/Runtime/Api/Parties/Party.cs +2 -2
  66. package/Common/Runtime/Api/Parties/PartyNotifications.cs +2 -2
  67. package/Common/Runtime/Api/Parties/PartyRestriction.cs +2 -2
  68. package/Common/Runtime/Api/Parties/PartyService.cs +2 -2
  69. package/Common/Runtime/Api/Parties/Requests/CreatePartyRequest.cs +2 -2
  70. package/Common/Runtime/Api/Parties/Requests/PartyQueryResponse.cs +2 -2
  71. package/Common/Runtime/Api/Parties/Requests/PlayerRequest.cs +2 -2
  72. package/Common/Runtime/Api/Parties/Requests/UpdatePartyRequest.cs +2 -2
  73. package/Common/Runtime/Api/Payments/IPaymentsApi.cs +2 -2
  74. package/Common/Runtime/Api/Payments/PaymentsApi.cs +2 -2
  75. package/Common/Runtime/Api/Presence/IPresenceApi.cs +2 -2
  76. package/Common/Runtime/Api/Presence/PresenceService.cs +2 -2
  77. package/Common/Runtime/Api/Push/IPushApi.cs +2 -2
  78. package/Common/Runtime/Api/QueryBuilder.cs +2 -2
  79. package/Common/Runtime/Api/Realms/IAliasService.cs +2 -2
  80. package/Common/Runtime/Api/Realms/IRealmApi.cs +2 -2
  81. package/Common/Runtime/Api/Realms/RealmService.cs +2 -2
  82. package/Common/Runtime/Api/SignedRequesterHelper.cs +2 -2
  83. package/Common/Runtime/Api/Social/ISocialApi.cs +2 -2
  84. package/Common/Runtime/Api/Social/SocialApi.cs +2 -2
  85. package/Common/Runtime/Api/Stats/AbsStatsApi.cs +2 -2
  86. package/Common/Runtime/Api/Stats/IStatsApi.cs +2 -2
  87. package/Common/Runtime/Api/Stats/StatsAccessType.cs +2 -2
  88. package/Common/Runtime/Api/Stats/StatsApiHelper.cs +2 -2
  89. package/Common/Runtime/Api/Stats/StatsDomainType.cs +2 -2
  90. package/Common/Runtime/Api/Tournaments/ITournamentApi.cs +2 -2
  91. package/Common/Runtime/Api/Tournaments/TournamentApi.cs +2 -2
  92. package/Common/Runtime/BeamCli/CliContractTypeAttribute.cs +2 -2
  93. package/Common/Runtime/BeamCli/CliOtelData.cs +2 -2
  94. package/Common/Runtime/BeamCli/Contracts/CliLogMessage.cs +2 -2
  95. package/Common/Runtime/BeamCli/Contracts/CollectorStatus.cs +2 -2
  96. package/Common/Runtime/BeamCli/Contracts/Constants.cs +2 -2
  97. package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotActionType.cs +2 -2
  98. package/Common/Runtime/BeamCli/Contracts/ContentService/AutoSnapshotType.cs +2 -2
  99. package/Common/Runtime/BeamCli/Contracts/ContentService/ContentSnapshotType.cs +2 -2
  100. package/Common/Runtime/BeamCli/Contracts/ContentService/ContentStatus.cs +2 -2
  101. package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifest.cs +2 -2
  102. package/Common/Runtime/BeamCli/Contracts/ContentService/LocalContentManifestEntry.cs +2 -2
  103. package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestAuthor.cs +2 -2
  104. package/Common/Runtime/BeamCli/Contracts/ContentService/ManifestProjectData.cs +2 -2
  105. package/Common/Runtime/BeamCli/Contracts/ContentService/TagStatus.cs +2 -2
  106. package/Common/Runtime/BeamCli/Contracts/EnvironmentVersionData.cs +2 -2
  107. package/Common/Runtime/BeamCli/Contracts/GenerateEnvOutput.cs +2 -2
  108. package/Common/Runtime/BeamCli/Contracts/ServiceInfo.cs +2 -2
  109. package/Common/Runtime/BeamCli/ErrorOutput.cs +2 -2
  110. package/Common/Runtime/BeamCli/IBeamCommand.cs +2 -2
  111. package/Common/Runtime/BeamCli/Reporting.cs +2 -2
  112. package/Common/Runtime/BeamCli/ServiceInfoHelper.cs +2 -2
  113. package/Common/Runtime/BeamGenerateSchemaAttribute.cs +2 -2
  114. package/Common/Runtime/BeamableColorUtil.cs +2 -2
  115. package/Common/Runtime/BeamableEnumExtensions.cs +2 -2
  116. package/Common/Runtime/BeamableTaskExtensions.cs +2 -2
  117. package/Common/Runtime/Collections/ConcurrentBag.cs +2 -2
  118. package/Common/Runtime/Collections/ConcurrentDictionary.cs +2 -2
  119. package/Common/Runtime/Constants/Constants.cs +2 -2
  120. package/Common/Runtime/Constants/Implementations/ArchiveConstants.cs +2 -2
  121. package/Common/Runtime/Constants/Implementations/ConfigConstants.cs +2 -2
  122. package/Common/Runtime/Constants/Implementations/ContentConstants.cs +2 -2
  123. package/Common/Runtime/Constants/Implementations/ContentManagerConstants.cs +2 -2
  124. package/Common/Runtime/Constants/Implementations/CronConstants.cs +2 -2
  125. package/Common/Runtime/Constants/Implementations/DockerConstants.cs +2 -2
  126. package/Common/Runtime/Constants/Implementations/EnvironmentConstants.cs +2 -2
  127. package/Common/Runtime/Constants/Implementations/LoginBaseConstants.cs +2 -2
  128. package/Common/Runtime/Constants/Implementations/MigrationConstants.cs +2 -2
  129. package/Common/Runtime/Constants/Implementations/NotificationConstants.cs +2 -2
  130. package/Common/Runtime/Constants/Implementations/OtelConstants.cs +2 -2
  131. package/Common/Runtime/Constants/Implementations/RequesterConstants.cs +2 -2
  132. package/Common/Runtime/Constants/Implementations/SchedulesConstants.cs +2 -2
  133. package/Common/Runtime/Constants/Implementations/ServiceConstants.cs +2 -2
  134. package/Common/Runtime/Constants/Implementations/SpewConstants.cs +2 -2
  135. package/Common/Runtime/Constants/Implementations/TestingToolConstants.cs +2 -2
  136. package/Common/Runtime/Constants/Implementations/ToolbarConstants.cs +2 -2
  137. package/Common/Runtime/Constants/Implementations/ToolboxConstants.cs +2 -2
  138. package/Common/Runtime/Constants/Implementations/TooltipConstants.cs +2 -2
  139. package/Common/Runtime/Content/ClientContentSerializer.cs +2 -2
  140. package/Common/Runtime/Content/ClientManifest.cs +2 -2
  141. package/Common/Runtime/Content/ClientPermissions.cs +2 -2
  142. package/Common/Runtime/Content/ContentCorruptedException.cs +2 -2
  143. package/Common/Runtime/Content/ContentDataInfo.cs +2 -2
  144. package/Common/Runtime/Content/ContentDeserializationException.cs +2 -2
  145. package/Common/Runtime/Content/ContentFieldAttribute.cs +2 -2
  146. package/Common/Runtime/Content/ContentFilterType.cs +2 -2
  147. package/Common/Runtime/Content/ContentNotFoundException.cs +2 -2
  148. package/Common/Runtime/Content/ContentObject.cs +3 -3
  149. package/Common/Runtime/Content/ContentQuery.cs +2 -2
  150. package/Common/Runtime/Content/ContentQueryExtensions.cs +2 -2
  151. package/Common/Runtime/Content/ContentRef.cs +2 -2
  152. package/Common/Runtime/Content/ContentSerializer.cs +2 -2
  153. package/Common/Runtime/Content/ContentTypeAttribute.cs +2 -2
  154. package/Common/Runtime/Content/ContentTypeReflectionCache.cs +2 -2
  155. package/Common/Runtime/Content/ContentVisibility.cs +2 -2
  156. package/Common/Runtime/Content/Federation.cs +2 -2
  157. package/Common/Runtime/Content/IContentObject.cs +2 -2
  158. package/Common/Runtime/Content/IContentService.cs +2 -2
  159. package/Common/Runtime/Content/IIgnoreSerializationCallbacks.cs +2 -2
  160. package/Common/Runtime/Content/IgnoreContentFieldAttribute.cs +2 -2
  161. package/Common/Runtime/Content/Optionals.cs +2 -2
  162. package/Common/Runtime/Content/PropertyAttributes/FilePathSelectorAttribute.cs +2 -2
  163. package/Common/Runtime/Content/PropertyAttributes/HideUnlessServerPackageInstalled.cs +2 -2
  164. package/Common/Runtime/Content/PropertyAttributes/ReadonlyIfAttribute.cs +2 -2
  165. package/Common/Runtime/Content/PropertyAttributes/ShowOnlyAttribute.cs +2 -2
  166. package/Common/Runtime/Content/RenderAsRefAttribute.cs +2 -2
  167. package/Common/Runtime/Content/SerializableDictionary.cs +2 -2
  168. package/Common/Runtime/Content/Utility/DateUtility.cs +2 -2
  169. package/Common/Runtime/Content/Validation/AggregateContentValidationException.cs +2 -2
  170. package/Common/Runtime/Content/Validation/CannotBeBlank.cs +2 -2
  171. package/Common/Runtime/Content/Validation/CannotBeEmpty.cs +2 -2
  172. package/Common/Runtime/Content/Validation/ContentValidationException.cs +2 -2
  173. package/Common/Runtime/Content/Validation/FederationMustBeValid.cs +2 -2
  174. package/Common/Runtime/Content/Validation/MustBeComparatorString.cs +2 -2
  175. package/Common/Runtime/Content/Validation/MustBeCurrency.cs +2 -2
  176. package/Common/Runtime/Content/Validation/MustBeCurrencyOrItem.cs +2 -2
  177. package/Common/Runtime/Content/Validation/MustBeDateString.cs +2 -2
  178. package/Common/Runtime/Content/Validation/MustBeItem.cs +2 -2
  179. package/Common/Runtime/Content/Validation/MustBeLeaderboard.cs +2 -2
  180. package/Common/Runtime/Content/Validation/MustBeNonDefault.cs +2 -2
  181. package/Common/Runtime/Content/Validation/MustBeNonNegative.cs +2 -2
  182. package/Common/Runtime/Content/Validation/MustBeOneOf.cs +2 -2
  183. package/Common/Runtime/Content/Validation/MustBePositive.cs +2 -2
  184. package/Common/Runtime/Content/Validation/MustBeSlugString.cs +2 -2
  185. package/Common/Runtime/Content/Validation/MustBeTimeSpanDuration.cs +2 -2
  186. package/Common/Runtime/Content/Validation/MustBeValidCron.cs +2 -2
  187. package/Common/Runtime/Content/Validation/MustContain.cs +2 -2
  188. package/Common/Runtime/Content/Validation/MustReferenceContent.cs +2 -2
  189. package/Common/Runtime/Content/Validation/RouteParametersMustBeValid.cs +2 -2
  190. package/Common/Runtime/Content/Validation/ServiceRouteMustBeValid.cs +2 -2
  191. package/Common/Runtime/Content/Validation/TimeSpanDisplayAttribute.cs +2 -2
  192. package/Common/Runtime/Content/Validation/ValidationAttribute.cs +2 -2
  193. package/Common/Runtime/Content/Validation/ValidationContext.cs +2 -2
  194. package/Common/Runtime/CronExpression/CronLocale.cs +2 -2
  195. package/Common/Runtime/CronExpression/ErrorData.cs +2 -2
  196. package/Common/Runtime/CronExpression/ExpressionParser.cs +2 -2
  197. package/Common/Runtime/CronExpression/Options.cs +2 -2
  198. package/Common/Runtime/Debug.cs +2 -2
  199. package/Common/Runtime/DefaultQuery.cs +2 -2
  200. package/Common/Runtime/Dependencies/DependencyBuilder.cs +2 -2
  201. package/Common/Runtime/Dependencies/DependencyProvider.cs +2 -2
  202. package/Common/Runtime/Dependencies/Exceptions.cs +2 -2
  203. package/Common/Runtime/Dependencies/IDependencyList.cs +2 -2
  204. package/Common/Runtime/Dependencies/IDependencyNameProvider.cs +2 -2
  205. package/Common/Runtime/Dependencies/RegisterBeamableDependenciesAttribute.cs +2 -2
  206. package/Common/Runtime/Dependencies/ServiceStorage.cs +2 -2
  207. package/Common/Runtime/Dependencies/Utils.cs +2 -2
  208. package/Common/Runtime/DocUtils.cs +2 -2
  209. package/Common/Runtime/Environment/PackageVersion.cs +2 -2
  210. package/Common/Runtime/Federation/FederatedGameServer.cs +2 -2
  211. package/Common/Runtime/Federation/FederatedInventory.cs +2 -2
  212. package/Common/Runtime/Federation/FederatedLogin.cs +2 -2
  213. package/Common/Runtime/Federation/FederatedPlayerInit.cs +2 -2
  214. package/Common/Runtime/Federation/Federation.cs +2 -2
  215. package/Common/Runtime/IRuntimeConfigProvider.cs +2 -2
  216. package/Common/Runtime/ISearchableElement.cs +2 -2
  217. package/Common/Runtime/JsonSerializable/DeleteStream.cs +2 -2
  218. package/Common/Runtime/JsonSerializable/DiffStream.cs +2 -2
  219. package/Common/Runtime/JsonSerializable/JsonData.cs +2 -2
  220. package/Common/Runtime/JsonSerializable/JsonSaveStream.cs +2 -2
  221. package/Common/Runtime/JsonSerializable/JsonSerializable.cs +2 -2
  222. package/Common/Runtime/JsonSerializable/LoadStream.cs +2 -2
  223. package/Common/Runtime/JsonSerializable/MessagePackStream.cs +2 -2
  224. package/Common/Runtime/JsonSerializable/SaveStream.cs +2 -2
  225. package/Common/Runtime/JsonSerializable/TypeLookupFactory.cs +2 -2
  226. package/Common/Runtime/Modules/Announcements/AnnouncementApiContent.cs +2 -2
  227. package/Common/Runtime/Modules/Announcements/AnnouncementContent.cs +2 -2
  228. package/Common/Runtime/Modules/Announcements/AnnouncementRef.cs +2 -2
  229. package/Common/Runtime/Modules/Calendars/CalendarContent.cs +2 -2
  230. package/Common/Runtime/Modules/Calendars/CalendarRef.cs +2 -2
  231. package/Common/Runtime/Modules/Groups/GroupDonationContentRef.cs +2 -2
  232. package/Common/Runtime/Modules/Groups/GroupDonationsContent.cs +2 -2
  233. package/Common/Runtime/Modules/Inventory/CurrencyContent.cs +2 -2
  234. package/Common/Runtime/Modules/Inventory/CurrencyRef.cs +2 -2
  235. package/Common/Runtime/Modules/Inventory/ItemContent.cs +2 -2
  236. package/Common/Runtime/Modules/Inventory/ItemRef.cs +2 -2
  237. package/Common/Runtime/Modules/Inventory/VipContent.cs +2 -2
  238. package/Common/Runtime/Modules/Leaderboards/LeaderboardContent.cs +2 -2
  239. package/Common/Runtime/Modules/Leaderboards/LeaderboardRef.cs +2 -2
  240. package/Common/Runtime/Modules/SharedContent/ApiContent.cs +2 -2
  241. package/Common/Runtime/Modules/SharedContent/EmailContent.cs +2 -2
  242. package/Common/Runtime/Modules/SharedContent/EventContent.cs +2 -2
  243. package/Common/Runtime/Modules/SharedContent/PlayerReward.cs +2 -2
  244. package/Common/Runtime/Modules/SharedContent/ScheduleDefinition.cs +2 -2
  245. package/Common/Runtime/Modules/SharedContent/ScheduleExtensions.cs +2 -2
  246. package/Common/Runtime/Modules/SharedContent/SimGameType.cs +2 -2
  247. package/Common/Runtime/Modules/Shop/ListingContent.cs +2 -2
  248. package/Common/Runtime/Modules/Shop/ListingLink.cs +2 -2
  249. package/Common/Runtime/Modules/Shop/ListingRef.cs +2 -2
  250. package/Common/Runtime/Modules/Shop/SKUContent.cs +2 -2
  251. package/Common/Runtime/Modules/Shop/SKURef.cs +2 -2
  252. package/Common/Runtime/Modules/Shop/StoreContent.cs +2 -2
  253. package/Common/Runtime/Modules/Shop/StoreRef.cs +2 -2
  254. package/Common/Runtime/Modules/Steam/ISteamService.cs +2 -2
  255. package/Common/Runtime/Modules/Tournaments/TournamentColorConstants.cs +2 -2
  256. package/Common/Runtime/Modules/Tournaments/TournamentContent.cs +2 -2
  257. package/Common/Runtime/ObjectExtensions.cs +2 -2
  258. package/Common/Runtime/OpenApi/AccountsBasic.gs.cs +2 -2
  259. package/Common/Runtime/OpenApi/AccountsBasicCommon.gs.cs +2 -2
  260. package/Common/Runtime/OpenApi/AccountsObject.gs.cs +2 -2
  261. package/Common/Runtime/OpenApi/AnnouncementsBasic.gs.cs +2 -2
  262. package/Common/Runtime/OpenApi/AnnouncementsBasicCommon.gs.cs +2 -2
  263. package/Common/Runtime/OpenApi/AnnouncementsObject.gs.cs +2 -2
  264. package/Common/Runtime/OpenApi/AuthBasic.gs.cs +2 -2
  265. package/Common/Runtime/OpenApi/AuthBasicCommon.gs.cs +2 -2
  266. package/Common/Runtime/OpenApi/BeamAdmin.gs.cs +2 -2
  267. package/Common/Runtime/OpenApi/BeamAdminCommon.gs.cs +2 -2
  268. package/Common/Runtime/OpenApi/BeamAuth.gs.cs +2 -2
  269. package/Common/Runtime/OpenApi/BeamAuthCommon.gs.cs +2 -2
  270. package/Common/Runtime/OpenApi/BeamBeamo.gs.cs +2 -2
  271. package/Common/Runtime/OpenApi/BeamBeamoCommon.gs.cs +2 -2
  272. package/Common/Runtime/OpenApi/BeamBeamootel.gs.cs +2 -2
  273. package/Common/Runtime/OpenApi/BeamBeamootelCommon.gs.cs +2 -2
  274. package/Common/Runtime/OpenApi/BeamCustomer.gs.cs +157 -85
  275. package/Common/Runtime/OpenApi/BeamCustomerCommon.gs.cs +2 -2
  276. package/Common/Runtime/OpenApi/BeamLobby.gs.cs +320 -318
  277. package/Common/Runtime/OpenApi/BeamLobbyCommon.gs.cs +2 -2
  278. package/Common/Runtime/OpenApi/BeamMailbox.gs.cs +2 -2
  279. package/Common/Runtime/OpenApi/BeamMailboxCommon.gs.cs +2 -2
  280. package/Common/Runtime/OpenApi/BeamMatchmaking.gs.cs +169 -169
  281. package/Common/Runtime/OpenApi/BeamMatchmakingCommon.gs.cs +2 -2
  282. package/Common/Runtime/OpenApi/BeamParty.gs.cs +270 -219
  283. package/Common/Runtime/OpenApi/BeamPartyCommon.gs.cs +2 -2
  284. package/Common/Runtime/OpenApi/BeamPlayer.gs.cs +2 -2
  285. package/Common/Runtime/OpenApi/BeamPlayerCommon.gs.cs +2 -2
  286. package/Common/Runtime/OpenApi/BeamPlayerlobby.gs.cs +2 -2
  287. package/Common/Runtime/OpenApi/BeamPlayerlobbyCommon.gs.cs +2 -2
  288. package/Common/Runtime/OpenApi/BeamPlayerparty.gs.cs +2 -2
  289. package/Common/Runtime/OpenApi/BeamPlayerpartyCommon.gs.cs +2 -2
  290. package/Common/Runtime/OpenApi/BeamPlayerticket.gs.cs +2 -2
  291. package/Common/Runtime/OpenApi/BeamPlayerticketCommon.gs.cs +2 -2
  292. package/Common/Runtime/OpenApi/BeamPresence.gs.cs +2 -2
  293. package/Common/Runtime/OpenApi/BeamPresenceCommon.gs.cs +2 -2
  294. package/Common/Runtime/OpenApi/BeamScheduler.gs.cs +6 -6
  295. package/Common/Runtime/OpenApi/BeamSchedulerCommon.gs.cs +2 -2
  296. package/Common/Runtime/OpenApi/BeamServiceplan.gs.cs +2 -2
  297. package/Common/Runtime/OpenApi/BeamServiceplanCommon.gs.cs +2 -2
  298. package/Common/Runtime/OpenApi/BeamoBasic.gs.cs +2 -2
  299. package/Common/Runtime/OpenApi/BeamoBasicCommon.gs.cs +2 -2
  300. package/Common/Runtime/OpenApi/CalendarsObject.gs.cs +2 -2
  301. package/Common/Runtime/OpenApi/CalendarsObjectCommon.gs.cs +2 -2
  302. package/Common/Runtime/OpenApi/CloudsavingBasic.gs.cs +2 -2
  303. package/Common/Runtime/OpenApi/CloudsavingBasicCommon.gs.cs +2 -2
  304. package/Common/Runtime/OpenApi/CommerceBasic.gs.cs +2 -2
  305. package/Common/Runtime/OpenApi/CommerceBasicCommon.gs.cs +2 -2
  306. package/Common/Runtime/OpenApi/CommerceObject.gs.cs +7 -7
  307. package/Common/Runtime/OpenApi/ContentBasic.gs.cs +2 -2
  308. package/Common/Runtime/OpenApi/ContentBasicCommon.gs.cs +2 -2
  309. package/Common/Runtime/OpenApi/Event-playersObject.gs.cs +2 -2
  310. package/Common/Runtime/OpenApi/Event-playersObjectCommon.gs.cs +2 -2
  311. package/Common/Runtime/OpenApi/EventsBasic.gs.cs +2 -2
  312. package/Common/Runtime/OpenApi/EventsBasicCommon.gs.cs +2 -2
  313. package/Common/Runtime/OpenApi/EventsObject.gs.cs +2 -2
  314. package/Common/Runtime/OpenApi/Group-usersObject.gs.cs +2 -2
  315. package/Common/Runtime/OpenApi/Group-usersObjectCommon.gs.cs +2 -2
  316. package/Common/Runtime/OpenApi/GroupsObject.gs.cs +2 -2
  317. package/Common/Runtime/OpenApi/GroupsObjectCommon.gs.cs +2 -2
  318. package/Common/Runtime/OpenApi/InventoryBasic.gs.cs +2 -2
  319. package/Common/Runtime/OpenApi/InventoryBasicCommon.gs.cs +2 -2
  320. package/Common/Runtime/OpenApi/InventoryObject.gs.cs +7 -7
  321. package/Common/Runtime/OpenApi/LeaderboardsBasic.gs.cs +2 -2
  322. package/Common/Runtime/OpenApi/LeaderboardsBasicCommon.gs.cs +2 -2
  323. package/Common/Runtime/OpenApi/LeaderboardsObject.gs.cs +54 -34
  324. package/Common/Runtime/OpenApi/MailBasic.gs.cs +2 -2
  325. package/Common/Runtime/OpenApi/MailBasicCommon.gs.cs +2 -2
  326. package/Common/Runtime/OpenApi/MailObject.gs.cs +2 -2
  327. package/Common/Runtime/OpenApi/Models.gs.cs +366 -187
  328. package/Common/Runtime/OpenApi/NotificationBasic.gs.cs +2 -2
  329. package/Common/Runtime/OpenApi/NotificationBasicCommon.gs.cs +2 -2
  330. package/Common/Runtime/OpenApi/PaymentsBasic.gs.cs +2 -2
  331. package/Common/Runtime/OpenApi/PaymentsBasicCommon.gs.cs +2 -2
  332. package/Common/Runtime/OpenApi/PaymentsObject.gs.cs +4 -4
  333. package/Common/Runtime/OpenApi/PushBasic.gs.cs +2 -2
  334. package/Common/Runtime/OpenApi/PushBasicCommon.gs.cs +2 -2
  335. package/Common/Runtime/OpenApi/RealmsBasic.gs.cs +6 -6
  336. package/Common/Runtime/OpenApi/RealmsBasicCommon.gs.cs +2 -2
  337. package/Common/Runtime/OpenApi/SessionBasic.gs.cs +2 -2
  338. package/Common/Runtime/OpenApi/SessionBasicCommon.gs.cs +2 -2
  339. package/Common/Runtime/OpenApi/SocialBasic.gs.cs +2 -2
  340. package/Common/Runtime/OpenApi/SocialBasicCommon.gs.cs +2 -2
  341. package/Common/Runtime/OpenApi/StatsBasic.gs.cs +2 -2
  342. package/Common/Runtime/OpenApi/StatsBasicCommon.gs.cs +2 -2
  343. package/Common/Runtime/OpenApi/StatsObject.gs.cs +2 -2
  344. package/Common/Runtime/OpenApi/TournamentsBasic.gs.cs +2 -2
  345. package/Common/Runtime/OpenApi/TournamentsBasicCommon.gs.cs +2 -2
  346. package/Common/Runtime/OpenApi/TournamentsObject.gs.cs +2 -2
  347. package/Common/Runtime/OpenApi/TrialsBasic.gs.cs +2 -2
  348. package/Common/Runtime/OpenApi/TrialsBasicCommon.gs.cs +2 -2
  349. package/Common/Runtime/OpenApiExtensions/BeamoExtensions.cs +2 -2
  350. package/Common/Runtime/OpenApiExtensions/LegacyConverterExtensions.cs +2 -2
  351. package/Common/Runtime/OpenApiSystem.cs +2 -2
  352. package/Common/Runtime/Player/Lazy.cs +2 -2
  353. package/Common/Runtime/Player/Observables.cs +2 -2
  354. package/Common/Runtime/Pooling/ClassPool.cs +2 -2
  355. package/Common/Runtime/Pooling/StringBuilderPool.cs +2 -2
  356. package/Common/Runtime/Promise.cs +2 -2
  357. package/Common/Runtime/ReflectionCache/BeamContextSystemAttribute.cs +2 -2
  358. package/Common/Runtime/ReflectionCache/INamingAttribute.cs +2 -2
  359. package/Common/Runtime/ReflectionCache/IReflectionAttribute.cs +2 -2
  360. package/Common/Runtime/ReflectionCache/PreserveAttribute.cs +2 -2
  361. package/Common/Runtime/ReflectionCache/ReflectionCache.cs +2 -2
  362. package/Common/Runtime/ReflectionCache/ReflectionCache_Attributes.cs +2 -2
  363. package/Common/Runtime/ReflectionCache/ReflectionCache_BaseTypes.cs +2 -2
  364. package/Common/Runtime/ReflectionCache/ReflectionCache_SignatureMatching.cs +2 -2
  365. package/Common/Runtime/Scheduler/BeamScheduler.cs +2 -2
  366. package/Common/Runtime/Scheduler/Cron.cs +2 -2
  367. package/Common/Runtime/Scheduler/CronValidation.cs +2 -2
  368. package/Common/Runtime/Semantics/ServiceName.cs +2 -2
  369. package/Common/Runtime/SmallerJSON/IRawJsonProvider.cs +2 -2
  370. package/Common/Runtime/SmallerJSON/SmallerJSON.ArrayDict.cs +2 -2
  371. package/Common/Runtime/SmallerJSON/SmallerJSON.FromString.cs +2 -2
  372. package/Common/Runtime/SmallerJSON/SmallerJSON.cs +2 -2
  373. package/Common/Runtime/Spew/Logger.cs +2 -2
  374. package/Common/Runtime/Spew/SpewLoggerAttribute.cs +2 -2
  375. package/Common/Runtime/Trie.cs +2 -2
  376. package/Common/Runtime/TypeExtensions.cs +2 -2
  377. package/Common/Runtime/Util/BeamAssemblyVersionUtil.cs +2 -2
  378. package/Common/Runtime/Util/BeamFileUtil.cs +2 -2
  379. package/Common/Runtime/Util/DocsPageHelper.cs +2 -2
  380. package/Common/Runtime/Util/NaturalStringComparer.cs +2 -2
  381. package/Editor/BeamCli/BeamCli.cs +25 -23
  382. package/Editor/BeamCli/BeamCommand.cs +5 -2
  383. package/Editor/BeamCli/BeamWebCommand.cs +2 -2
  384. package/Editor/BeamCli/Commands/BeamFetchCommandLogRecord.cs +1 -0
  385. package/Editor/BeamCli/Commands/BeamProjectGenerateEnv.cs +7 -0
  386. package/Editor/BeamCli/Extensions/DiscoveryExtensions.cs +17 -1
  387. package/Editor/BeamCli/UI/BeamCliWindow_Commands.cs +80 -53
  388. package/Editor/ContentService/CliContentService.cs +3 -9
  389. package/Editor/Server/Usam/UsamService.cs +3 -1
  390. package/Editor/UI/AccountWindow/AccountWindow.cs +3 -2
  391. package/Editor/UI/ContentWindow/ContentWindow_ItemsPanel.cs +31 -19
  392. package/Editor/Utility/UnityOtelManager.cs +6 -2
  393. package/Runtime/Environment/Resources/env-default.json +1 -1
  394. package/Runtime/Environment/Resources/versions-default.json +1 -1
  395. package/Samples~/LightBeamSamples/SceneLoader/LightBeamBooter.cs +1 -1
  396. package/Tests/Runtime/Beamable/Player/Inventory/MockInventoryApi.cs +4 -4
  397. package/package.json +1 -1
@@ -1,320 +1,322 @@
1
- // this file was copied from nuget package Beamable.Common@7.0.0-PREVIEW.RC3
2
- // https://www.nuget.org/packages/Beamable.Common/7.0.0-PREVIEW.RC3
1
+ // this file was copied from nuget package Beamable.Common@7.0.0-PREVIEW.RC6
2
+ // https://www.nuget.org/packages/Beamable.Common/7.0.0-PREVIEW.RC6
3
3
 
4
4
 
5
- namespace Beamable.Api.Autogenerated.Lobby
6
- {
7
- using Beamable.Api.Autogenerated.Models;
8
- using Beamable.Common.Content;
9
- using Beamable.Common;
10
- using IBeamableRequester = Beamable.Common.Api.IBeamableRequester;
11
- using Method = Beamable.Common.Api.Method;
12
- using Beamable.Common.Dependencies;
13
-
14
- public partial interface IBeamLobbyApi
15
- {
16
- /// <summary>
17
- /// Query for active lobbies
18
- ///
19
- /// GET call to `/api/lobbies` endpoint.
20
- /// </summary>
21
- /// <param name="Limit"></param>
22
- /// <param name="MatchType"></param>
23
- /// <param name="Skip"></param>
24
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
25
- /// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
26
- Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
27
- /// <summary>
28
- /// Create a lobby. A leader is not necessary to create a lobby.
29
- ///
30
- /// POST call to `/api/lobbies` endpoint.
31
- /// </summary>
32
- /// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
33
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
34
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
35
- Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
36
- /// <summary>
37
- /// Exposes the internal "SetLobby" behavior as an Admin only endpoint
38
- ///
39
- /// PUT call to `/api/lobbies` endpoint.
40
- /// </summary>
41
- /// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
42
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
43
- /// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
44
- Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
45
- /// <summary>
46
- /// Get the current status of a lobby by id.
47
- ///
48
- /// GET call to `/api/lobbies/{id}` endpoint.
49
- /// </summary>
50
- /// <param name="id">The lobby id.</param>
51
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
52
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
53
- Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
54
- /// <summary>
55
- /// Join a lobby
56
- ///
57
- /// PUT call to `/api/lobbies/{id}` endpoint.
58
- /// </summary>
59
- /// <param name="id">Id of the lobby</param>
60
- /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
61
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
62
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
63
- Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
64
- /// <summary>
65
- /// Remove the requested player from the lobby. The host is able to remove anyone. Others may
66
- ///only remove themselves without error.
67
- ///
68
- /// DELETE call to `/api/lobbies/{id}` endpoint.
69
- /// </summary>
70
- /// <param name="id">Id of the lobby</param>
71
- /// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
72
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
73
- /// <returns>A promise containing the <see cref="Acknowledge"/></returns>
74
- Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
75
- /// <summary>
76
- /// Join a lobby by passcode.
77
- ///
78
- /// PUT call to `/api/lobbies/passcode` endpoint.
79
- /// </summary>
80
- /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
81
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
82
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
83
- Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
84
- /// <summary>
85
- /// Update the properties of a lobby
86
- ///
87
- /// PUT call to `/api/lobbies/{id}/metadata` endpoint.
88
- /// </summary>
89
- /// <param name="id">Id of the lobby</param>
90
- /// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
91
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
92
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
93
- Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
94
- /// <summary>
95
- /// Add the request tags to the requested player.
96
- ///
97
- /// PUT call to `/api/lobbies/{id}/tags` endpoint.
98
- /// </summary>
99
- /// <param name="id">Id of the lobby</param>
100
- /// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
101
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
102
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
103
- Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
104
- /// <summary>
105
- /// Remove the request tags from the requested player.
106
- ///
107
- /// DELETE call to `/api/lobbies/{id}/tags` endpoint.
108
- /// </summary>
109
- /// <param name="id">Id of the lobby</param>
110
- /// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
111
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
112
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
113
- Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
114
- /// <summary>
115
- /// Invoke the Lobby actor to make the federated game server request.
116
- ///
117
- /// POST call to `/api/lobbies/{id}/server` endpoint.
118
- /// </summary>
119
- /// <param name="id">Id of the lobby</param>
120
- /// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
121
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
122
- /// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
123
- Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
124
- }
125
- public partial class BeamLobbyApi : IBeamLobbyApi
126
- {
127
- /// <summary>
128
- /// Query for active lobbies
129
- ///
130
- /// GET call to `/api/lobbies` endpoint.
131
- /// </summary>
132
- /// <param name="Limit"></param>
133
- /// <param name="MatchType"></param>
134
- /// <param name="Skip"></param>
135
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
136
- /// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
137
- public virtual Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
138
- {
139
- string gsUrl = "/api/lobbies";
140
- string gsQuery = "?";
141
- System.Collections.Generic.List<string> gsQueries = new System.Collections.Generic.List<string>();
142
- if (((Skip != default(OptionalInt))
143
- && Skip.HasValue))
144
- {
145
- gsQueries.Add(string.Concat("Skip=", Skip.Value.ToString()));
146
- }
147
- if (((Limit != default(OptionalInt))
148
- && Limit.HasValue))
149
- {
150
- gsQueries.Add(string.Concat("Limit=", Limit.Value.ToString()));
151
- }
152
- if (((MatchType != default(OptionalString))
153
- && MatchType.HasValue))
154
- {
155
- gsQueries.Add(string.Concat("MatchType=", MatchType.Value.ToString()));
156
- }
157
- if ((gsQueries.Count > 0))
158
- {
159
- gsQuery = string.Concat(gsQuery, string.Join("&", gsQueries));
160
- gsUrl = string.Concat(gsUrl, gsQuery);
161
- }
162
- // make the request and return the result
163
- return _requester.Request<LobbyQueryResponse>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<LobbyQueryResponse>);
164
- }
165
- /// <summary>
166
- /// Create a lobby. A leader is not necessary to create a lobby.
167
- ///
168
- /// POST call to `/api/lobbies` endpoint.
169
- /// </summary>
170
- /// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
171
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
172
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
173
- public virtual Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
174
- {
175
- string gsUrl = "/api/lobbies";
176
- // make the request and return the result
177
- return _requester.Request<Lobby>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
178
- }
179
- /// <summary>
180
- /// Exposes the internal "SetLobby" behavior as an Admin only endpoint
181
- ///
182
- /// PUT call to `/api/lobbies` endpoint.
183
- /// </summary>
184
- /// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
185
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
186
- /// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
187
- public virtual Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
188
- {
189
- string gsUrl = "/api/lobbies";
190
- // make the request and return the result
191
- return _requester.Request<SetLobbyResponse>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<SetLobbyResponse>);
192
- }
193
- /// <summary>
194
- /// Get the current status of a lobby by id.
195
- ///
196
- /// GET call to `/api/lobbies/{id}` endpoint.
197
- /// </summary>
198
- /// <param name="id">The lobby id.</param>
199
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
200
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
201
- public virtual Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
202
- {
203
- string gsUrl = "/api/lobbies/{id}";
204
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
205
- // make the request and return the result
206
- return _requester.Request<Lobby>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<Lobby>);
207
- }
208
- /// <summary>
209
- /// Join a lobby
210
- ///
211
- /// PUT call to `/api/lobbies/{id}` endpoint.
212
- /// </summary>
213
- /// <param name="id">Id of the lobby</param>
214
- /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
215
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
216
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
217
- public virtual Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
218
- {
219
- string gsUrl = "/api/lobbies/{id}";
220
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
221
- // make the request and return the result
222
- return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
223
- }
224
- /// <summary>
225
- /// Remove the requested player from the lobby. The host is able to remove anyone. Others may
226
- ///only remove themselves without error.
227
- ///
228
- /// DELETE call to `/api/lobbies/{id}` endpoint.
229
- /// </summary>
230
- /// <param name="id">Id of the lobby</param>
231
- /// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
232
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
233
- /// <returns>A promise containing the <see cref="Acknowledge"/></returns>
234
- public virtual Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
235
- {
236
- string gsUrl = "/api/lobbies/{id}";
237
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
238
- // make the request and return the result
239
- return _requester.Request<Acknowledge>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Acknowledge>);
240
- }
241
- /// <summary>
242
- /// Join a lobby by passcode.
243
- ///
244
- /// PUT call to `/api/lobbies/passcode` endpoint.
245
- /// </summary>
246
- /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
247
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
248
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
249
- public virtual Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
250
- {
251
- string gsUrl = "/api/lobbies/passcode";
252
- // make the request and return the result
253
- return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
254
- }
255
- /// <summary>
256
- /// Update the properties of a lobby
257
- ///
258
- /// PUT call to `/api/lobbies/{id}/metadata` endpoint.
259
- /// </summary>
260
- /// <param name="id">Id of the lobby</param>
261
- /// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
262
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
263
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
264
- public virtual Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
265
- {
266
- string gsUrl = "/api/lobbies/{id}/metadata";
267
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
268
- // make the request and return the result
269
- return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
270
- }
271
- /// <summary>
272
- /// Add the request tags to the requested player.
273
- ///
274
- /// PUT call to `/api/lobbies/{id}/tags` endpoint.
275
- /// </summary>
276
- /// <param name="id">Id of the lobby</param>
277
- /// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
278
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
279
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
280
- public virtual Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
281
- {
282
- string gsUrl = "/api/lobbies/{id}/tags";
283
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
284
- // make the request and return the result
285
- return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
286
- }
287
- /// <summary>
288
- /// Remove the request tags from the requested player.
289
- ///
290
- /// DELETE call to `/api/lobbies/{id}/tags` endpoint.
291
- /// </summary>
292
- /// <param name="id">Id of the lobby</param>
293
- /// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
294
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
295
- /// <returns>A promise containing the <see cref="Lobby"/></returns>
296
- public virtual Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
297
- {
298
- string gsUrl = "/api/lobbies/{id}/tags";
299
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
300
- // make the request and return the result
301
- return _requester.Request<Lobby>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
302
- }
303
- /// <summary>
304
- /// Invoke the Lobby actor to make the federated game server request.
305
- ///
306
- /// POST call to `/api/lobbies/{id}/server` endpoint.
307
- /// </summary>
308
- /// <param name="id">Id of the lobby</param>
309
- /// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
310
- /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
311
- /// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
312
- public virtual Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
313
- {
314
- string gsUrl = "/api/lobbies/{id}/server";
315
- gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
316
- // make the request and return the result
317
- return _requester.Request<ApiLobbiesServerPostLobbyResponse>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<ApiLobbiesServerPostLobbyResponse>);
318
- }
319
- }
320
- }
5
+ namespace Beamable.Api.Autogenerated.Lobby
6
+ {
7
+ using Beamable.Api.Autogenerated.Models;
8
+ using Beamable.Common.Content;
9
+ using Beamable.Common;
10
+ using IBeamableRequester = Beamable.Common.Api.IBeamableRequester;
11
+ using Method = Beamable.Common.Api.Method;
12
+ using Beamable.Common.Dependencies;
13
+
14
+ public partial interface IBeamLobbyApi
15
+ {
16
+ /// <summary>
17
+ /// Query for active lobbies
18
+ ///
19
+ /// GET call to `/api/lobbies` endpoint.
20
+ /// </summary>
21
+ /// <param name="Limit"></param>
22
+ /// <param name="MatchType"></param>
23
+ /// <param name="Skip"></param>
24
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
25
+ /// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
26
+ Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
27
+ /// <summary>
28
+ /// Create a lobby. A leader is not necessary to create a lobby.
29
+ ///
30
+ /// POST call to `/api/lobbies` endpoint.
31
+ /// </summary>
32
+ /// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
33
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
34
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
35
+ Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
36
+ /// <summary>
37
+ /// Exposes the internal "SetLobby" behavior as an Admin only endpoint
38
+ ///
39
+ /// PUT call to `/api/lobbies` endpoint.
40
+ /// </summary>
41
+ /// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
42
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
43
+ /// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
44
+ Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
45
+ /// <summary>
46
+ /// Get the current status of a lobby by id.
47
+ ///
48
+ /// GET call to `/api/lobbies/{id}` endpoint.
49
+ /// </summary>
50
+ /// <param name="id">The lobby id.</param>
51
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
52
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
53
+ Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
54
+ /// <summary>
55
+ /// Join a lobby
56
+ ///
57
+ /// PUT call to `/api/lobbies/{id}` endpoint.
58
+ /// </summary>
59
+ /// <param name="id">Id of the lobby</param>
60
+ /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
61
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
62
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
63
+ Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
64
+ /// <summary>
65
+ /// Remove the requested player from the lobby. The host is able to remove anyone. Others
66
+ ///may
67
+ ///only remove themselves without error.
68
+ ///
69
+ /// DELETE call to `/api/lobbies/{id}` endpoint.
70
+ /// </summary>
71
+ /// <param name="id">Id of the lobby</param>
72
+ /// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
73
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
74
+ /// <returns>A promise containing the <see cref="Acknowledge"/></returns>
75
+ Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
76
+ /// <summary>
77
+ /// Join a lobby by passcode.
78
+ ///
79
+ /// PUT call to `/api/lobbies/passcode` endpoint.
80
+ /// </summary>
81
+ /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
82
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
83
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
84
+ Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
85
+ /// <summary>
86
+ /// Update the properties of a lobby
87
+ ///
88
+ /// PUT call to `/api/lobbies/{id}/metadata` endpoint.
89
+ /// </summary>
90
+ /// <param name="id">Id of the lobby</param>
91
+ /// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
92
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
93
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
94
+ Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
95
+ /// <summary>
96
+ /// Add the request tags to the requested player.
97
+ ///
98
+ /// PUT call to `/api/lobbies/{id}/tags` endpoint.
99
+ /// </summary>
100
+ /// <param name="id">Id of the lobby</param>
101
+ /// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
102
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
103
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
104
+ Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
105
+ /// <summary>
106
+ /// Remove the request tags from the requested player.
107
+ ///
108
+ /// DELETE call to `/api/lobbies/{id}/tags` endpoint.
109
+ /// </summary>
110
+ /// <param name="id">Id of the lobby</param>
111
+ /// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
112
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
113
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
114
+ Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
115
+ /// <summary>
116
+ /// Invoke the Lobby actor to make the federated game server request.
117
+ ///
118
+ /// POST call to `/api/lobbies/{id}/server` endpoint.
119
+ /// </summary>
120
+ /// <param name="id">Id of the lobby</param>
121
+ /// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
122
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
123
+ /// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
124
+ Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
125
+ }
126
+ public partial class BeamLobbyApi : IBeamLobbyApi
127
+ {
128
+ /// <summary>
129
+ /// Query for active lobbies
130
+ ///
131
+ /// GET call to `/api/lobbies` endpoint.
132
+ /// </summary>
133
+ /// <param name="Limit"></param>
134
+ /// <param name="MatchType"></param>
135
+ /// <param name="Skip"></param>
136
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
137
+ /// <returns>A promise containing the <see cref="LobbyQueryResponse"/></returns>
138
+ public virtual Promise<LobbyQueryResponse> GetApiLobbies([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Limit, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string> MatchType, [System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<int> Skip, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
139
+ {
140
+ string gsUrl = "/api/lobbies";
141
+ string gsQuery = "?";
142
+ System.Collections.Generic.List<string> gsQueries = new System.Collections.Generic.List<string>();
143
+ if (((Skip != default(OptionalInt))
144
+ && Skip.HasValue))
145
+ {
146
+ gsQueries.Add(string.Concat("Skip=", Skip.Value.ToString()));
147
+ }
148
+ if (((Limit != default(OptionalInt))
149
+ && Limit.HasValue))
150
+ {
151
+ gsQueries.Add(string.Concat("Limit=", Limit.Value.ToString()));
152
+ }
153
+ if (((MatchType != default(OptionalString))
154
+ && MatchType.HasValue))
155
+ {
156
+ gsQueries.Add(string.Concat("MatchType=", MatchType.Value.ToString()));
157
+ }
158
+ if ((gsQueries.Count > 0))
159
+ {
160
+ gsQuery = string.Concat(gsQuery, string.Join("&", gsQueries));
161
+ gsUrl = string.Concat(gsUrl, gsQuery);
162
+ }
163
+ // make the request and return the result
164
+ return _requester.Request<LobbyQueryResponse>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<LobbyQueryResponse>);
165
+ }
166
+ /// <summary>
167
+ /// Create a lobby. A leader is not necessary to create a lobby.
168
+ ///
169
+ /// POST call to `/api/lobbies` endpoint.
170
+ /// </summary>
171
+ /// <param name="gsReq">The <see cref="CreateLobby"/> instance to use for the request</param>
172
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
173
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
174
+ public virtual Promise<Lobby> PostApiLobbies(CreateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
175
+ {
176
+ string gsUrl = "/api/lobbies";
177
+ // make the request and return the result
178
+ return _requester.Request<Lobby>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
179
+ }
180
+ /// <summary>
181
+ /// Exposes the internal "SetLobby" behavior as an Admin only endpoint
182
+ ///
183
+ /// PUT call to `/api/lobbies` endpoint.
184
+ /// </summary>
185
+ /// <param name="gsReq">The <see cref="Lobby"/> instance to use for the request</param>
186
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
187
+ /// <returns>A promise containing the <see cref="SetLobbyResponse"/></returns>
188
+ public virtual Promise<SetLobbyResponse> PutApiLobbies(Lobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
189
+ {
190
+ string gsUrl = "/api/lobbies";
191
+ // make the request and return the result
192
+ return _requester.Request<SetLobbyResponse>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<SetLobbyResponse>);
193
+ }
194
+ /// <summary>
195
+ /// Get the current status of a lobby by id.
196
+ ///
197
+ /// GET call to `/api/lobbies/{id}` endpoint.
198
+ /// </summary>
199
+ /// <param name="id">The lobby id.</param>
200
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
201
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
202
+ public virtual Promise<Lobby> Get(System.Guid id, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
203
+ {
204
+ string gsUrl = "/api/lobbies/{id}";
205
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
206
+ // make the request and return the result
207
+ return _requester.Request<Lobby>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<Lobby>);
208
+ }
209
+ /// <summary>
210
+ /// Join a lobby
211
+ ///
212
+ /// PUT call to `/api/lobbies/{id}` endpoint.
213
+ /// </summary>
214
+ /// <param name="id">Id of the lobby</param>
215
+ /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
216
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
217
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
218
+ public virtual Promise<Lobby> Put(System.Guid id, JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
219
+ {
220
+ string gsUrl = "/api/lobbies/{id}";
221
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
222
+ // make the request and return the result
223
+ return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
224
+ }
225
+ /// <summary>
226
+ /// Remove the requested player from the lobby. The host is able to remove anyone. Others
227
+ ///may
228
+ ///only remove themselves without error.
229
+ ///
230
+ /// DELETE call to `/api/lobbies/{id}` endpoint.
231
+ /// </summary>
232
+ /// <param name="id">Id of the lobby</param>
233
+ /// <param name="gsReq">The <see cref="RemoveFromLobby"/> instance to use for the request</param>
234
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
235
+ /// <returns>A promise containing the <see cref="Acknowledge"/></returns>
236
+ public virtual Promise<Acknowledge> Delete(System.Guid id, RemoveFromLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
237
+ {
238
+ string gsUrl = "/api/lobbies/{id}";
239
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
240
+ // make the request and return the result
241
+ return _requester.Request<Acknowledge>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Acknowledge>);
242
+ }
243
+ /// <summary>
244
+ /// Join a lobby by passcode.
245
+ ///
246
+ /// PUT call to `/api/lobbies/passcode` endpoint.
247
+ /// </summary>
248
+ /// <param name="gsReq">The <see cref="JoinLobby"/> instance to use for the request</param>
249
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
250
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
251
+ public virtual Promise<Lobby> PutPasscode(JoinLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
252
+ {
253
+ string gsUrl = "/api/lobbies/passcode";
254
+ // make the request and return the result
255
+ return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
256
+ }
257
+ /// <summary>
258
+ /// Update the properties of a lobby
259
+ ///
260
+ /// PUT call to `/api/lobbies/{id}/metadata` endpoint.
261
+ /// </summary>
262
+ /// <param name="id">Id of the lobby</param>
263
+ /// <param name="gsReq">The <see cref="UpdateLobby"/> instance to use for the request</param>
264
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
265
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
266
+ public virtual Promise<Lobby> PutMetadata(System.Guid id, UpdateLobby gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
267
+ {
268
+ string gsUrl = "/api/lobbies/{id}/metadata";
269
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
270
+ // make the request and return the result
271
+ return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
272
+ }
273
+ /// <summary>
274
+ /// Add the request tags to the requested player.
275
+ ///
276
+ /// PUT call to `/api/lobbies/{id}/tags` endpoint.
277
+ /// </summary>
278
+ /// <param name="id">Id of the lobby</param>
279
+ /// <param name="gsReq">The <see cref="AddTags"/> instance to use for the request</param>
280
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
281
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
282
+ public virtual Promise<Lobby> PutTags(System.Guid id, AddTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
283
+ {
284
+ string gsUrl = "/api/lobbies/{id}/tags";
285
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
286
+ // make the request and return the result
287
+ return _requester.Request<Lobby>(Method.PUT, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
288
+ }
289
+ /// <summary>
290
+ /// Remove the request tags from the requested player.
291
+ ///
292
+ /// DELETE call to `/api/lobbies/{id}/tags` endpoint.
293
+ /// </summary>
294
+ /// <param name="id">Id of the lobby</param>
295
+ /// <param name="gsReq">The <see cref="RemoveTags"/> instance to use for the request</param>
296
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
297
+ /// <returns>A promise containing the <see cref="Lobby"/></returns>
298
+ public virtual Promise<Lobby> DeleteTags(System.Guid id, RemoveTags gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
299
+ {
300
+ string gsUrl = "/api/lobbies/{id}/tags";
301
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
302
+ // make the request and return the result
303
+ return _requester.Request<Lobby>(Method.DELETE, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<Lobby>);
304
+ }
305
+ /// <summary>
306
+ /// Invoke the Lobby actor to make the federated game server request.
307
+ ///
308
+ /// POST call to `/api/lobbies/{id}/server` endpoint.
309
+ /// </summary>
310
+ /// <param name="id">Id of the lobby</param>
311
+ /// <param name="gsReq">The <see cref="CreateFederatedGameServer"/> instance to use for the request</param>
312
+ /// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
313
+ /// <returns>A promise containing the <see cref="ApiLobbiesServerPostLobbyResponse"/></returns>
314
+ public virtual Promise<ApiLobbiesServerPostLobbyResponse> PostServer(System.Guid id, CreateFederatedGameServer gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
315
+ {
316
+ string gsUrl = "/api/lobbies/{id}/server";
317
+ gsUrl = gsUrl.Replace("{id}", _requester.EscapeURL(id.ToString()));
318
+ // make the request and return the result
319
+ return _requester.Request<ApiLobbiesServerPostLobbyResponse>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<ApiLobbiesServerPostLobbyResponse>);
320
+ }
321
+ }
322
+ }