C# Class OfflineServer.Economy.Basket

Show file Open project: berkay2578/nfsw-server

Public Methods

Method Description
getProductTransactionEntry ( Currency currencyType, String description, Int32 rentalDurationInMinutes, System.Int64 hash, String iconString, Int16 levelLimit, String tooltipDescription, Int32 price, Int16 priorityNumber, String id, String title, GameItemType itemType, Special extraDetail = Special.None ) : System.Xml.Linq.XElement

Initializes a product data entry for use in XML.

Method Details

getProductTransactionEntry() public static method

Initializes a product data entry for use in XML.
public static getProductTransactionEntry ( Currency currencyType, String description, Int32 rentalDurationInMinutes, System.Int64 hash, String iconString, Int16 levelLimit, String tooltipDescription, Int32 price, Int16 priorityNumber, String id, String title, GameItemType itemType, Special extraDetail = Special.None ) : System.Xml.Linq.XElement
currencyType System.Currency Type of currency the item is sold for
description String NFS: World Beta feature, still gonna keep it for MAYBE future-use
rentalDurationInMinutes System.Int32 0 if not a rental, rental duration in minutes if else
hash System.Int64 Item hash value that is recognized by NFS: World
iconString String Item icon that is displayed somewhere around its title
levelLimit System.Int16 0 if not level limited, minimum level value if else
tooltipDescription String NFS: World Beta feature, still gonna keep it for MAYBE future-use
price System.Int32 How much the item is sold for
priorityNumber System.Int16 Priority in the shopping list in-game, commonly used for new items or discounts
id String Server product id
title String Item title that is displayed in-game
itemType GameItemType Item type that NFS: World can recognize
extraDetail Special If there is one, a special condition for the item that is displayed in-game
return System.Xml.Linq.XElement