public void PlayerCanUpdateAGameEvent() { SubmitGameEventResponse eventResponse = client.SubmitGameEvent(new SubmitGameEventRequest() { EventData = new GameEventRequest() { EventData = ByteString.CopyFromUtf8("MyEventData"), OccursAtTick = 42, }, RoomId = gameId, }); Assert.AreEqual(eventResponse.Status.IsSuccess, true); Assert.IsTrue(eventResponse.EventId != null); GetGameRoomEventsResponse gameEvents = client.GetGameRoomEvents(new GetGameRoomEventsRequest() { RoomId = gameId }); Assert.AreEqual(gameEvents.Status.IsSuccess, true); Assert.AreEqual(1, gameEvents.GameEvents.Count); Assert.IsTrue(gameEvents.GameEvents.Any(it => it.Id == eventResponse.EventId)); SubmitGameEventResponse updateResponse = client.UpdateGameEvent(new UpdateGameEventRequest() { EventData = new GameEventRequest() { EventData = ByteString.CopyFromUtf8("MyEventData"), OccursAtTick = 42, }, RoomId = gameId, EventId = eventResponse.EventId, }); Assert.AreEqual(updateResponse.Status.IsSuccess, true); Assert.IsTrue(updateResponse.EventId == eventResponse.EventId); }