C# Class NRaas.CupcakeSpace.Helpers.DisplayHelper

Afficher le fichier Open project: Chain-Reaction/NRaas

Méthodes publiques

Méthode Description
BasePriceFinalPriceDiff ( GameObject obj, bool singleServingOnly, int &FinalPrice, int &BasePrice ) : int
ComputeFinalPriceOnObject ( GameObject obj, bool singleServingOnly ) : int
ComputeFinalPriceOnObject ( ObjectGuid targetGuid ) : int
ComputeFinalPriceOnObject ( ObjectGuid targetGuid, bool singleServingOnly ) : int
ExtractRecipeKeyFromSlot ( CraftersConsignmentDisplay display, int num, Slot slot, Quality &quality ) : string
GetDisplayType ( CraftersConsignmentDisplay display ) : DisplayTypes
GetEmptyOrFoodSlots ( CraftersConsignmentDisplay display, DisplayTypes &displayType ) : Slot>.Dictionary
GetObjectsICanBuyInDisplay ( Sim actor, CraftersConsignment display ) : List
ParentToSlot ( GameObject obj, Slot slot, GameObject parent ) : void
TestIfObjectCanBeBoughtByActor ( IGameObject obj, Sim actor ) : bool

Method Details

BasePriceFinalPriceDiff() public static méthode

public static BasePriceFinalPriceDiff ( GameObject obj, bool singleServingOnly, int &FinalPrice, int &BasePrice ) : int
obj GameObject
singleServingOnly bool
FinalPrice int
BasePrice int
Résultat int

ComputeFinalPriceOnObject() public static méthode

public static ComputeFinalPriceOnObject ( GameObject obj, bool singleServingOnly ) : int
obj GameObject
singleServingOnly bool
Résultat int

ComputeFinalPriceOnObject() public static méthode

public static ComputeFinalPriceOnObject ( ObjectGuid targetGuid ) : int
targetGuid ObjectGuid
Résultat int

ComputeFinalPriceOnObject() public static méthode

public static ComputeFinalPriceOnObject ( ObjectGuid targetGuid, bool singleServingOnly ) : int
targetGuid ObjectGuid
singleServingOnly bool
Résultat int

ExtractRecipeKeyFromSlot() public static méthode

public static ExtractRecipeKeyFromSlot ( CraftersConsignmentDisplay display, int num, Slot slot, Quality &quality ) : string
display CraftersConsignmentDisplay
num int
slot Slot
quality Quality
Résultat string

GetDisplayType() public static méthode

public static GetDisplayType ( CraftersConsignmentDisplay display ) : DisplayTypes
display CraftersConsignmentDisplay
Résultat DisplayTypes

GetEmptyOrFoodSlots() public static méthode

public static GetEmptyOrFoodSlots ( CraftersConsignmentDisplay display, DisplayTypes &displayType ) : Slot>.Dictionary
display CraftersConsignmentDisplay
displayType DisplayTypes
Résultat Slot>.Dictionary

GetObjectsICanBuyInDisplay() public static méthode

public static GetObjectsICanBuyInDisplay ( Sim actor, CraftersConsignment display ) : List
actor Sim
display CraftersConsignment
Résultat List

ParentToSlot() public static méthode

public static ParentToSlot ( GameObject obj, Slot slot, GameObject parent ) : void
obj GameObject
slot Slot
parent GameObject
Résultat void

TestIfObjectCanBeBoughtByActor() public static méthode

public static TestIfObjectCanBeBoughtByActor ( IGameObject obj, Sim actor ) : bool
obj IGameObject
actor Sim
Résultat bool