Table of Contents

Class HatShop

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class HatShop : MonoBehaviour
Inheritance
HatShop
Inherited Members
Extension Methods

Constructors

HatShop()

public HatShop()

Fields

buyHat

public SFX_Instance buyHat

Field Value

SFX_Instance

hatBuyInteractables

public List<HatBuyInteractable> hatBuyInteractables

Field Value

List<HatBuyInteractable>

instance

public static HatShop instance

Field Value

HatShop

noHat

public SFX_Instance noHat

Field Value

SFX_Instance

savedSeed

public int savedSeed

Field Value

int

view

public PhotonView view

Field Value

PhotonView

Methods

Awake()

public void Awake()

HatBuyClicked(HatBuyInteractable)

public void HatBuyClicked(HatBuyInteractable hatBuyInteractable)

Parameters

hatBuyInteractable HatBuyInteractable

RPCA_BuyHat(int, int)

[PunRPC]
public void RPCA_BuyHat(int hatBuyIndex, int buyerActorNumber)

Parameters

hatBuyIndex int
buyerActorNumber int

RPCA_StockShop(int)

[PunRPC]
public void RPCA_StockShop(int seed)

Parameters

seed int

RPCM_TryBuyHat(int, int)

[PunRPC]
public void RPCM_TryBuyHat(int hatBuyIndex, int buyerActorNumber)

Parameters

hatBuyIndex int
buyerActorNumber int

Restock()

public void Restock()

Start()

public void Start()

StockShop()

public void StockShop()