コード例 #1
0
        private void PostCharacterLeftGameEvent(
            RequestCache requestCache)
        {
            GameEventParameters gameEvent =
                new GameEvent_CharacterLeftGame()
            {
                character_state = m_character_state
            };

            // Add a game event if the player is moving to the portal
            GameEventQueries.AddEvent(
                requestCache.DatabaseContext,
                m_character_state.game_id,
                gameEvent);
        }
コード例 #2
0
        private void PostCharacterLeftGameEvent(
            RequestCache requestCache)
        {
            GameEventParameters gameEvent =
                new GameEvent_CharacterLeftGame()
                {
                    character_state = m_character_state
                };

            // Add a game event if the player is moving to the portal
            GameEventQueries.AddEvent(
                requestCache.DatabaseContext,
                m_character_state.game_id,
                gameEvent);
        }