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

Method SendWindowProperty

src/Protocol/Protocol125.cpp:1131–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129
1130
1131void cProtocol125::SendWindowProperty(const cWindow & a_Window, short a_Property, short a_Value)
1132{
1133 cCSLock Lock(m_CSPacket);
1134 WriteByte (PACKET_WINDOW_PROPERTY);
1135 WriteChar (a_Window.GetWindowID());
1136 WriteShort(a_Property);
1137 WriteShort(a_Value);
1138 Flush();
1139}
1140
1141
1142

Callers 2

BroadcastProgressMethod · 0.45
SetPropertyMethod · 0.45

Calls 1

GetWindowIDMethod · 0.80

Tested by

no test coverage detected