C# Класс Universe.Framework.SceneInfo.ScenePermissions

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AllowedIncomingAgent ( AgentCircuitData agent, bool isRootAgent, string &reason ) : bool

Check to make sure this user has the ability to have an agent in this region. This checks whether they exist in the grid, whether they are banned from the region and more. It is called by the SimulationService in CreateAgent mainly.

AllowedIncomingTeleport ( UUID userID, System.Vector3 Position, uint TeleportFlags, System.Vector3 &newPosition, string &reason ) : bool

Check to see whether the user is actually in this region and then figure out if they can be where they want to be

AllowedOutgoingLocalTeleport ( UUID userID, string &reason ) : bool

Check to make sure the user is allowed to teleport within this region

AllowedOutgoingRemoteTeleport ( UUID userID, string &reason ) : bool

Check to make sure the user can be teleporting out of the region to a remote region. If this is false, the user is denied the ability to leave the region at all.

BypassPermissions ( ) : bool
CanAbandonParcel ( UUID user, ILandObject parcel ) : bool
CanBuyLand ( UUID user, ILandObject parcel ) : bool
CanCompileScript ( UUID ownerUUID, string scriptType ) : bool
CanControlPrimMedia ( UUID userID, UUID primID, int face ) : bool
CanCopyObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
CanCopyUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to copy the given inventory item from their own inventory.

CanCreateObjectInventory ( int invType, UUID objectID, UUID userID ) : bool

Check whether the specified user is allowed to directly create the given inventory type in a prim's inventory (e.g. the New Script button in the 1.21 Linden Lab client).

CanCreateUserInventory ( int invType, UUID userID ) : bool

Check whether the specified user is allowed to create the given inventory type in their inventory.

CanDeedObject ( UUID user, UUID group ) : bool
CanDeedParcel ( UUID user, ILandObject parcel ) : bool
CanDeleteObject ( UUID objectID, UUID deleter ) : bool
CanDeleteObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
CanDeleteUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to edit the given inventory item within their own inventory.

CanDelinkObject ( UUID user, UUID objectID ) : bool
CanDuplicateObject ( int objectCount, UUID objectID, UUID owner, System.Vector3 objectPosition ) : bool
CanEditNotecard ( UUID script, UUID objectID, UUID user ) : bool
CanEditObject ( UUID objectID, UUID editorID ) : bool
CanEditObjectInventory ( UUID objectID, UUID editorID ) : bool
CanEditParcel ( UUID user, ILandObject parcel ) : bool
CanEditParcelAccessList ( UUID uUID, ILandObject land, uint flags ) : bool
CanEditParcelProperties ( UUID user, ILandObject parcel, GroupPowers groupPowers ) : bool
CanEditScript ( UUID script, UUID objectID, UUID user ) : bool
CanEditUserInventory ( UUID itemID, UUID userID ) : bool

Check whether the specified user is allowed to edit the given inventory item within their own inventory.

CanGodTeleport ( UUID user, UUID target ) : bool

Checks whether the user is in god mode

CanInstantMessage ( UUID user, UUID target ) : bool
CanInteractWithPrimMedia ( UUID userID, UUID primID, int face ) : bool
CanIssueEstateCommand ( UUID user, bool ownerCommand ) : bool
CanLinkObject ( UUID user, UUID objectID ) : bool
CanMoveObject ( UUID objectID, UUID moverID ) : bool
CanObjectEntry ( UUID objectID, bool enteringRegion, System.Vector3 newPoint, UUID OwnerID ) : bool
CanPushObject ( UUID uUID, ILandObject targetlandObj ) : bool
CanReclaimParcel ( UUID user, ILandObject parcel ) : bool
CanResetScript ( UUID prim, UUID script, UUID user ) : bool
CanReturnObjects ( ILandObject land, UUID user, List objects ) : bool
CanRezObject ( int objectCount, UUID owner, System.Vector3 objectPosition, string &reason ) : bool
CanRunConsoleCommand ( UUID user ) : bool
CanRunScript ( UUID script, UUID objectID, UUID user ) : bool
CanSellParcel ( UUID user, ILandObject parcel ) : bool
CanSetHome ( UUID userID ) : bool
CanStartScript ( UUID script, UUID user ) : bool
CanStopScript ( UUID script, UUID user ) : bool
CanSubdivideParcel ( UUID user, ILandObject parcel ) : bool
CanTakeCopyObject ( UUID objectID, UUID userID ) : bool
CanTakeLandmark ( UUID user ) : bool
CanTakeObject ( UUID objectID, UUID AvatarTakingUUID ) : bool
CanTerraformLand ( UUID user, System.Vector3 pos ) : bool
CanViewNotecard ( UUID script, UUID objectID, UUID user ) : bool
CanViewObjectOwners ( UUID uUID, ILandObject targetlandObj ) : bool
CanViewScript ( UUID script, UUID objectID, UUID user ) : bool
GenerateClientFlags ( UUID userID, ISceneChildEntity part ) : uint
GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
IsAdministrator ( UUID user ) : bool

