Skip to content

Commit

Permalink
Add 'archetype' to OTDBParameters.h
Browse files Browse the repository at this point in the history
  • Loading branch information
emd4600 committed Oct 24, 2024
1 parent 05b7e3b commit ee721ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Spore ModAPI/Spore/BasicIncludes.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include <Spore\Cell.h>

#include <Spore\Pollinator\AchievementsManager.h>
#include <Spore\Sporepedia\ObjectTemplateDB.h>
#include <Spore\Sporepedia\AssetBrowserQuery.h>

#include <Spore\Editors\Editor.h>
#include <Spore\Editors\EditorRequest.h>
Expand Down
1 change: 1 addition & 0 deletions Spore ModAPI/Spore/Sporepedia/AssetBrowserQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace Sporepedia
/// Asset keys obtained after filtering by parameters
/* 20h */ eastl::vector<ResourceKey> parameterKeys;
};
ASSERT_SIZE(AssetBrowserQuery, 0x34);

/// Finds all the assets that match the given filter. This method will use a filter with the given ID
/// in the `AssetBrowserFilter` folder. The `dst` vector will be filled with one instance for every
Expand Down
1 change: 1 addition & 0 deletions Spore ModAPI/Spore/Sporepedia/OTDBParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ namespace Sporepedia
{
type = 0x2DD90AF,
subtype = 0x2DC9D1E,
archetype = 0x52DEF3F,
cost = 0x5B06E36,
baseGear = 0x2F05C60,
height = 0x7358629A,
Expand Down
2 changes: 1 addition & 1 deletion Spore ModAPI/Spore/Sporepedia/ObjectTemplateDB.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace Sporepedia
/* 18h */ virtual bool Write(bool, bool writeSummarizers);
/* 1Ch */ virtual bool func1Ch();
/* 20h */ virtual void func20h();
/* 24h */ virtual bool func24h(int, int, int);
/* 24h */ virtual bool func24h(eastl::vector<ResourceKey>& dstKeys, int, const eastl::vector<QueryParameter>& parameters);
/* 28h */ virtual bool func28h(int, int, int);
/* 2Ch */ virtual void FindObjects(eastl::vector<ResourceKey>& dst, const eastl::vector<QueryParameter>& parameters);
//TODO thse functions are placeholders
Expand Down

0 comments on commit ee721ff

Please sign in to comment.