public void Add(GameAction gameAction)
        {
            if (gameAction == null)
            {
                throw new ArgumentException("gameAction");
            }

            GameActionNotificationMessage message = new GameActionNotificationMessage() { GameAction = gameAction };

            this.gameActionNotificationGameQueue.AddMessage(message);
        }
コード例 #2
0
        public void Add(GameAction gameAction)
        {
            if (gameAction == null)
            {
                throw new ArgumentException("gameAction");
            }

            GameActionNotificationMessage message = new GameActionNotificationMessage()
            {
                GameAction = gameAction
            };

            this.gameActionNotificationGameQueue.AddMessage(message);
        }