File WfEquipableItem.h

FileList > game > include > WfEquipableItem.h

Go to the source code of this file

  • #include <stdbool.h>
  • #include "WfItem.h"
  • #include "SharedLib.h"

Public Functions

Type Name
void STARDEW_API WfEquipableMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool STARDEW_API WfEquipableOnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void STARDEW_API WfEquipableStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool STARDEW_API WfEquipableTryEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot, struct WfItemDef * pDef)
bool STARDEW_API WfEquipableTryUnEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot, struct WfItemDef * pDef)
void STARDEW_API WfInitEquipable (struct WfItemDef * pDef)

Public Functions Documentation

function WfEquipableMakeCurrentItem

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

function WfEquipableOnUseItem

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

function WfEquipableStopBeingCurrentItem

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

function WfEquipableTryEquip

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

function WfEquipableTryUnEquip

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

function WfInitEquipable

void STARDEW_API WfInitEquipable (
    struct WfItemDef * pDef
) 


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