1/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2/* If you are missing that file, acquire a complete release at teeworlds.com. */
3#ifndef GAME_CLIENT_PICKUP_DATA_H
4#define GAME_CLIENT_PICKUP_DATA_H
5
6#include <base/vmath.h>
7
8struct CNetObj_Pickup;
9struct CNetObj_DDNetPickup;
10struct CNetObj_EntityEx;
11
12class CPickupData
13{
14public:
15 vec2 m_Pos;
16 int m_Type;
17 int m_Subtype;
18 int m_SwitchNumber;
19};
20
21CPickupData ExtractPickupInfo(int NetObjType, const void *pData, const CNetObj_EntityEx *pEntEx);
22CPickupData ExtractPickupInfoDDNet(const CNetObj_DDNetPickup *pPickup);
23
24#endif // GAME_CLIENT_PICKUP_DATA_H
25