Table of Contents

Class NetworkDealBase

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[Serializable]
public abstract class NetworkDealBase
Inheritance
NetworkDealBase
Derived
Inherited Members
Extension Methods

Constructors

NetworkDealBase()

public NetworkDealBase()

Fields

SuccessEmailTitle

public const string SuccessEmailTitle = "Great Job!"

Field Value

string

difficulty

[HideInInspector]
public DIFFICULTY difficulty

Field Value

DIFFICULTY

iconSprite

public Sprite iconSprite

Field Value

Sprite

progressInt

public int progressInt

Field Value

int

reward

[HideInInspector]
public DealRewardBase reward

Field Value

DealRewardBase

state

public NetworkDealBase.DEAL_STATE state

Field Value

NetworkDealBase.DEAL_STATE

Properties

AllowedDifficulties

public abstract List<DIFFICULTY> AllowedDifficulties { get; }

Property Value

List<DIFFICULTY>

DealName

public abstract string DealName { get; }

Property Value

string

EmailAddress

public abstract string EmailAddress { get; }

Property Value

string

EmailTitle

public abstract string EmailTitle { get; }

Property Value

string

IconPath

public abstract string IconPath { get; }

Property Value

string

Inited

public bool Inited { get; }

Property Value

bool

IsDirty

public bool IsDirty { get; set; }

Property Value

bool

IsDone

public bool IsDone { get; }

Property Value

bool

IsFailed

public bool IsFailed { get; }

Property Value

bool

IsSuccess

public bool IsSuccess { get; }

Property Value

bool

PersistentIdOfItem

public abstract List<string> PersistentIdOfItem { get; }

Property Value

List<string>

ProgressInt

public int ProgressInt { get; set; }

Property Value

int

Rarity

public abstract RARITY Rarity { get; }

Property Value

RARITY

State

public NetworkDealBase.DEAL_STATE State { get; set; }

Property Value

NetworkDealBase.DEAL_STATE

UseInGame

public abstract bool UseInGame { get; }

Property Value

bool

Methods

ClaimReward()

public void ClaimReward()

ClearDirty()

public void ClearDirty()

CreateNew()

public abstract NetworkDealBase CreateNew()

Returns

NetworkDealBase

DealDescription()

public abstract string DealDescription()

Returns

string

FillSerializedData(SerializedNetworkDeal)

public void FillSerializedData(NetworkDealBase.SerializedNetworkDeal deal)

Parameters

deal NetworkDealBase.SerializedNetworkDeal

GetDifficultyText()

public virtual string GetDifficultyText()

Returns

string

GetFailedEmailBody()

public abstract string GetFailedEmailBody()

Returns

string

GetIcon()

public virtual Sprite GetIcon()

Returns

Sprite

GetIndex()

public abstract byte GetIndex()

Returns

byte

GetIndex<T>()

public byte GetIndex<T>()

Returns

byte

Type Parameters

T

GetProgress()

public virtual float GetProgress()

Returns

float

GetProgressText()

public virtual string GetProgressText()

Returns

string

GetSerialized()

public virtual NetworkDealBase.SerializedNetworkDeal GetSerialized()

Returns

NetworkDealBase.SerializedNetworkDeal

GetSuccessEmailBody()

public abstract string GetSuccessEmailBody()

Returns

string

GetWeight()

public float GetWeight()

Returns

float

Init(DealRewardBase, DIFFICULTY)

public virtual void Init(DealRewardBase reward, DIFFICULTY dif)

Parameters

reward DealRewardBase
dif DIFFICULTY

OnAddQuota(int)

public virtual void OnAddQuota(int quotaToAdd)

Parameters

quotaToAdd int

OnDestroy()

public abstract void OnDestroy()

OnRemovedMoney(int)

public virtual void OnRemovedMoney(int removedAmount)

Parameters

removedAmount int

OnStatusUpdated()

public virtual void OnStatusUpdated()

Refresh()

public void Refresh()

RequiredAmount()

public abstract int RequiredAmount()

Returns

int

ReviewUploadContent(ContentBuffer)

public virtual void ReviewUploadContent(ContentBuffer contentBuffer)

Parameters

contentBuffer ContentBuffer

SetDirty()

public void SetDirty()

SpawnSponsorItem()

public void SpawnSponsorItem()

Update()

public abstract void Update()