C# Class Universe.Framework.SceneInfo.ScenePermissions

Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

AllowedIncomingAgent() public méthode

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
Résultat bool

AllowedIncomingTeleport() public méthode

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
Résultat bool

AllowedOutgoingLocalTeleport() public méthode

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
Résultat bool

AllowedOutgoingRemoteTeleport() public méthode

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
Résultat bool

BypassPermissions() public méthode

public BypassPermissions ( ) : bool
Résultat bool

CanAbandonParcel() public méthode

public CanAbandonParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanBuyLand() public méthode

public CanBuyLand ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanCompileScript() public méthode

public CanCompileScript ( UUID ownerUUID, string scriptType ) : bool
ownerUUID UUID
scriptType string
Résultat bool

CanControlPrimMedia() public méthode

public CanControlPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
Résultat bool

CanCopyObjectInventory() public méthode

public CanCopyObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
Résultat bool

CanCopyUserInventory() public méthode

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
Résultat bool

CanCreateObjectInventory() public méthode

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
Résultat bool

CanCreateUserInventory() public méthode

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
Résultat bool

CanDeedObject() public méthode

public CanDeedObject ( UUID user, UUID group ) : bool
user UUID
group UUID
Résultat bool

CanDeedParcel() public méthode

public CanDeedParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanDeleteObject() public méthode

public CanDeleteObject ( UUID objectID, UUID deleter ) : bool
objectID UUID
deleter UUID
Résultat bool

CanDeleteObjectInventory() public méthode

public CanDeleteObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
Résultat bool

CanDeleteUserInventory() public méthode

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
Résultat bool

CanDelinkObject() public méthode

public CanDelinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
Résultat bool

CanDuplicateObject() public méthode

public CanDuplicateObject ( int objectCount, UUID objectID, UUID owner, System.Vector3 objectPosition ) : bool
objectCount int
objectID UUID
owner UUID
objectPosition System.Vector3
Résultat bool

CanEditNotecard() public méthode

public CanEditNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Résultat bool

CanEditObject() public méthode

public CanEditObject ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
Résultat bool

CanEditObjectInventory() public méthode

public CanEditObjectInventory ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
Résultat bool

CanEditParcel() public méthode

public CanEditParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanEditParcelAccessList() public méthode

public CanEditParcelAccessList ( UUID uUID, ILandObject land, uint flags ) : bool
uUID UUID
land ILandObject
flags uint
Résultat bool

CanEditParcelProperties() public méthode

public CanEditParcelProperties ( UUID user, ILandObject parcel, GroupPowers groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers GroupPowers
Résultat bool

CanEditScript() public méthode

public CanEditScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Résultat bool

CanEditUserInventory() public méthode

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
Résultat bool

CanGodTeleport() public méthode

Checks whether the user is in god mode
public CanGodTeleport ( UUID user, UUID target ) : bool
user UUID
target UUID
Résultat bool

CanInstantMessage() public méthode

public CanInstantMessage ( UUID user, UUID target ) : bool
user UUID
target UUID
Résultat bool

CanInteractWithPrimMedia() public méthode

public CanInteractWithPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
Résultat bool

CanIssueEstateCommand() public méthode

public CanIssueEstateCommand ( UUID user, bool ownerCommand ) : bool
user UUID
ownerCommand bool
Résultat bool

CanLinkObject() public méthode

public CanLinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
Résultat bool

CanMoveObject() public méthode

public CanMoveObject ( UUID objectID, UUID moverID ) : bool
objectID UUID
moverID UUID
Résultat bool

CanObjectEntry() public méthode

public CanObjectEntry ( UUID objectID, bool enteringRegion, System.Vector3 newPoint, UUID OwnerID ) : bool
objectID UUID
enteringRegion bool
newPoint System.Vector3
OwnerID UUID
Résultat bool

CanPushObject() public méthode

public CanPushObject ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
Résultat bool

CanReclaimParcel() public méthode

public CanReclaimParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanResetScript() public méthode

public CanResetScript ( UUID prim, UUID script, UUID user ) : bool
prim UUID
script UUID
user UUID
Résultat bool

CanReturnObjects() public méthode

public CanReturnObjects ( ILandObject land, UUID user, List objects ) : bool
land ILandObject
user UUID
objects List
Résultat bool

CanRezObject() public méthode

public CanRezObject ( int objectCount, UUID owner, System.Vector3 objectPosition, string &reason ) : bool
objectCount int
owner UUID
objectPosition System.Vector3
reason string
Résultat bool

CanRunConsoleCommand() public méthode

public CanRunConsoleCommand ( UUID user ) : bool
user UUID
Résultat bool

CanRunScript() public méthode

public CanRunScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Résultat bool

CanSellParcel() public méthode

public CanSellParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanSetHome() public méthode

public CanSetHome ( UUID userID ) : bool
userID UUID
Résultat bool

CanStartScript() public méthode

public CanStartScript ( UUID script, UUID user ) : bool
script UUID
user UUID
Résultat bool

CanStopScript() public méthode

public CanStopScript ( UUID script, UUID user ) : bool
script UUID
user UUID
Résultat bool

CanSubdivideParcel() public méthode

public CanSubdivideParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
Résultat bool

CanTakeCopyObject() public méthode

public CanTakeCopyObject ( UUID objectID, UUID userID ) : bool
objectID UUID
userID UUID
Résultat bool

CanTakeLandmark() public méthode

public CanTakeLandmark ( UUID user ) : bool
user UUID
Résultat bool

CanTakeObject() public méthode

public CanTakeObject ( UUID objectID, UUID AvatarTakingUUID ) : bool
objectID UUID
AvatarTakingUUID UUID
Résultat bool

CanTerraformLand() public méthode

public CanTerraformLand ( UUID user, System.Vector3 pos ) : bool
user UUID
pos System.Vector3
Résultat bool

CanViewNotecard() public méthode

public CanViewNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Résultat bool

CanViewObjectOwners() public méthode

public CanViewObjectOwners ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
Résultat bool

CanViewScript() public méthode

public CanViewScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
Résultat bool

GenerateClientFlags() public méthode

public GenerateClientFlags ( UUID userID, ISceneChildEntity part ) : uint
userID UUID
part ISceneChildEntity
Résultat uint

GenericParcelPermission() public méthode

public GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers ulong
Résultat bool

IsAdministrator() public méthode

Checks whether the user can be in god mode
public IsAdministrator ( UUID user ) : bool
user UUID
Résultat bool

IsGod() public méthode

Checks whether the user is in god mode
public IsGod ( UUID user ) : bool
user UUID
Résultat bool

IsInGroup() public méthode

public IsInGroup ( UUID user, UUID groupID ) : bool
user UUID
groupID UUID
Résultat bool

PropagatePermissions() public méthode

public PropagatePermissions ( ) : bool
Résultat bool

ScenePermissions() public méthode

public ScenePermissions ( IScene scene ) : System
scene IScene
Résultat System

SetBypassPermissions() public méthode

public SetBypassPermissions ( bool value ) : void
value bool
Résultat void