MCPcopy Create free account
hub / github.com/crossuo/crossuo / FUNCBODY_SetTargetData

Function FUNCBODY_SetTargetData

src/CommonInterfaces.cpp:235–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235void CDECL FUNCBODY_SetTargetData(unsigned char *buf, int size)
236{
237 CDataReader reader(buf, size);
238 reader.Move(1);
239
240 if (*buf == 0x6C)
241 {
242 g_Target.SetData(reader);
243 }
244 else
245 {
246 g_Target.SetMultiData(reader);
247 }
248}
249
250void CDECL FUNCBODY_SendTargetObject(unsigned int serial)
251{

Callers

nothing calls this directly

Calls 3

SetMultiDataMethod · 0.80
MoveMethod · 0.45
SetDataMethod · 0.45

Tested by

no test coverage detected