import { CustomizationController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";
Constructors
new
CustomizationController(logger: ILogger,
eventOutputHolder: EventOutputHolder,
databaseServer: DatabaseServer,
saveServer: SaveServer,
localisationService: LocalisationService,
profileHelper: ProfileHelper,
Properties
protected
databaseServer: DatabaseServerprotected
eventOutputHolder: EventOutputHolderprotected
localisationService: LocalisationServiceprotected
logger: ILoggerprotected
profileHelper: ProfileHelperprotected
saveServer: SaveServerMethods
protected
getAllTraderSuits(sessionID: string): ISuit[]protected
getTraderClothingOffer(sessionId: string, offerId: string): ISuitprotected
outfitAlreadyPurchased(suitId: string, sessionID: string): booleanHas an outfit been purchased by a player
protected
payForClothingItem(): voidUpdate output object and player profile with purchase details for single piece of clothing
protected
payForClothingItems(): voidUpdate output object and player profile with purchase details
Handle CustomizationBuy event Purchase/unlock a clothing item from a trader
getTraderSuits(traderID: string, sessionID: string): ISuit[]
Get purchasable clothing items from trader that match players side (usec/bear)
Handle CustomizationWear event Equip one to many clothing items to player