Panda3D
|
Records the version number of a particular client. More...
#include "pStatClientVersion.h"
Public Member Functions | |
int | get_major_version () const |
int | get_minor_version () const |
bool | is_at_least (int major_version, int minor_version) const |
Returns true if the client version is at least the indicated major/minor version number, false otherwise. | |
void | set_version (int major_version, int minor_version) |
Records the version number of a particular client.
Normally this will be the same as get_current_pstat_major/minor_version().
Definition at line 29 of file pStatClientVersion.h.
bool PStatClientVersion::is_at_least | ( | int | major_version, |
int | minor_version | ||
) | const [inline] |
Returns true if the client version is at least the indicated major/minor version number, false otherwise.
Definition at line 55 of file pStatClientVersion.I.