C# Class Universe.Framework.SceneInfo.ScenePermissions

ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method 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 method

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
return bool

AllowedIncomingTeleport() public method

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
return bool

AllowedOutgoingLocalTeleport() public method

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
return bool

AllowedOutgoingRemoteTeleport() public method

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
return bool

BypassPermissions() public method

public BypassPermissions ( ) : bool
return bool

CanAbandonParcel() public method

public CanAbandonParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanBuyLand() public method

public CanBuyLand ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanCompileScript() public method

public CanCompileScript ( UUID ownerUUID, string scriptType ) : bool
ownerUUID UUID
scriptType string
return bool

CanControlPrimMedia() public method

public CanControlPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
return bool

CanCopyObjectInventory() public method

public CanCopyObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
return bool

CanCopyUserInventory() public method

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
return bool

CanCreateObjectInventory() public method

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
return bool

CanCreateUserInventory() public method

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
return bool

CanDeedObject() public method

public CanDeedObject ( UUID user, UUID group ) : bool
user UUID
group UUID
return bool

CanDeedParcel() public method

public CanDeedParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanDeleteObject() public method

public CanDeleteObject ( UUID objectID, UUID deleter ) : bool
objectID UUID
deleter UUID
return bool

CanDeleteObjectInventory() public method

public CanDeleteObjectInventory ( UUID itemID, UUID objectID, UUID userID ) : bool
itemID UUID
objectID UUID
userID UUID
return bool

CanDeleteUserInventory() public method

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
return bool

CanDelinkObject() public method

public CanDelinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
return bool

CanDuplicateObject() public method

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

CanEditNotecard() public method

public CanEditNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
return bool

CanEditObject() public method

public CanEditObject ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
return bool

CanEditObjectInventory() public method

public CanEditObjectInventory ( UUID objectID, UUID editorID ) : bool
objectID UUID
editorID UUID
return bool

CanEditParcel() public method

public CanEditParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanEditParcelAccessList() public method

public CanEditParcelAccessList ( UUID uUID, ILandObject land, uint flags ) : bool
uUID UUID
land ILandObject
flags uint
return bool

CanEditParcelProperties() public method

public CanEditParcelProperties ( UUID user, ILandObject parcel, GroupPowers groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers GroupPowers
return bool

CanEditScript() public method

public CanEditScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
return bool

CanEditUserInventory() public method

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
return bool

CanGodTeleport() public method

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

CanInstantMessage() public method

public CanInstantMessage ( UUID user, UUID target ) : bool
user UUID
target UUID
return bool

CanInteractWithPrimMedia() public method

public CanInteractWithPrimMedia ( UUID userID, UUID primID, int face ) : bool
userID UUID
primID UUID
face int
return bool

CanIssueEstateCommand() public method

public CanIssueEstateCommand ( UUID user, bool ownerCommand ) : bool
user UUID
ownerCommand bool
return bool

CanLinkObject() public method

public CanLinkObject ( UUID user, UUID objectID ) : bool
user UUID
objectID UUID
return bool

CanMoveObject() public method

public CanMoveObject ( UUID objectID, UUID moverID ) : bool
objectID UUID
moverID UUID
return bool

CanObjectEntry() public method

public CanObjectEntry ( UUID objectID, bool enteringRegion, System.Vector3 newPoint, UUID OwnerID ) : bool
objectID UUID
enteringRegion bool
newPoint System.Vector3
OwnerID UUID
return bool

CanPushObject() public method

public CanPushObject ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
return bool

CanReclaimParcel() public method

public CanReclaimParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanResetScript() public method

public CanResetScript ( UUID prim, UUID script, UUID user ) : bool
prim UUID
script UUID
user UUID
return bool

CanReturnObjects() public method

public CanReturnObjects ( ILandObject land, UUID user, List objects ) : bool
land ILandObject
user UUID
objects List
return bool

CanRezObject() public method

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

CanRunConsoleCommand() public method

public CanRunConsoleCommand ( UUID user ) : bool
user UUID
return bool

CanRunScript() public method

public CanRunScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
return bool

CanSellParcel() public method

public CanSellParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanSetHome() public method

public CanSetHome ( UUID userID ) : bool
userID UUID
return bool

CanStartScript() public method

public CanStartScript ( UUID script, UUID user ) : bool
script UUID
user UUID
return bool

CanStopScript() public method

public CanStopScript ( UUID script, UUID user ) : bool
script UUID
user UUID
return bool

CanSubdivideParcel() public method

public CanSubdivideParcel ( UUID user, ILandObject parcel ) : bool
user UUID
parcel ILandObject
return bool

CanTakeCopyObject() public method

public CanTakeCopyObject ( UUID objectID, UUID userID ) : bool
objectID UUID
userID UUID
return bool

CanTakeLandmark() public method

public CanTakeLandmark ( UUID user ) : bool
user UUID
return bool

CanTakeObject() public method

public CanTakeObject ( UUID objectID, UUID AvatarTakingUUID ) : bool
objectID UUID
AvatarTakingUUID UUID
return bool

CanTerraformLand() public method

public CanTerraformLand ( UUID user, System.Vector3 pos ) : bool
user UUID
pos System.Vector3
return bool

CanViewNotecard() public method

public CanViewNotecard ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
return bool

CanViewObjectOwners() public method

public CanViewObjectOwners ( UUID uUID, ILandObject targetlandObj ) : bool
uUID UUID
targetlandObj ILandObject
return bool

CanViewScript() public method

public CanViewScript ( UUID script, UUID objectID, UUID user ) : bool
script UUID
objectID UUID
user UUID
return bool

GenerateClientFlags() public method

public GenerateClientFlags ( UUID userID, ISceneChildEntity part ) : uint
userID UUID
part ISceneChildEntity
return uint

GenericParcelPermission() public method

public GenericParcelPermission ( UUID user, ILandObject parcel, ulong groupPowers ) : bool
user UUID
parcel ILandObject
groupPowers ulong
return bool

IsAdministrator() public method

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

IsGod() public method

Checks whether the user is in god mode
public IsGod ( UUID user ) : bool
user UUID
return bool

IsInGroup() public method

public IsInGroup ( UUID user, UUID groupID ) : bool
user UUID
groupID UUID
return bool

PropagatePermissions() public method

public PropagatePermissions ( ) : bool
return bool

ScenePermissions() public method

public ScenePermissions ( IScene scene ) : System
scene IScene
return System

SetBypassPermissions() public method

public SetBypassPermissions ( bool value ) : void
value bool
return void