Checks whether the user can be in god mode

IsGod ( UUID user ) : bool

Checks whether the user is in god mode

IsInGroup ( UUID user, UUID groupID ) : bool
PropagatePermissions ( ) : bool
ScenePermissions ( IScene scene ) : System
SetBypassPermissions ( bool value ) : void

Описание методов

AllowedIncomingAgent() публичный Метод

Check to make sure this user has the ability to have an agent in this region. This checks whether they exist in the grid, whether they are banned from the region and more. It is called by the SimulationService in CreateAgent mainly.
public AllowedIncomingAgent ( AgentCircuitData agent, bool isRootAgent, string &reason ) : bool
agent Universe.Framework.PresenceInfo.AgentCircuitData The Agent that is coming in
isRootAgent bool Whether this agent will be a root agent
reason string If it fails, this explains why they cannot enter
Результат bool

AllowedIncomingTeleport() публичный Метод

Check to see whether the user is actually in this region and then figure out if they can be where they want to be
public AllowedIncomingTeleport ( UUID userID, System.Vector3 Position, uint TeleportFlags, System.Vector3 &newPosition, string &reason ) : bool
userID UUID The user who is teleporting (can be either incoming from a remote region, or a local teleport)
Position System.Vector3 The position the user has requested
TeleportFlags uint
newPosition System.Vector3 The position the user is going to get
reason string If the check fails, this will tell why
Результат bool

AllowedOutgoingLocalTeleport() публичный Метод

Check to make sure the user is allowed to teleport within this region
public AllowedOutgoingLocalTeleport ( UUID userID, string &reason ) : bool
userID UUID The user that is attempting to leave
reason string If this check fails, this is the reason why
Результат bool

AllowedOutgoingRemoteTeleport() публичный Метод

Check to make sure the user can be teleporting out of the region to a remote region. If this is false, the user is denied the ability to leave the region at all.
public AllowedOutgoingRemoteTeleport ( UUID userID, string &reason ) : bool
userID UUID The user that is attempting to leave the region
reason string If this fails, this explains why it failed
Результат bool

BypassPermissions() публичный Метод

public BypassPermissions ( ) : bool
Результат bool

CanAbandonParcel() публичный Метод

public CanAbandonParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanBuyLand() публичный Метод

public CanBuyLand ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanCompileScript() публичный Метод

public CanCompileScript ( UUID ownerUUID, string scriptType ) : bool
ownerUUID UUID
scriptType string
Результат bool

CanControlPrimMedia() публичный Метод

public CanControlPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
Результат bool

CanCopyObjectInventory() публичный Метод

public CanCopyObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
Результат bool

CanCopyUserInventory() публичный Метод

Check whether the specified user is allowed to copy the given inventory item from their own inventory.
public CanCopyUserInventory ( UUID itemID, UUID userID ) : bool
itemID UUID
userID UUID
Результат bool

CanCreateObjectInventory() публичный Метод

Check whether the specified user is allowed to directly create the given inventory type in a prim's inventory (e.g. the New Script button in the 1.21 Linden Lab client).
public CanCreateObjectInventory ( int invType, UUID objectID, UUID userID ) : bool
invType int
objectID UUID
userID UUID
Результат bool

CanCreateUserInventory() публичный Метод

Check whether the specified user is allowed to create the given inventory type in their inventory.
public CanCreateUserInventory ( int invType, UUID userID ) : bool
invType int
userID UUID
Результат bool

CanDeedObject() публичный Метод

public CanDeedObject ( UUID user, UUID group ) : bool
user UUID
group UUID
Результат bool

CanDeedParcel() публичный Метод

public CanDeedParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanDeleteObject() публичный Метод

public CanDeleteObject ( UUID objectID, UUID deleter ) : bool
objectID UUID
deleter UUID
Результат bool

CanDeleteObjectInventory() публичный Метод

public CanDeleteObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
Результат bool

CanDeleteUserInventory() публичный Метод

Check whether the specified user is allowed to edit the given inventory item within their own inventory.
public CanDeleteUserInventory ( UUID itemID, UUID userID ) : bool
itemID UUID
userID UUID
Результат bool

CanDelinkObject() публичный Метод

public CanDelinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
Результат bool

CanDuplicateObject() публичный Метод

public CanDuplicateObject ( int objectCount, UUID objectID, UUID owner, System.Vector3 objectPosition ) : bool
objectCount int
objectID UUID
owner UUID
objectPosition System.Vector3
Результат bool

CanEditNotecard() публичный Метод

public CanEditNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Результат bool

CanEditObject() публичный Метод

public CanEditObject ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
Результат bool

CanEditObjectInventory() публичный Метод

public CanEditObjectInventory ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
Результат bool

CanEditParcel() публичный Метод

public CanEditParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanEditParcelAccessList() публичный Метод

public CanEditParcelAccessList ( UUID uUID, ILandObject land, uint flags ) : bool
uUID UUID
land ILandObject
flags uint
Результат bool

