mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 18:24:55 +00:00
More CPlayer imps
This commit is contained in:
@@ -119,6 +119,13 @@ public:
|
||||
return {::GetAverage<T>(this->data(), this->size())};
|
||||
}
|
||||
|
||||
rstl::optional_object<T> GetEntry(int i) const
|
||||
{
|
||||
if (i >= this->size())
|
||||
return {};
|
||||
return this->operator[](i);
|
||||
}
|
||||
|
||||
void Clear() { this->clear(); }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user