前方高能

前方高能

ShopAPI
正在显示第 1 - 7 项,共 7 项条目
更新于:11 月 21 日 下午 12:25

Update to version 1.3.0.0

- Added STEAM_WORKSHOP_ITEM_ID public const to ShopApiPlugin.
- [Internal] Added custom logger so events can be found easier when debugging via Player.log
- Bepinex DLL now has .bepinex appended to the informal / product version
- Fixed game freezing when trying to iterate LocalizationSettings.AvailableLocales.Locales too early

See the github repository for release notes:
https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.2.1

更新于:4 月 11 日 下午 4:25

Update to version 1.2.1.0

Initialise SteamLobbyMetadataHandler on plugin initialisation instead of on first item registration


See the github repository for release notes:
https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.2.1

更新于:2 月 8 日 下午 12:23

Update to version 1.2.0.0

DLLs are now correctly versioned

Added default value constructor to SynchronisedMetadata

SynchronisedMetadata now implements IDisposable
- Disconnect() is now obsolete but calls Dispose()

Added LobbyHosted event to SynchronisedMetadata
- Invoked when the local player successfully creates a new lobby
- Use this to overwrite any remnant settings from a previous lobby

`ShopItem` now correctly uses localised item names whenever available

Items registered to the shop via the mod will now be considered when spawning random items in the Old World
- For an item to be eligible, `spawnable` must be true and `itemType` must be `Item.ItemType.Tool`

See the github repository for release notes: https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.2

更新于:1 月 23 日 上午 10:53

Update to version 1.1.0

Fixed an issue where all synchronisation broke after leaving a lobby and joining a new one in the same session.

Added `UpdateItemPrice` method. Use this to update the price of items anytime during a game, and they'll be synchronised between players. This will also reload the store, so the current cart gets reset.

Removed mistakenly marked `static` fields from `SynchronisedMetadata`. These are now instance fields:

public static bool InLobby -> public bool InLobby
public static bool IsHost -> public bool IsHost

See the github repository for release notes: https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.1.0

更新于:1 月 19 日 下午 12:33

Update to version 1.0.2

See the github repository for release notes: https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.0.2

更新于:1 月 18 日 下午 2:06

Update to version 1.0.1

See the github repository for release notes: https://github.com/Xerren09/ContentWarningShopAPI/releases/tag/v1.0.1

更新于:1 月 16 日 下午 3:50

Initial upload, version 1.0.0