public void SetMonsterInfo(int charkind, ref CHARKIND_MONSTERINFO monsterinfo)
    {
        NrCharKindInfo charKindInfo = this.GetCharKindInfo(charkind);

        if (charKindInfo != null)
        {
            charKindInfo.SetMonsterInfo(ref monsterinfo);
            int num = NkUtil.MakeLong(monsterinfo.MonType, (long)monsterinfo.MINLEVEL);
            CHARKIND_MONSTATINFO charKindMonStatInfo = NrTSingleton <NrBaseTableManager> .Instance.GetCharKindMonStatInfo(num.ToString());

            if (monsterinfo == null)
            {
                Debug.LogWarning("CHARKIND_MONSTATINFO setting error!! = " + charKindInfo.GetName());
                return;
            }
            charKindInfo.SetMonStatInfo(ref charKindMonStatInfo);
        }
    }