Content Warning

Content Warning

ShopAPI
Viser 1-6 af 6 forekomster
Opdatering: 11. apr. kl. 16: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

Opdatering: 8. feb. kl. 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

Opdatering: 23. jan. kl. 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

Opdatering: 19. jan. kl. 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

Opdatering: 18. jan. kl. 14:06

Update to version 1.0.1

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

Opdatering: 16. jan. kl. 15:50

Initial upload, version 1.0.0