示例#1
0
        public LuzSpawnerPath(BinaryReader reader, uint version, NiString pathName, PathType type) : base(reader, version, pathName, type)
        {
            SpawnedLot = reader.ReadInt32();

            RespawnTime = reader.ReadInt32();

            MaxSpawnCount = reader.ReadInt32();

            NumberToMaintain = reader.ReadUInt32();

            SpawnerObjectId = reader.ReadInt64();

            ActivateSpawnerNetworkOnLoad = new NiBoolean(reader);
        }
示例#2
0
        public LuzScene(BinaryReader reader)
        {
            FileName = new NiString(reader, false, true);

            SceneId = reader.ReadByte();

            reader.ReadBytes(3);

            IsAudioScene = new NiBoolean(reader);

            reader.ReadBytes(3);

            SceneName = new NiString(reader, false, true);

            reader.ReadBytes(3);
        }
        public LuzMovingPlatformWaypoint(BinaryReader reader, LuzPathData data) : base(reader, data)
        {
            Rotation = new NiQuaternion(reader, null);

            LockPlayer = new NiBoolean(reader);

            Speed = reader.ReadSingle();

            Wait = reader.ReadSingle();

            if (data.Version < 13)
            {
                return;
            }
            DepartSound = new NiString(reader, true, true);

            ArriveSound = new NiString(reader, true, true);
        }