MCPcopy Create free account
hub / github.com/Garten/sourcecraft / openEntity

Method openEntity

src/vmfWriter/entity/Entity.java:35–40  ·  view source on GitHub ↗
(ValveWriter writer)

Source from the content-addressed store, hash-verified

33 }
34
35 public ValveWriter openEntity(ValveWriter writer) throws IOException {
36 return writer.open(ValveElement.ENTITY_TAG)
37 .put(ValveElement.ID_TAG, writer.getCounter()
38 .getBrushId())
39 .put(ValveElement.CLASSNAME_TAG, this.getName());
40 }
41
42 public abstract String getName();
43

Callers 1

writeStartMethod · 0.95

Calls 5

getNameMethod · 0.95
getBrushIdMethod · 0.80
getCounterMethod · 0.80
putMethod · 0.45
openMethod · 0.45

Tested by

no test coverage detected