public void SetAniInfo(ref CHARKIND_ANIINFO aniinfo) { int weaponkey = 0; NrCharKindInfo nrCharKindInfo = NrTSingleton <NrCharKindInfoManager> .Instance.GetCharKindInfoFromBundleName(aniinfo.BUNDLENAME); if (nrCharKindInfo != null && nrCharKindInfo.IsATB(1L)) { int weaponType = NrTSingleton <NkWeaponTypeInfoManager> .Instance.GetWeaponType(aniinfo.WEAPONTYPE); if (weaponType != nrCharKindInfo.GetWeaponType()) { weaponkey = 1; } } int charAniTypeForEvent = (int)this.m_kCharDataCodeInfo.GetCharAniTypeForEvent(aniinfo.ANITYPE); int charAniEvent = (int)this.m_kCharDataCodeInfo.GetCharAniEvent(aniinfo.EVENTTYPE); NkCharAniInfo charAniInfo = this.GetCharAniInfo(aniinfo.BUNDLENAME); if (charAniInfo != null) { charAniInfo.SetAniEventTime(weaponkey, charAniTypeForEvent, charAniEvent, aniinfo.EVENTTIME); NkCharAniMapInfo charAniMapInfo = this.GetCharAniMapInfo(aniinfo.BUNDLENAME); if (charAniMapInfo != null) { List <int> charKindList = charAniMapInfo.GetCharKindList(); foreach (int current in charKindList) { nrCharKindInfo = this.GetCharKindInfo(current); if (nrCharKindInfo != null) { nrCharKindInfo.SetAniInfo(ref charAniInfo); } } } } }