C# Class WhiteCore.Modules.AbuseReports.AbuseReportsModule

Enables the saving of abuse reports to the database
Inheritance: INonSharedRegionModule
Exibir arquivo Open project: WhiteCoreSim/WhiteCore-Dev

Public Methods

Method Description
AbuseTextureUploaded ( UUID agentID, UUID assetID, byte data ) : void
AddRegion ( IScene scene ) : void
Close ( ) : void
Initialise ( IConfigSource source ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
findScenePresence ( UUID avID ) : IScenePresence

Private Methods

Method Description
OnClosingClient ( IClientAPI client ) : void
OnNewClient ( IClientAPI client ) : void
OnRegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap
ProcessSendUserReportWithScreenshot ( UUID agentID, string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
UserReport ( IClientAPI client, string regionName, UUID abuserID, byte catagory, byte checkflags, string details, UUID objectID, System.Vector3 position, byte reportType, UUID screenshotID, string summery, UUID reporter ) : void

This deals with saving the report into the database.

Method Details

AbuseTextureUploaded() public method

public AbuseTextureUploaded ( UUID agentID, UUID assetID, byte data ) : void
agentID UUID
assetID UUID
data byte
return void

AddRegion() public method

public AddRegion ( IScene scene ) : void
scene IScene
return void

Close() public method

public Close ( ) : void
return void

Initialise() public method

public Initialise ( IConfigSource source ) : void
source IConfigSource
return void

RegionLoaded() public method

public RegionLoaded ( IScene scene ) : void
scene IScene
return void

RemoveRegion() public method

public RemoveRegion ( IScene scene ) : void
scene IScene
return void

findScenePresence() public method

public findScenePresence ( UUID avID ) : IScenePresence
avID UUID
return IScenePresence