public int InsertAction(int iActionId, ActionFileData data, ActionParam param, List <GameObject> affectedObjects)
    {
        ActionPlayer action = new ActionPlayer(iActionId, data, param, affectedObjects);

        m_lstAction.Add(action);
        return(action.GetInstanceID());
    }
    public int InsertAction(int iActionId, ActionFileData data, ActionParam param)
    {
        ActionPlayer action = new ActionPlayer(iActionId, data, param, null);

        m_lstAction.Add(action);
        return(action.GetInstanceID());
    }
    public int PlayAction(int iActionId, ActionParam param)
    {
        ActionFileData data   = ConfigManager.Instance.GetActionFileData(iActionId);
        ActionPlayer   action = new ActionPlayer(iActionId, data, param, null);

        m_lstAction.Add(action);
        MessageDispatcher.Instance.BroadcastMessage(new MessageObject(ClientCustomMessageDefine.C_ACTION_START, param));
        return(action.GetInstanceID());
    }
    public int InsertAction(int iActionId, ActionFileData data, ActionParam param, params GameObject[] affectedObjects)
    {
        List <GameObject> affectedOjectList = new List <GameObject>();

        affectedOjectList.AddRange(affectedObjects);
        ActionPlayer action = new ActionPlayer(iActionId, data, param, affectedOjectList);

        m_lstAction.Add(action);
        return(action.GetInstanceID());
    }