C# Класс Axiom.Components.Paging.PageManager

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
mCameraList List
mContentCollectionFactories IPageContentCollectionFactory>.Dictionary
mContentFactories IPageContentFactory>.Dictionary
mDebugDisplayLvl uint
mEventRouter EventRouter
mGrid2DPageStrategy Grid2PageStrategy
mPageProvider PageProvider
mPageResourceGroup string
mQueue PageRequestQueue
mSimpleCollectionFactory SimplePageContentCollectionFactory
mStrategies PageStrategy>.Dictionary
mWorldNameGenerator NameGenerator
mWorlds PageWorld>.Dictionary

Открытые методы

Метод Описание
AddCamera ( Camera c ) : void

AddContentCollectionFactory ( IPageContentCollectionFactory f ) : void

AddContentFactory ( IPageContentFactory f ) : void

AddStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void

AttachWorld ( PageWorld world ) : void

Attach a pre-created PagedWorld instance to this manager.

CreateContent ( string typeName ) : PageContent

CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection

CreateWorld ( ) : PageWorld

CreateWorld ( string name ) : PageWorld

Create a new PagedWorld instance.

DestroyContent ( PageContent c ) : void

DestroyContentenCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void

DestroyWorld ( PageWorld world ) : void

Destroy a world.

DestroyWorld ( string name ) : void

Destroy a world.

DetachWorld ( PageWorld world ) : void

Detach a PagedWorld instance from this manager (note: the caller then becomes responsible for the correct destruction of this instance)

GetContentCollectionFactory ( string name ) : IPageContentCollectionFactory

GetContentFactory ( string name ) : IPageContentFactory

GetStrategy ( string stratName ) : Axiom.Components.Paging.PageStrategy

GetWorld ( string name ) : PageWorld

HasCamera ( Camera c ) : bool

LoadProcedualPage ( Page page, PagedWorldSection section ) : bool

LoadWorld ( Stream stream ) : PageWorld

LoadWorld ( Stream stream, string name ) : PageWorld

LoadWorld ( string fileName ) : PageWorld

LoadWorld ( string fileName, string name ) : PageWorld

PageManager ( ) : System

The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.

PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

ReadWorldStream ( string fileName ) : StreamSerializer

RemoveCamera ( Camera c ) : void

RemoveContentCollectionFactory ( IPageContentCollectionFactory f ) : void

RemoveContentFactory ( IPageContentFactory f ) : void

RemoveStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void

SaveWorld ( PageWorld world, Stream stream ) : void

SaveWorld ( PageWorld world, string fileName ) : void

UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool

UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool

WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer

WriteWorldStream ( string fileName ) : StreamSerializer

Защищенные методы

Метод Описание
CreateStandardContentFactories ( ) : void

CreateStandardStrategies ( ) : void

Описание методов

AddCamera() публичный метод

public AddCamera ( Camera c ) : void
c Axiom.Core.Camera
Результат void

AddContentCollectionFactory() публичный метод

public AddContentCollectionFactory ( IPageContentCollectionFactory f ) : void
f IPageContentCollectionFactory
Результат void

AddContentFactory() публичный метод

public AddContentFactory ( IPageContentFactory f ) : void
f IPageContentFactory
Результат void

AddStrategy() публичный метод

public AddStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void
strategy Axiom.Components.Paging.PageStrategy
Результат void

AttachWorld() публичный метод

Attach a pre-created PagedWorld instance to this manager.
public AttachWorld ( PageWorld world ) : void
world PageWorld
Результат void

CreateContent() публичный метод

public CreateContent ( string typeName ) : PageContent
typeName string
Результат PageContent

CreateContentCollection() публичный метод

public CreateContentCollection ( string typeName ) : Axiom.Components.Paging.PageContentCollection
typeName string
Результат Axiom.Components.Paging.PageContentCollection

CreateStandardContentFactories() защищенный метод

protected CreateStandardContentFactories ( ) : void
Результат void

CreateStandardStrategies() защищенный метод

protected CreateStandardStrategies ( ) : void
Результат void

CreateWorld() публичный метод

public CreateWorld ( ) : PageWorld
Результат PageWorld

CreateWorld() публичный метод

