コード例 #1
0
/*! NIFLIB_HIDDEN function.  For internal use only. */
        internal override void FixLinks(Dictionary <uint, NiObject> objects, List <uint> link_stack, List <NiObject> missing_link_stack, NifInfo info)
        {
            base.FixLinks(objects, link_stack, missing_link_stack, info);
            if (info.version <= 0x04020200)
            {
                nextExtraData = FixLink <NiExtraData>(objects, link_stack, missing_link_stack, info);
            }
        }
コード例 #2
0
ファイル: NiObjectNET.cs プロジェクト: libcs/game-estates
 public NiObjectNET()
 {
     skyrimShaderType   = (BSLightingShaderPropertyShaderType)0;
     hasOldExtraData    = false;
     oldExtraInternalId = (uint)0;
     unknownByte        = (byte)0;
     extraData          = null;
     numExtraDataList   = (uint)0;
     controller         = null;
 }
コード例 #3
0
ファイル: NiObjectNET.cs プロジェクト: libcs/game-estates
 /*! NIFLIB_HIDDEN function.  For internal use only. */
 internal override void FixLinks(Dictionary <uint, NiObject> objects, List <uint> link_stack, List <NiObject> missing_link_stack, NifInfo info)
 {
     base.FixLinks(objects, link_stack, missing_link_stack, info);
     if (info.version >= 0x03000000 && info.version <= 0x04020200)
     {
         extraData = FixLink <NiExtraData>(objects, link_stack, missing_link_stack, info);
     }
     if (info.version >= 0x0A000100)
     {
         for (var i4 = 0; i4 < extraDataList.Count; i4++)
         {
             extraDataList[i4] = FixLink <NiExtraData>(objects, link_stack, missing_link_stack, info);
         }
     }
     if (info.version >= 0x03000000)
     {
         controller = FixLink <NiTimeController>(objects, link_stack, missing_link_stack, info);
     }
 }
コード例 #4
0
 public NiExtraData()
 {
     nextExtraData = null;
 }