Esempio n. 1
0
        /// <summary>数据组装</summary>
        private Dictionary <String, Object> BuildData(ScenePlayerVo model)
        {
            var dic = new Dictionary <string, object>
            {
                { "playerVo", model }
            };

            return(dic);
        }
Esempio n. 2
0
        /// <summary>推送其他玩家进入美浓攻略</summary>
        public void CommandStart(ScenePlayerVo model, TGGSession session, Int64 otheruserid)
        {
            var aso = new ASObject(BuildData(model));

            Common.GetInstance().PushPv(session, aso, (int)SiegeCommand.PUSH_PLAYER_ENTER, otheruserid);
        }