File WfPlayerStart.c

FileList > entities > WfPlayerStart.c

Go to the source code of this file

  • #include "WfPlayerStart.h"
  • #include "Entities.h"
  • #include "BinarySerializer.h"
  • #include "Game2DLayer.h"
  • #include "ObjectPool.h"
  • #include "WfPlayer.h"
  • #include "GameFramework.h"
  • #include "WfWorld.h"
  • #include "string.h"
  • #include "Log.h"
  • #include "Network.h"

Classes

Type Name
struct WfPlayerStartData

Public Static Attributes

Type Name
HEntity2D hCurrentLocalPlayer = NULL\_HANDLE

Public Functions

Type Name
void WfDeSerializePlayerStartEntity (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData)
void WfDeSerializePlayerStartEntityV1 (struct BinarySerializer * bs, struct Entity2D * pOutEnt, struct GameLayer2DData * pData)
void WfInitPlayerStart ()
void WfPlayerStartEntityOnDestroy (struct Entity2D * pEnt, struct GameFrameworkLayer * pData)
void WfPlayerStartEntityOnInit (struct Entity2D * pEnt, struct GameFrameworkLayer * pLayer, DrawContext * pDrawCtx, InputContext * pInputCtx)
void WfSerializePlayerStartEntity (struct BinarySerializer * bs, struct Entity2D * pInEnt, struct GameLayer2DData * pData)

Public Static Functions

Type Name
static OBJECT_POOL (struct WfPlayerStartData)

Public Static Attributes Documentation

variable hCurrentLocalPlayer

HEntity2D hCurrentLocalPlayer;

Public Functions Documentation

function WfDeSerializePlayerStartEntity

void WfDeSerializePlayerStartEntity (
    struct BinarySerializer * bs,
    struct Entity2D * pOutEnt,
    struct GameLayer2DData * pData
) 

function WfDeSerializePlayerStartEntityV1

void WfDeSerializePlayerStartEntityV1 (
    struct BinarySerializer * bs,
    struct Entity2D * pOutEnt,
    struct GameLayer2DData * pData
) 

function WfInitPlayerStart

void WfInitPlayerStart () 

function WfPlayerStartEntityOnDestroy

void WfPlayerStartEntityOnDestroy (
    struct Entity2D * pEnt,
    struct GameFrameworkLayer * pData
) 

function WfPlayerStartEntityOnInit

void WfPlayerStartEntityOnInit (
    struct Entity2D * pEnt,
    struct GameFrameworkLayer * pLayer,
    DrawContext * pDrawCtx,
    InputContext * pInputCtx
) 

function WfSerializePlayerStartEntity

void WfSerializePlayerStartEntity (
    struct BinarySerializer * bs,
    struct Entity2D * pInEnt,
    struct GameLayer2DData * pData
) 

Public Static Functions Documentation

function OBJECT_POOL

static static OBJECT_POOL (
    struct WfPlayerStartData
) 


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