summaryrefslogtreecommitdiff
path: root/src/modelinfo/XtraCompsModelInfo.cpp
blob: c11edaf8ffe9e3ac748492c865517b93cbc839f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "common.h"

#include "VisibilityPlugins.h"
#include "ModelInfo.h"

base::cRelocatableChunkClassInfo CXtraCompsModelInfo::msClassInfo("CXtraCompsModelInfo", VTABLE_ADDR(&msClassInstance), sizeof(msClassInstance));
CXtraCompsModelInfo CXtraCompsModelInfo::msClassInstance;

void
CXtraCompsModelInfo::RcWriteThis(base::cRelocatableChunkWriter &writer)
{
	writer.AllocateRaw(this, sizeof(*this), sizeof(void*), false, true);
	writer.Class(VTABLE_ADDR(this), msClassInfo);
}

void
CXtraCompsModelInfo::RcWriteEmpty(base::cRelocatableChunkWriter &writer)
{
	writer.AllocateRaw(this, sizeof(*this), sizeof(void*), false, true);
	writer.Class(VTABLE_ADDR(this), msClassInfo);
}