C# Class Axiom.Components.Paging.PageProvider

Mostra file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
LoadProcedualPage ( Page page, PagedWorldSection section ) : bool

Give a provider the opportunity to load page content procedurally.

PageProvider ( ) : System

PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

Give a provider the opportunity to prepare page content procedurally.

ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

Get a serialiser set up to read PagedWorld data for the given world filename.

ReadWorldStream ( string fileName ) : StreamSerializer

UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

Give a provider the opportunity to unprepare page content procedurally.

UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool

Give a provider the opportunity to unload page content procedurally.

WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

Method Details

LoadProcedualPage() public method

Give a provider the opportunity to load page content procedurally.
public LoadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
return bool

PageProvider() public method

public PageProvider ( ) : System
return System

PrepareProcedualPage() public method

Give a provider the opportunity to prepare page content procedurally.
public PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
return bool

ReadPageStream() public method

Get a serialiser set up to read PagedWorld data for the given world filename.
public ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
return Axiom.Serialization.StreamSerializer

ReadWorldStream() public method

public ReadWorldStream ( string fileName ) : StreamSerializer
fileName string
return Axiom.Serialization.StreamSerializer

UnPrepareProcedualPage() public method

Give a provider the opportunity to unprepare page content procedurally.
public UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
return bool

UnloadProcedualPage() public method

Give a provider the opportunity to unload page content procedurally.
public UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
return bool

WritePageStream() public method

public WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
return Axiom.Serialization.StreamSerializer