Crossfire Server, Trunk
knowledge_player Struct Reference
+ Collaboration diagram for knowledge_player:

Data Fields

int item_allocated
int item_count
knowledge_item ** items
sstring player_name
int sent_up_to

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(), 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: