Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MissionStats Class Reference

#include <MissionStats.h>

Inherits Snapshot.

Public Member Functions

 MissionStats ()
 
void init ()
 reset all stats to "nothing".
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Protected Member Functions

virtual void crc (Xfer *xfer)
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 

Detailed Description

Class that accumulates stats during a mission. Some of this will be for scoring purposes, and some will probably be used by AI to determine future moves.

Todo
: not sure what need to be here. Alas. For now, I have just put in the fields from RA2 that are indicated as being used for scoring in multiplayer games, so this will certainly increase.

Definition at line 63 of file MissionStats.h.

Constructor & Destructor Documentation

◆ MissionStats()

MissionStats::MissionStats ( )

Definition at line 52 of file MissionStats.cpp.

Member Function Documentation

◆ crc()

void MissionStats::crc ( Xfer * xfer)
protectedvirtual

CRC

Implements Snapshot.

Definition at line 75 of file MissionStats.cpp.

◆ init()

void MissionStats::init ( )

reset all stats to "nothing".

Definition at line 58 of file MissionStats.cpp.

◆ loadPostProcess()

void MissionStats::loadPostProcess ( void )
protectedvirtual

Load post process

Implements Snapshot.

Definition at line 110 of file MissionStats.cpp.

◆ xfer()

void MissionStats::xfer ( Xfer * xfer)
protectedvirtual

Xfer method Version Info; 1: Initial version

Implements Snapshot.

Definition at line 85 of file MissionStats.cpp.


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