MCPcopy Create free account
hub / github.com/cuberite/cuberite / AddSignEntity

Method AddSignEntity

src/WorldStorage/NBTChunkSerializer.cpp:264–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263
264void cNBTChunkSerializer::AddSignEntity(cSignEntity * a_Sign)
265{
266 m_Writer.BeginCompound("");
267 AddBasicTileEntity(a_Sign, "Sign");
268 m_Writer.AddString("Text1", a_Sign->GetLine(0));
269 m_Writer.AddString("Text2", a_Sign->GetLine(1));
270 m_Writer.AddString("Text3", a_Sign->GetLine(2));
271 m_Writer.AddString("Text4", a_Sign->GetLine(3));
272 m_Writer.EndCompound();
273}
274
275
276

Callers

nothing calls this directly

Calls 4

BeginCompoundMethod · 0.80
AddStringMethod · 0.80
GetLineMethod · 0.80
EndCompoundMethod · 0.80

Tested by

no test coverage detected