CanEditParcelProperties() публичный Метод

public CanEditParcelProperties ( UUID user, ILandObject parcel, GroupPowers groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers GroupPowers
Результат bool

CanEditScript() публичный Метод

public CanEditScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Результат bool

CanEditUserInventory() публичный Метод

Check whether the specified user is allowed to edit the given inventory item within their own inventory.
public CanEditUserInventory ( UUID itemID, UUID userID ) : bool
itemID UUID
userID UUID
Результат bool

CanGodTeleport() публичный Метод

Checks whether the user is in god mode
public CanGodTeleport ( UUID user, UUID target ) : bool
user UUID
target UUID
Результат bool

CanInstantMessage() публичный Метод

public CanInstantMessage ( UUID user, UUID target ) : bool
user UUID
target UUID
Результат bool

CanInteractWithPrimMedia() публичный Метод

public CanInteractWithPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
Результат bool

CanIssueEstateCommand() публичный Метод

public CanIssueEstateCommand ( UUID user, bool ownerCommand ) : bool
user UUID
ownerCommand bool
Результат bool

CanLinkObject() публичный Метод

public CanLinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
Результат bool

CanMoveObject() публичный Метод

public CanMoveObject ( UUID objectID, UUID moverID ) : bool
objectID UUID
moverID UUID
Результат bool

CanObjectEntry() публичный Метод

public CanObjectEntry ( UUID objectID, bool enteringRegion, System.Vector3 newPoint, UUID OwnerID ) : bool
objectID UUID
enteringRegion bool
newPoint System.Vector3
OwnerID UUID
Результат bool

CanPushObject() публичный Метод

public CanPushObject ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
Результат bool

CanReclaimParcel() публичный Метод

public CanReclaimParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanResetScript() публичный Метод

public CanResetScript ( UUID prim, UUID script, UUID user ) : bool
prim UUID
script UUID
user UUID
Результат bool

CanReturnObjects() публичный Метод

public CanReturnObjects ( ILandObject land, UUID user, List objects ) : bool
land ILandObject
user UUID
objects List
Результат bool

CanRezObject() публичный Метод

public CanRezObject ( int objectCount, UUID owner, System.Vector3 objectPosition, string &reason ) : bool
objectCount int
owner UUID
objectPosition System.Vector3
reason string
Результат bool

CanRunConsoleCommand() публичный Метод

public CanRunConsoleCommand ( UUID user ) : bool
user UUID
Результат bool

CanRunScript() публичный Метод

public CanRunScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Результат bool

CanSellParcel() публичный Метод

public CanSellParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanSetHome() публичный Метод

public CanSetHome ( UUID userID ) : bool
userID UUID
Результат bool

CanStartScript() публичный Метод

public CanStartScript ( UUID script, UUID user ) : bool
script UUID
user UUID
Результат bool

CanStopScript() публичный Метод

public CanStopScript ( UUID script, UUID user ) : bool
script UUID
user UUID
Результат bool

CanSubdivideParcel() публичный Метод

public CanSubdivideParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Результат bool

CanTakeCopyObject() публичный Метод

public CanTakeCopyObject ( UUID objectID, UUID userID ) : bool
objectID UUID
userID UUID
Результат bool

CanTakeLandmark() публичный Метод

public CanTakeLandmark ( UUID user ) : bool
user UUID
Результат bool

CanTakeObject() публичный Метод

public CanTakeObject ( UUID objectID, UUID AvatarTakingUUID ) : bool
objectID UUID
AvatarTakingUUID UUID
Результат bool

CanTerraformLand() публичный Метод

public CanTerraformLand ( UUID user, System.Vector3 pos ) : bool
user UUID
pos System.Vector3
Результат bool

CanViewNotecard() публичный Метод

public CanViewNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Результат bool

CanViewObjectOwners() публичный Метод

public CanViewObjectOwners ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
Результат bool

CanViewScript() публичный Метод

public CanViewScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Результат bool

GenerateClientFlags() публичный Метод

public GenerateClientFlags ( UUID userID, ISceneChildEntity part ) : uint
userID UUID
part ISceneChildEntity
Результат uint

GenericParcelPermission() публичный Метод

public GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers ulong
Результат bool

IsAdministrator() публичный Метод

Checks whether the user can be in god mode
public IsAdministrator ( UUID user ) : bool
user UUID
Результат bool

IsGod() публичный Метод

Checks whether the user is in god mode
public IsGod ( UUID user ) : bool
user UUID
Результат bool

IsInGroup() публичный Метод

public IsInGroup ( UUID user, UUID groupID ) : bool
user UUID
groupID UUID
Результат bool

PropagatePermissions() публичный Метод

public PropagatePermissions ( ) : bool
Результат bool

ScenePermissions() публичный Метод

public ScenePermissions ( IScene scene ) : System
scene IScene
Результат System

SetBypassPermissions() публичный Метод

public SetBypassPermissions ( bool value ) : void
value bool
Результат void