Skip to content

Commit

Permalink
Updated : Add Handler for NiShadeProperty.
Browse files Browse the repository at this point in the history
  • Loading branch information
dol-leodagan committed Nov 21, 2015
1 parent ac33087 commit e55b048
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions Niflib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@
<Compile Include="Niflib\NiRotatingParticles.cs" />
<Compile Include="Niflib\NiRotatingParticlesData.cs" />
<Compile Include="Niflib\NiScreenLODData.cs" />
<Compile Include="Niflib\NiShadeProperty.cs" />
<Compile Include="Niflib\NiSingleInterpController.cs" />
<Compile Include="Niflib\NiSkinData.cs" />
<Compile Include="Niflib\NiSkinInstance.cs" />
Expand Down
42 changes: 42 additions & 0 deletions Niflib/NiShadeProperty.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*
* DAWN OF LIGHT - The first free open source DAoC server emulator
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/


namespace Niflib
{
using System;
using System.IO;

/// <summary>
/// Class NiShadeProperty.
/// </summary>
public class NiShadeProperty : NiProperty
{
public ushort Flags;
/// <summary>
/// Initializes a new instance of the <see cref="NiShadeProperty"/> class.
/// </summary>
/// <param name="file">The file.</param>
/// <param name="reader">The reader.</param>
public NiShadeProperty(NiFile file, BinaryReader reader) : base(file, reader)
{
Flags = reader.ReadUInt16();
}
}
}

0 comments on commit e55b048

Please sign in to comment.