MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / ExtractNewObject

Function ExtractNewObject

clientd3d/server.c:365–370  ·  view source on GitHub ↗

/ * ExtractNewObject: Get an object_node from ptr, and increment * ptr appropriately. Return a newly allocated object containing * read info. */

Source from the content-addressed store, hash-verified

363 * read info.
364 */
365object_node *ExtractNewObject(char **ptr)
366{
367 object_node *item = ObjectGetBlank();
368 ExtractObject(ptr, item);
369 return item;
370}
371
372object_node *ExtractNewObjectNoLighting(char **ptr)
373{

Callers 3

HandleAddEnchantmentFunction · 0.85
ExtractObjectListFunction · 0.85
HandleInventoryAddFunction · 0.85

Calls 2

ObjectGetBlankFunction · 0.85
ExtractObjectFunction · 0.85

Tested by

no test coverage detected