Simulator::IGameDataView class

Derived classes

class cSpatialObjectView

Constructors, destructors, conversion operators

~IGameDataView() pure virtual

Public functions

auto Update(int deltaTime, int deltaGameTime) -> void pure virtual
auto Create(cGameData* pObject) -> IGameDataView* pure virtual
Creates an game data view instance for the given object.
auto func0Ch() -> cGameData* pure virtual
auto func10h(bool) -> void pure virtual
auto func14h() -> bool pure virtual
auto SetVisible(bool visible) -> void pure virtual
auto IsVisible() -> bool pure virtual
auto func20h() -> cGameData* pure virtual
auto SetObject(cGameData* pObject) -> void pure virtual
Sets the object, and if the object has a model it sets the object as the model's owner.
auto func28h(Object* pObject, Graphics::IModelWorld* pModelWorld, const ResourceKey& modelKey, const ColorRGB& arg_C) -> void pure virtual
auto GetModel() -> Graphics::Model* pure virtual
auto SetModel(Graphics::Model* pModel, Graphics::IModelWorld* pModelWorld) -> void pure virtual

Function documentation

IGameDataView* Simulator::IGameDataView::Create(cGameData* pObject) pure virtual

Creates an game data view instance for the given object.

Parameters
pObject

This should only be called on the master instance (which is cGameViewManager responsability).

void Simulator::IGameDataView::SetObject(cGameData* pObject) pure virtual

Sets the object, and if the object has a model it sets the object as the model's owner.

Parameters
pObject