Give stores the ability to check for owner only (#26573)
adds a check if the store belongs to the user
This commit is contained in:
@@ -78,6 +78,13 @@ public sealed partial class StoreComponent : Component
|
||||
[ViewVariables, DataField]
|
||||
public bool RefundAllowed;
|
||||
|
||||
/// <summary>
|
||||
/// Checks if store can be opened by the account owner only.
|
||||
/// Not meant to be used with uplinks.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField]
|
||||
public bool OwnerOnly;
|
||||
|
||||
/// <summary>
|
||||
/// The map the store was originally from, used to block refunds if the map is changed
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user