Stardew Engine
Loading...
Searching...
No Matches
WfPersistantGameData.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  WfPlayerPreferences
 
struct  WfInventoryItem
 
struct  WfInventory
 
struct  WfPersistantData
 

Macros

#define VECTOR(a)   a*
 
#define WF_INVENTORY_ROW_SIZE   12
 
#define WF_INVENTORY_SIZE_INITIAL   WF_INVENTORY_ROW_SIZE
 

Functions

void WfLoadPersistantDataFile (const char *path)
 
void WfSavePersistantDataFile (const char *path)
 
void WfNewSavePersistantData ()
 
struct WfInventoryWfGetInventory ()
 
struct WfPlayerPreferencesWfGetPreferences ()
 
struct WfInventoryWfGetNetworkPlayersInventory (int player)
 
int WfGetNumNetworkPlayerPersistentDataSlots ()
 
void WfSetNumNetworkPlayerPersistentDataSlots (int num)
 
void WfSavePersistantDataFileInternal (struct BinarySerializer *bs, struct WfPersistantData *pGameData)
 
void WfLoadPersistantDataFileInternal (struct BinarySerializer *pBS, struct WfPersistantData *pData)
 
struct WfPersistantDataWfGetLocalPlayerPersistantGameData ()
 
struct WfPersistantDataWfGetNetworkPlayerPersistantGameData (int playerNum)
 

Macro Definition Documentation

◆ VECTOR

#define VECTOR (   a)    a*

◆ WF_INVENTORY_ROW_SIZE

#define WF_INVENTORY_ROW_SIZE   12

◆ WF_INVENTORY_SIZE_INITIAL

#define WF_INVENTORY_SIZE_INITIAL   WF_INVENTORY_ROW_SIZE

Function Documentation

◆ WfGetInventory()

struct WfInventory * WfGetInventory ( )

◆ WfGetLocalPlayerPersistantGameData()

struct WfPersistantData * WfGetLocalPlayerPersistantGameData ( )

◆ WfGetNetworkPlayerPersistantGameData()

struct WfPersistantData * WfGetNetworkPlayerPersistantGameData ( int  playerNum)

◆ WfGetNetworkPlayersInventory()

struct WfInventory * WfGetNetworkPlayersInventory ( int  player)

◆ WfGetNumNetworkPlayerPersistentDataSlots()

int WfGetNumNetworkPlayerPersistentDataSlots ( )

◆ WfGetPreferences()

struct WfPlayerPreferences * WfGetPreferences ( )

◆ WfLoadPersistantDataFile()

void WfLoadPersistantDataFile ( const char *  path)

◆ WfLoadPersistantDataFileInternal()

void WfLoadPersistantDataFileInternal ( struct BinarySerializer pBS,
struct WfPersistantData pData 
)

◆ WfNewSavePersistantData()

void WfNewSavePersistantData ( )

◆ WfSavePersistantDataFile()

void WfSavePersistantDataFile ( const char *  path)

◆ WfSavePersistantDataFileInternal()

void WfSavePersistantDataFileInternal ( struct BinarySerializer bs,
struct WfPersistantData pGameData 
)

◆ WfSetNumNetworkPlayerPersistentDataSlots()

void WfSetNumNetworkPlayerPersistentDataSlots ( int  num)