Overview
- This class is about the Stall Objects that will be used for Flea Market Content.
Metadata
| Field | Value |
|---|
| Kind | struct |
| Environment | B2 - Simulation |
| Category | structs |
| Extends | FB2GameObject |
| Require | require('Objects.B2MarketStallObject') |
Properties (1)
| Name | Type | Description |
|---|
SellerId | FB1EntityId | Once a flea market starts, the SellerId must be kept until the flea market ends even if the stall sells out. |
Functions (12)
| Function | Parameters | Returns | Description |
|---|
GetSellerId | - | FB1EntityId | Returns Seller Id. |
HasSaleableObject | - | boolean | Returns whether it has Saleable Object. |
HasSeller | - | boolean | Returns whether it has Seller. |
IsBizStall | - | boolean | Returns whether Biz Stall. |
IsFireState | - | boolean | Returns whether Fire State. |
IsOpened | - | boolean | Returns whether Opened. |
IsSeller | InEntityId: FB1EntityId | boolean | Returns whether Seller. |
OnFinishFleaMarket | InSellerId: FB1EntityId | - | Callback invoked on Finish Flea Market. |
OnSlotOccupyChanged | - | - | Callback invoked on Slot Occupy Changed. |
Open | - | - | |
PauseOrResumeSale | bInResume: boolean | - | |
SetSeller | InEntityId: FB1EntityId | - | Sets Seller. |
Override points (4)
Implement these in Lua as FB2MarketStallObject.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|
Override_OnFinishFleaMarket | InSellerId: FB1EntityId | - | Callback invoked on Finish Flea Market. |
Override_OnSlotOccupyChanged | - | - | Callback invoked on Slot Occupy Changed. |
Override_Open | - | - | |
Override_PauseOrResumeSale | bInResume: boolean | - | |