Content Warning

Content Warning

ShopAPI
Showing 1-6 of 6 entries
Update: Apr 11 @ 4:25pm

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

Update: Feb 8 @ 12:23pm

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

Update: Jan 23 @ 10:53am

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

Update: Jan 19 @ 12:33pm

Update to version 1.0.2

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

Update: Jan 18 @ 2:06pm

Update to version 1.0.1

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

Update: Jan 16 @ 3:50pm

Initial upload, version 1.0.0