3.9.3
This commit is contained in:
parent
5e32ead325
commit
9e02730e03
@ -1,4 +1,4 @@
|
||||
# Mod examples for v3.9.2
|
||||
# Mod examples for v3.9.3
|
||||
|
||||
A collection of example mods that perform typical actions in SPT
|
||||
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
@ -70,10 +70,10 @@ export declare class RagfairOfferGenerator {
|
||||
* @param items Items in the offer
|
||||
* @param barterScheme Cost of item (currency or barter)
|
||||
* @param loyalLevel Loyalty level needed to buy item
|
||||
* @param sellInOnePiece Set StackObjectsCount to 1
|
||||
* @param isPackOffer Is offer being created flaged as a pack
|
||||
* @returns IRagfairOffer
|
||||
*/
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, sellInOnePiece?: boolean): IRagfairOffer;
|
||||
protected createOffer(userID: string, time: number, items: Item[], barterScheme: IBarterScheme[], loyalLevel: number, isPackOffer?: boolean): IRagfairOffer;
|
||||
/**
|
||||
* Create the user object stored inside each flea offer object
|
||||
* @param userID user creating the offer
|
||||
|
@ -9,23 +9,20 @@ export interface IRagfairOffer {
|
||||
intId: number;
|
||||
/** Handbook price */
|
||||
itemsCost: number;
|
||||
/** Rouble price */
|
||||
/** Rouble price per item */
|
||||
requirementsCost: number;
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
sellInOnePiece: boolean;
|
||||
/** Rouble price - same as requirementsCost */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
/** Trader only */
|
||||
unlimitedCount?: boolean;
|
||||
loyaltyLevel: number;
|
||||
buyRestrictionMax?: number;
|
||||
buyRestrictionCurrent?: number;
|
||||
locked: boolean;
|
||||
unlimitedCount: boolean;
|
||||
/** Rouble price */
|
||||
summaryCost: number;
|
||||
user: IRagfairOfferUser;
|
||||
notAvailable: boolean;
|
||||
/** TODO - implement this value - not currently used */
|
||||
CurrentItemCount: number;
|
||||
priority: boolean;
|
||||
locked?: boolean;
|
||||
}
|
||||
export interface OfferRequirement {
|
||||
_tpl: string;
|
||||
@ -37,6 +34,7 @@ export interface IRagfairOfferUser {
|
||||
nickname?: string;
|
||||
rating?: number;
|
||||
memberType: MemberCategory;
|
||||
selectedMemberCategory?: MemberCategory;
|
||||
avatar?: string;
|
||||
isRatingGrowing?: boolean;
|
||||
aid?: number;
|
||||
|
Loading…
x
Reference in New Issue
Block a user