Create a new PagedWorld instance.
public CreateWorld ( string name ) : PageWorld
name string name Optionally give a name to the world (if no name is given, one /// will be generated).
Результат PageWorld

DestroyContent() публичный метод

public DestroyContent ( PageContent c ) : void
c PageContent
Результат void

DestroyContentenCollection() публичный метод

public DestroyContentenCollection ( Axiom.Components.Paging.PageContentCollection coll ) : void
coll Axiom.Components.Paging.PageContentCollection
Результат void

DestroyWorld() публичный метод

Destroy a world.
public DestroyWorld ( PageWorld world ) : void
world PageWorld
Результат void

DestroyWorld() публичный метод

Destroy a world.
public DestroyWorld ( string name ) : void
name string
Результат void

DetachWorld() публичный метод

Detach a PagedWorld instance from this manager (note: the caller then becomes responsible for the correct destruction of this instance)
public DetachWorld ( PageWorld world ) : void
world PageWorld
Результат void

GetContentCollectionFactory() публичный метод

public GetContentCollectionFactory ( string name ) : IPageContentCollectionFactory
name string
Результат IPageContentCollectionFactory

GetContentFactory() публичный метод

public GetContentFactory ( string name ) : IPageContentFactory
name string
Результат IPageContentFactory

GetStrategy() публичный метод

public GetStrategy ( string stratName ) : Axiom.Components.Paging.PageStrategy
stratName string
Результат Axiom.Components.Paging.PageStrategy

GetWorld() публичный метод

public GetWorld ( string name ) : PageWorld
name string
Результат PageWorld

HasCamera() публичный метод

public HasCamera ( Camera c ) : bool
c Axiom.Core.Camera
Результат bool

LoadProcedualPage() публичный метод

public LoadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Результат bool

LoadWorld() публичный метод

public LoadWorld ( Stream stream ) : PageWorld
stream Stream
Результат PageWorld

LoadWorld() публичный метод

public LoadWorld ( Stream stream, string name ) : PageWorld
stream Stream
name string
Результат PageWorld

LoadWorld() публичный метод

public LoadWorld ( string fileName ) : PageWorld
fileName string
Результат PageWorld

LoadWorld() публичный метод

public LoadWorld ( string fileName, string name ) : PageWorld
fileName string
name string
Результат PageWorld

PageManager() публичный метод

The PageManager is the entry point through which you load all PagedWorld instances, and the place where PageStrategy instances and factory classes are registered to customise the paging behaviour.
public PageManager ( ) : System
Результат System

PrepareProcedualPage() публичный метод

public PrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Результат bool

ReadPageStream() публичный метод

public ReadPageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
Результат Axiom.Serialization.StreamSerializer

ReadWorldStream() публичный метод

public ReadWorldStream ( string fileName ) : StreamSerializer
fileName string
Результат Axiom.Serialization.StreamSerializer

RemoveCamera() публичный метод

public RemoveCamera ( Camera c ) : void
c Axiom.Core.Camera
Результат void

RemoveContentCollectionFactory() публичный метод

public RemoveContentCollectionFactory ( IPageContentCollectionFactory f ) : void
f IPageContentCollectionFactory
Результат void

RemoveContentFactory() публичный метод

public RemoveContentFactory ( IPageContentFactory f ) : void
f IPageContentFactory
Результат void

RemoveStrategy() публичный метод

public RemoveStrategy ( Axiom.Components.Paging.PageStrategy strategy ) : void
strategy Axiom.Components.Paging.PageStrategy
Результат void

SaveWorld() публичный метод

public SaveWorld ( PageWorld world, Stream stream ) : void
world PageWorld
stream Stream
Результат void

SaveWorld() публичный метод

public SaveWorld ( PageWorld world, string fileName ) : void
world PageWorld
fileName string
Результат void

UnPrepareProcedualPage() публичный метод

public UnPrepareProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Результат bool

UnloadProcedualPage() публичный метод

public UnloadProcedualPage ( Page page, PagedWorldSection section ) : bool
page Page
section PagedWorldSection
Результат bool

WritePageStream() публичный метод

public WritePageStream ( PageID pageId, PagedWorldSection section ) : StreamSerializer
pageId PageID
section PagedWorldSection
Результат Axiom.Serialization.StreamSerializer

WriteWorldStream() публичный метод

public WriteWorldStream ( string fileName ) : StreamSerializer
fileName string
Результат Axiom.Serialization.StreamSerializer

Описание свойств

mCameraList защищенное свойство

protected List mCameraList
Результат List

mContentCollectionFactories защищенное свойство

protected Dictionary mContentCollectionFactories
Результат IPageContentCollectionFactory>.Dictionary

mContentFactories защищенное свойство

protected Dictionary mContentFactories
Результат IPageContentFactory>.Dictionary

mDebugDisplayLvl защищенное свойство

protected uint mDebugDisplayLvl
Результат uint

mEventRouter защищенное свойство

protected EventRouter mEventRouter
Результат EventRouter

mGrid2DPageStrategy защищенное свойство

protected Grid2PageStrategy,Axiom.Components.Paging mGrid2DPageStrategy
Результат Grid2PageStrategy

mPageProvider защищенное свойство

protected PageProvider,Axiom.Components.Paging mPageProvider
Результат PageProvider

mPageResourceGroup защищенное свойство

protected string mPageResourceGroup
Результат string

mQueue защищенное свойство

protected PageRequestQueue,Axiom.Components.Paging mQueue
Результат PageRequestQueue

mSimpleCollectionFactory защищенное свойство

protected SimplePageContentCollectionFactory,Axiom.Components.Paging mSimpleCollectionFactory
Результат SimplePageContentCollectionFactory

mStrategies защищенное свойство

protected Dictionary mStrategies
Результат PageStrategy>.Dictionary

mWorldNameGenerator защищенное свойство

protected NameGenerator mWorldNameGenerator
Результат NameGenerator

mWorlds защищенное свойство

protected Dictionary mWorlds
Результат PageWorld>.Dictionary