C# 클래스 SpilGames.Unity.Helpers.PackageItem

This is the business object that the developer can use to work with Items associated with Packages and Promotions.
파일 보기 프로젝트 열기: spilgames/spil_event_unity_plugin

공개 메소드들

메소드 설명
GetRealValue ( ) : string

Gets the actual value of this item. Checks for any active promotion for this item.

HasActivePromotion ( ) : bool

Checks for any active promotion for this item, also checks if the current date is between the promotion's begin and end date.

PackageItem ( string id, string type, string originalValue, string promotionValue = null ) : System

메소드 상세

GetRealValue() 공개 메소드

Gets the actual value of this item. Checks for any active promotion for this item.
public GetRealValue ( ) : string
리턴 string

HasActivePromotion() 공개 메소드

Checks for any active promotion for this item, also checks if the current date is between the promotion's begin and end date.
public HasActivePromotion ( ) : bool
리턴 bool

PackageItem() 공개 메소드

public PackageItem ( string id, string type, string originalValue, string promotionValue = null ) : System
id string
type string
originalValue string
promotionValue string
리턴 System