mirror of
https://github.com/anope/anope.git
synced 2026-06-25 09:36:39 +02:00
Refactor and redocument Serialize::Type.
This commit is contained in:
@@ -162,11 +162,6 @@ void Type::Check()
|
||||
FOREACH_MOD(OnSerializeCheck, (this));
|
||||
}
|
||||
|
||||
time_t Type::GetTimestamp() const
|
||||
{
|
||||
return this->timestamp;
|
||||
}
|
||||
|
||||
void Type::UpdateTimestamp()
|
||||
{
|
||||
this->timestamp = Anope::CurTime;
|
||||
@@ -179,13 +174,3 @@ Type *Serialize::Type::Find(const Anope::string &name)
|
||||
return it->second;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const std::vector<Anope::string> &Type::GetTypeOrder()
|
||||
{
|
||||
return TypeOrder;
|
||||
}
|
||||
|
||||
const std::map<Anope::string, Serialize::Type *>& Type::GetTypes()
|
||||
{
|
||||
return Types;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user