File WfBaseItemImpls.h

FileList > game > include > WfBaseItemImpls.h

Go to the source code of this file

  • #include "DrawContext.h"
  • #include "InputContext.h"
  • #include "WfItem.h"
  • #include "SharedLib.h"

Public Functions

Type Name
void STARDEW_API WfBaseInitDef (struct WfItemDef * pDef)
void STARDEW_API WfBaseOnGameLayerPop (struct WfItemDef * pDef, struct GameFrameworkLayer * pLayer, DrawContext * drawContext, InputContext * inputContext)
void STARDEW_API WfBaseOnGameLayerPush (struct WfItemDef * pDef, struct GameFrameworkLayer * pLayer, DrawContext * drawContext, InputContext * inputContext)
void STARDEW_API WfBaseOnMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void STARDEW_API WfBaseOnStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool STARDEW_API WfBaseOnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool STARDEW_API WfBaseTryEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot, struct WfItemDef * pDef)
bool STARDEW_API WfBaseTryUnEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot, struct WfItemDef * pDef)

Public Functions Documentation

function WfBaseInitDef

void STARDEW_API WfBaseInitDef (
    struct WfItemDef * pDef
) 

function WfBaseOnGameLayerPop

void STARDEW_API WfBaseOnGameLayerPop (
    struct WfItemDef * pDef,
    struct GameFrameworkLayer * pLayer,
    DrawContext * drawContext,
    InputContext * inputContext
) 

function WfBaseOnGameLayerPush

void STARDEW_API WfBaseOnGameLayerPush (
    struct WfItemDef * pDef,
    struct GameFrameworkLayer * pLayer,
    DrawContext * drawContext,
    InputContext * inputContext
) 

function WfBaseOnMakeCurrentItem

void STARDEW_API WfBaseOnMakeCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function WfBaseOnStopBeingCurrentItem

void STARDEW_API WfBaseOnStopBeingCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function WfBaseOnUseItem

bool STARDEW_API WfBaseOnUseItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function WfBaseTryEquip

bool STARDEW_API WfBaseTryEquip (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer,
    enum WfEquipSlot slot,
    struct WfItemDef * pDef
) 

function WfBaseTryUnEquip

bool STARDEW_API WfBaseTryUnEquip (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer,
    enum WfEquipSlot slot,
    struct WfItemDef * pDef
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/include/WfBaseItemImpls.h