예제 #1
0
    private SkillPhaseState GetPhaseState(int configInde, SkillConfigSkillPhaseType phaseType)
    {
        SkillPhaseState state   = null;
        int             nodeUid = NodeUid(configInde, phaseType);

        if (_stateDic.TryGetValue(nodeUid, out state))
        {
            return(state);
        }
        return(state);
    }
예제 #2
0
 private int NodeUid(int configIndex, SkillConfigSkillPhaseType phaseType)
 {
     return((configIndex + 1) * 1000 + (int)phaseType);
 }