MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetItemType

Method GetItemType

src/engine/shared/snapshot.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36int CSnapshot::GetItemType(int Index) const
37{
38 int InternalType = GetItem(Index)->Type();
39 return GetExternalItemType(InternalType);
40}
41
42int CSnapshot::GetExternalItemType(int InternalType) const
43{

Callers 6

ProcessDemoSnapshotMethod · 0.80
TranslateSnapMethod · 0.80
SnapGetItemMethod · 0.80
SnapGetItemMethod · 0.80

Calls 1

TypeMethod · 0.45

Tested by

no test coverage detected