@@ -43,7 +43,16 @@ class HSPLASMA_EXPORT plArmatureModBase : public plAGMasterMod
4343 void IPrcParse (const pfPrcTag* tag, plResManager* mgr) HS_OVERRIDE;
4444
4545public:
46+ const std::vector<plKey>& getMeshes () const { return fMeshKeys ; }
47+ std::vector<plKey>& getMeshes () { return fMeshKeys ; }
48+ const std::vector<std::vector<plKey>>& getUnusedBones () const { return fUnusedBones ; }
49+ std::vector<std::vector<plKey>>& getUnusedBones () { return fUnusedBones ; }
50+ const std::vector<plArmatureBrain*>& getBrains () const { return fBrains ; }
51+ std::vector<plArmatureBrain*>& getBrains () { return fBrains ; }
52+ plKey getDetector () const { return fDetector ; }
53+
4654 void clearBrains ();
55+ void setDetector (plKey detector) { fDetector = std::move (detector); }
4756};
4857
4958
@@ -79,6 +88,33 @@ class HSPLASMA_EXPORT plArmatureMod : public plArmatureModBase
7988protected:
8089 void IPrcWrite (pfPrcHelper* prc) HS_OVERRIDE;
8190 void IPrcParse (const pfPrcTag* tag, plResManager* mgr) HS_OVERRIDE;
91+
92+ public:
93+ plKey getDefaultMesh () const { return fDefaultMesh ; }
94+ ST ::string getRootName () const { return fRootName ; }
95+ plKey getClothingOutfit () const { return fClothingOutfit ; }
96+ int getBodyType () const { return fBodyType ; }
97+ plKey getEffects () const { return fEffects ; }
98+ hsVector3 getMins () const { return fMins ; }
99+ hsVector3 getMaxs () const { return fMaxs ; }
100+ float getPhysHeight () const { return fPhysHeight ; }
101+ float getPhysWidth () const { return fPhysWidth ; }
102+ ST ::string getFootstepAge () const { return fFootstepAge ; }
103+ ST ::string getFootstepPage () const { return fFootstepPage ; }
104+ ST ::string getFootstepType () const { return fFootstepType ; }
105+
106+ void setDefaultMesh (plKey defaultMesh) { fDefaultMesh = std::move (defaultMesh); }
107+ void setRootName (ST ::string rootName) { fRootName = std::move (rootName); }
108+ void setClothingOutfit (plKey clothingOutfit) { fClothingOutfit = std::move (clothingOutfit); }
109+ void setBodyType (int bodyType) { fBodyType = bodyType; }
110+ void setEffects (plKey effects) { fEffects = std::move (effects); }
111+ void setMins (hsVector3 mins) { fMins = mins; }
112+ void setMaxs (hsVector3 maxs) { fMaxs = maxs; }
113+ void setPhysHeight (float physHeight) { fPhysHeight = physHeight; }
114+ void setPhysWidth (float physWidth) { fPhysWidth = physWidth; }
115+ void setFootstepAge (ST ::string footstepAge) { fFootstepAge = std::move (footstepAge); }
116+ void setFootstepPage (ST ::string footstepPage) { fFootstepPage = std::move (footstepPage); }
117+ void setFootstepType (ST ::string footstepType) { fFootstepType = std::move (footstepType); }
82118};
83119
84120
0 commit comments