C# Class ALFA.Shared.CampaignDatabase.CampaignDatabaseHook

Wrapper class to manage the campaign database hook with cleanup. Only a single instance should exist.
Inheritance: IDisposable
Show file Open project: ALandFarAway/ALFA-Base-Resources

Public Methods

Method Description
Dispose ( ) : void

Dispose the object.

Private Methods

Method Description
AddBinaryDataHook ( IntPtr CodeBaseObject, IntPtr CampaignName, IntPtr VarName, IntPtr PlayerName, Byte Cls, IntPtr Data, UInt32 Size ) : Int32

StoreCampaignObject hook. Called when the server script function StoreCampaignObject is called by any script.

CampaignDatabaseHook ( ) : System

Constructor.

Dispose ( bool Disposing ) : void

Dispose the object.

GetBinaryDataHook ( IntPtr CodeBaseObject, IntPtr CampaignName, IntPtr VarName, IntPtr PlayerName, Byte &Cls, UInt32 &Size ) : IntPtr

RetrieveCampaignObject hook. Called when the server script function RetrieveCampaignObject is called by any script.

Method Details

Dispose() public method

Dispose the object.
public Dispose ( ) : void
return void