1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00
xn65/framework/csharp/object.cpp
2024-05-02 10:52:08 -03:00

21 lines
338 B
C++

#include "object.hpp"
#include "type.hpp"
namespace xna {
sptr<Type> Object::GetType() const
{
auto type = New<Type>();
type->FullName = "xna::Object";
type->Namespace = "xna";
type->IsClass = true;
return type;
}
size_t Object::GetHashCode() const
{
size_t seed = 0;
XnaHHashCombine(seed, this);
return seed;
}
}