示例#1
0
    internal static void Execute(object msg, NetConnection conn)
    {
        Msg_RC_PlayAnimation _msg = msg as Msg_RC_PlayAnimation;

        if (null == _msg)
        {
            return;
        }
        EntityViewModel view = EntityViewModelManager.Instance.GetEntityViewById(_msg.obj_id);

        if (null != view)
        {
            view.PlayAnimation(_msg.anim_name);
        }
    }