SEGS  0.6.1-develop [3e741b81]
Super Entity Game Server
Classes | Enumerations | Functions
Friend.h File Reference
#include "CommonNetStructures.h"
Include dependency graph for Friend.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Friend
 
struct  FriendsList
 

Enumerations

enum  FriendListChangeStatus { FriendListChangeStatus::FRIEND_ADDED, FriendListChangeStatus::FRIEND_REMOVED, FriendListChangeStatus::MAX_FRIENDS_REACHED, FriendListChangeStatus::FRIEND_NOT_FOUND }
 

Functions

template<class Archive >
void serialize (Archive &archive, FriendsList &fl, uint32_t const version)
 
void toggleFriendList (Entity &src)
 
void dumpFriends (const Entity &src)
 
void dumpFriendsList (const Friend &f)
 
FriendListChangeStatus addFriend (Entity &src, const Entity &tgt, const QString &mapname)
 
FriendListChangeStatus removeFriend (Entity &src, const QString &friendName)
 
const QString & getFriendDisplayMapName (const Friend &f)
 

Enumeration Type Documentation

◆ FriendListChangeStatus

Enumerator
FRIEND_ADDED 
FRIEND_REMOVED 
MAX_FRIENDS_REACHED 
FRIEND_NOT_FOUND 

Function Documentation

◆ getFriendDisplayMapName()

const QString& getFriendDisplayMapName ( const Friend f)

◆ serialize()

template<class Archive >
void serialize ( Archive &  archive,
FriendsList fl,
uint32_t const  version 
)