File WfItemPickup.c
FileList > entities > WfItemPickup.c
Go to the source code of this file
#include "WfItemPickup.h"#include "Entities.h"#include "BinarySerializer.h"#include "Game2DLayer.h"#include "WfItem.h"#include "WfEntities.h"#include "ObjectPool.h"#include "GameFramework.h"#include "Log.h"#include "WfPlayer.h"#include "WfPersistantGameData.h"#include "WfGameLayer.h"#include "Audio.h"#include <string.h>
Classes
| Type | Name |
|---|---|
| struct | WfItemPickupEntData |
Public Functions
| Type | Name |
|---|---|
| OBJECT_POOL (struct WfItemPickupEntData) |
|
| HEntity2D | WfAddPickupBasedAt (float x, float y, struct WfItemPickupDef * def, struct GameLayer2DData * pGameLayerData) |
| void | WfDeSerializeItemPickupEntity (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData) |
| void | WfMakeEntityIntoPickupBasedAt (float x, float y, struct WfItemPickupDef * def, struct GameLayer2DData * pGameLayerData, struct Entity2D * pEnt) |
| void | WfOnPickupSensorOverlapBegin (struct GameFrameworkLayer * pLayer, HEntity2D hOverlappingEntity, HEntity2D thisSensorEntity) |
| void | WfSerializeItemPickupEntity (struct BinarySerializer * bs, struct Entity2D * pInEnt, struct GameLayer2DData * pData) |
Public Static Functions
| Type | Name |
|---|---|
| void | ItemPickupOnDestroy (struct Entity2D * pEnt, struct GameFrameworkLayer * pData) |
Public Functions Documentation
function OBJECT_POOL
OBJECT_POOL (
struct WfItemPickupEntData
)
function WfAddPickupBasedAt
HEntity2D WfAddPickupBasedAt (
float x,
float y,
struct WfItemPickupDef * def,
struct GameLayer2DData * pGameLayerData
)
function WfDeSerializeItemPickupEntity
void WfDeSerializeItemPickupEntity (
struct BinarySerializer * bs,
struct Entity2D * pOutEnt,
struct GameLayer2DData * pData
)
function WfMakeEntityIntoPickupBasedAt
void WfMakeEntityIntoPickupBasedAt (
float x,
float y,
struct WfItemPickupDef * def,
struct GameLayer2DData * pGameLayerData,
struct Entity2D * pEnt
)
function WfOnPickupSensorOverlapBegin
void WfOnPickupSensorOverlapBegin (
struct GameFrameworkLayer * pLayer,
HEntity2D hOverlappingEntity,
HEntity2D thisSensorEntity
)
function WfSerializeItemPickupEntity
void WfSerializeItemPickupEntity (
struct BinarySerializer * bs,
struct Entity2D * pInEnt,
struct GameLayer2DData * pData
)
Public Static Functions Documentation
function ItemPickupOnDestroy
static void ItemPickupOnDestroy (
struct Entity2D * pEnt,
struct GameFrameworkLayer * pData
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/src/entities/WfItemPickup.c