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

#include <User.h>

Inherits MemoryPoolObject.

Public Member Functions

 User ()
 
 User (UnicodeString name, UnsignedInt addr, UnsignedInt port)
 
Useroperator= (const User *other)
 
Bool operator== (const User *other)
 
Bool operator!= (const User *other)
 
UnicodeString GetName ()
 
void setName (UnicodeString name)
 
UnsignedShort GetPort ()
 
UnsignedInt GetIPAddr ()
 
void SetPort (UnsignedShort port)
 
void SetIPAddr (UnsignedInt ipaddr)
 
- Public Member Functions inherited from MemoryPoolObject
void deleteInstance ()
 

Public Attributes

unsigned int flags
 
GroupID group
 
unsigned long reserved
 
unsigned long reserved2
 
unsigned long reserved3
 
unsigned long squadID
 
unsigned long ipaddr
 
unsigned long squad_icon
 
struct User __RPC_FAR * next
 
unsigned char name [10]
 
unsigned char squadname [41]
 
unsigned char squadabbrev [10]
 
Locale locale
 
int team
 

Additional Inherited Members

- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

Definition at line 37 of file User.h.

Constructor & Destructor Documentation

◆ User() [1/2]

User::User ( )
inline

Definition at line 41 of file User.h.

◆ User() [2/2]

User::User ( UnicodeString name,
UnsignedInt addr,
UnsignedInt port )

Constructor. Sets up the member variables with the appropriate values.

Definition at line 35 of file User.cpp.

Member Function Documentation

◆ GetIPAddr()

UnsignedInt User::GetIPAddr ( )
inline

Definition at line 50 of file User.h.

◆ GetName()

UnicodeString User::GetName ( )
inline

Definition at line 47 of file User.h.

◆ GetPort()

UnsignedShort User::GetPort ( )
inline

Definition at line 49 of file User.h.

◆ operator!=()

Bool User::operator!= ( const User * other)

The inequality operator.

Definition at line 64 of file User.cpp.

◆ operator=()

User & User::operator= ( const User * other)

The assignment operator.

Definition at line 44 of file User.cpp.

◆ operator==()

Bool User::operator== ( const User * other)

The equality operator.

Definition at line 56 of file User.cpp.

◆ SetIPAddr()

void User::SetIPAddr ( UnsignedInt ipaddr)
inline

Definition at line 52 of file User.h.

◆ setName()

void User::setName ( UnicodeString name)

Set the name of this user.

Definition at line 72 of file User.cpp.

◆ SetPort()

void User::SetPort ( UnsignedShort port)
inline

Definition at line 51 of file User.h.

Member Data Documentation

◆ flags

unsigned int User::flags

Definition at line 551 of file wolapi.h.

◆ group

GroupID User::group

Definition at line 552 of file wolapi.h.

◆ ipaddr

unsigned long User::ipaddr

Definition at line 557 of file wolapi.h.

◆ locale

Locale User::locale

Definition at line 563 of file wolapi.h.

◆ name

unsigned char User::name[10]

Definition at line 560 of file wolapi.h.

◆ next

struct User __RPC_FAR* User::next

Definition at line 559 of file wolapi.h.

◆ reserved

unsigned long User::reserved

Definition at line 553 of file wolapi.h.

◆ reserved2

unsigned long User::reserved2

Definition at line 554 of file wolapi.h.

◆ reserved3

unsigned long User::reserved3

Definition at line 555 of file wolapi.h.

◆ squad_icon

unsigned long User::squad_icon

Definition at line 558 of file wolapi.h.

◆ squadabbrev

unsigned char User::squadabbrev[10]

Definition at line 562 of file wolapi.h.

◆ squadID

unsigned long User::squadID

Definition at line 556 of file wolapi.h.

◆ squadname

unsigned char User::squadname[41]

Definition at line 561 of file wolapi.h.

◆ team

int User::team

Definition at line 564 of file wolapi.h.


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