From 4ad2d0a0434b7634dc988c7b2e55de2e20f7e357 Mon Sep 17 00:00:00 2001 From: Alecu100 <lui_alecu@yahoo.co.uk> Date: Fri, 24 Feb 2012 19:42:34 +0200 Subject: [PATCH] added support for skyrim properties --- include/obj/NiObjectNET.h | 12 ++++++++++++ src/obj/NiObjectNET.cpp | 10 ++++++++++ 2 files changed, 22 insertions(+) diff --git a/include/obj/NiObjectNET.h b/include/obj/NiObjectNET.h index ffbba19b..67c6cb14 100644 --- a/include/obj/NiObjectNET.h +++ b/include/obj/NiObjectNET.h @@ -130,6 +130,18 @@ public: */ NIFLIB_API list< Ref<NiTimeController> > GetControllers() const; + /*! + * Gets the skyrim shader type + * \return The skyrim shader flag value + */ + NIFLIB_API unsigned int GetSkyrimShaderType(); + + /*! + * Set the skyrim shader type + * \param[in] The new skyrim shader value + */ + NIFLIB_API void SetSkyrimShaderType(unsigned int value); + //--END CUSTOM CODE--// protected: /*! diff --git a/src/obj/NiObjectNET.cpp b/src/obj/NiObjectNET.cpp index 657ef555..dfc1177f 100644 --- a/src/obj/NiObjectNET.cpp +++ b/src/obj/NiObjectNET.cpp @@ -405,4 +405,14 @@ list< Ref<NiTimeController> > NiObjectNET::GetControllers() const { return conts; } +unsigned int NiObjectNET::GetSkyrimShaderType() { + return skyrimShaderType; +} + +void NiObjectNET::SetSkyrimShaderType( unsigned int value ) { + skyrimShaderType = value; +} + //--END CUSTOM CODE--// + + -- GitLab