class
MAuthorityLeaseSubsystem
- Module
- Game
- Header
#include "Game/MAuthorityLeaseSubsystem.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
TMulticastDelegate<AActor*, int32_t> | OnLeaseGranted | (item, lessee peer id) |
TMulticastDelegate<AActor*, int32_t> | OnLeaseRenewed | (item, lessee peer id) — fires on the host and on the lessee. |
TMulticastDelegate<AActor*, int32_t, int32_t> | OnLeaseRevoked | (item, former lessee peer id, ELeaseRevokeReason as an int: 1 released, 2 expired, 3 disconnected, 4 preempted, 5 host reclaimed, 6 rejected; 0 when an observer only saw the holder change) |
TMulticastDelegate<AActor*, int32_t> | OnLeaseDenied | (item, ELeaseDenyReason as an int: 1 held, 2 contested, 3 host held, 4 not leasable, 5 refused) |
Public functions
| Returns | Name | Description |
|---|---|---|
bool | IsTickable | |
void | Tick | |
void | Initialize | |
void | Deinitialize | |
bool | RequestLease | |
bool | ReleaseLease | |
bool | RevokeLease | |
bool | GrantLease | |
int32_t | GetLeaseHolder | |
bool | IsLeasedLocally | |
bool | IsHostHeld | |
float | GetLeaseRemaining |
Function details
IsTickable
C++
bool IsTickable() const overrideTick
C++
void Tick(float deltaSeconds) overrideInitialize
C++
void Initialize(MWorld* world) overrideDeinitialize
C++
void Deinitialize() overrideRequestLease
C++
bool RequestLease(AActor* item, int32_t priorityHint)ReleaseLease
C++
bool ReleaseLease(AActor* item)RevokeLease
C++
bool RevokeLease(AActor* item)GrantLease
C++
bool GrantLease(AActor* item, int32_t peerId, int32_t priority)GetLeaseHolder
C++
int32_t GetLeaseHolder(AActor* item) constIsLeasedLocally
C++
bool IsLeasedLocally(AActor* item) constIsHostHeld
C++
bool IsHostHeld(AActor* item) constGetLeaseRemaining
C++
float GetLeaseRemaining(AActor* item) constGenerated from Game/MAuthorityLeaseSubsystem.h via game.json · Dec 5, 2026Version 1.1.0