File WfBasicBow.c

FileList > game > src > items > WfBasicBow.c

Go to the source code of this file

  • #include "WfBasicBow.h"
  • #include "WfItem.h"
  • #include <stdlib.h>

Public Static Attributes

Type Name
struct WfItemDef gDef = /* multi line expression */

Public Functions

Type Name
void WfAddBasicBowDef ()

Public Static Functions

Type Name
void OnMakeCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
void OnStopBeingCurrentItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool OnUseItem (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer)
bool TryEquip (struct Entity2D * pPlayer, struct GameFrameworkLayer * pLayer, enum WfEquipSlot slot)

Public Static Attributes Documentation

variable gDef

struct WfItemDef gDef;

Public Functions Documentation

function WfAddBasicBowDef

void WfAddBasicBowDef () 

Public Static Functions Documentation

function OnMakeCurrentItem

static void OnMakeCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnStopBeingCurrentItem

static void OnStopBeingCurrentItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function OnUseItem

static bool OnUseItem (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer
) 

function TryEquip

static bool TryEquip (
    struct Entity2D * pPlayer,
    struct GameFrameworkLayer * pLayer,
    enum WfEquipSlot slot
) 


The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/game/src/items/WfBasicBow.c