Nuclide
Software Development Kit for id Tech
prop_door_rotating Class Reference
Inheritance diagram for prop_door_rotating:
NSPointTrigger

Public Member Functions

void prop_door_rotating (void)
 
virtual void Save (float)
 Handles saving a copy of this entity to a given filehandle. More...
 
virtual void Restore (string, string)
 Similar to ::SpawnKey but for save-game fields. More...
 
virtual void Respawn (void)
 Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state. More...
 
virtual void SpawnKey (string, string)
 This method handles entity key/value pairs on map load. More...
 
nonvirtual void Interact (void)
 
nonvirtual void Turn (vector, void(void))
 
nonvirtual void Opened (void)
 
nonvirtual void Closed (void)
 

Constructor & Destructor Documentation

◆ prop_door_rotating()

void prop_door_rotating::prop_door_rotating ( void  )

Member Function Documentation

◆ Closed()

void prop_door_rotating::Closed ( void  )

◆ Interact()

void prop_door_rotating::Interact ( void  )

◆ Opened()

void prop_door_rotating::Opened ( void  )

◆ Respawn()

void prop_door_rotating::Respawn ( void  )
virtual

Server: Called when the entity first spawns or when game-logic requests the entity to return to its original spawn state.

Reimplemented from NSPointTrigger.

◆ Restore()

void prop_door_rotating::Restore ( string  strKey,
string  strValue 
)
virtual

Similar to ::SpawnKey but for save-game fields.

Whatever you write into file handles within your ::Save() method needs to be read back in here.

Reimplemented from NSPointTrigger.

◆ Save()

void prop_door_rotating::Save ( float  handle)
virtual

Handles saving a copy of this entity to a given filehandle.

Within you want to use the ::SaveFloat() etc. methods to write the internal member attributes to the specified file handle.

Reimplemented from NSPointTrigger.

◆ SpawnKey()

void prop_door_rotating::SpawnKey ( string  strKey,
string  strValue 
)
virtual

This method handles entity key/value pairs on map load.

You can easily convert the strValue parameter using the ReadFloat etc. methods that are part of NSIO.

Reimplemented from NSPointTrigger.

◆ Turn()

void prop_door_rotating::Turn ( vector  vecDest,
void(void vFunc 
)

The documentation for this class was generated from the following file: