public interface ITerraTokenManagerProvides the shared Terra Token balance and host-safe additions.
Members
IsAvailableGets whether the Terra Token system is available in the current scene.propertyCountGets the current shared Terra Token balance, or zero when unavailable.propertyAddAsyncAdds shared Terra Tokens to the current host world through the game's server RPC.methodIsAvailable
propertybool IsAvailableGets whether the Terra Token system is available in the current scene.
Count
propertyint CountGets the current shared Terra Token balance, or zero when unavailable.
AddAsync
methodTask<GameplayActionResult> AddAsync(int amount)Adds shared Terra Tokens to the current host world through the game's server RPC.
Terra Tokens belong to the world, not one player's private wallet. This request is host-only, checks overflow, runs on the main thread, and shows the game's native Terra Token popup when accepted.