Crossfire Server, Trunk  1.75.0
knowledge_player Struct Reference

Information about a player. More...

+ Collaboration diagram for knowledge_player:

Data Fields

int item_allocated
 How many items are allocated for items. More...
 
int item_count
 How many items this players knows. More...
 
knowledge_item ** items
 Known knowledge. More...
 
knowledge_playernext
 Next player on the list. More...
 
sstring player_name
 Player's name. More...
 
int sent_up_to
 Largest index that was sent to the client with notifications, -1 means the client doesn't want this information. More...
 

Detailed Description

Information about a player.

Definition at line 153 of file knowledge.cpp.

Field Documentation

◆ item_allocated

int knowledge_player::item_allocated

How many items are allocated for items.

Definition at line 157 of file knowledge.cpp.

Referenced by free_knowledge_items(), knowledge_add(), and knowledge_read_player_data().

◆ item_count

◆ items

◆ next

knowledge_player* knowledge_player::next

Next player on the list.

Definition at line 160 of file knowledge.cpp.

Referenced by free_knowledge(), knowledge_first_player_save(), knowledge_get_or_create(), and knowledge_process_incremental().

◆ player_name

◆ sent_up_to

int knowledge_player::sent_up_to

Largest index that was sent to the client with notifications, -1 means the client doesn't want this information.

Definition at line 158 of file knowledge.cpp.

Referenced by knowledge_get_or_create(), knowledge_process_incremental(), and knowledge_send_known().


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