Crossfire Server, Trunk  1.75.0
Facesets.h
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2020-2021 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #ifndef FACESETS_H
14 #define FACESETS_H
15 
16 #include "AssetsCollection.h"
17 #include "global.h"
18 #include "image.h"
19 
23 class Facesets : public AssetsCollection<face_sets> {
24 public:
30  face_sets *findById(int id);
31 
32 protected:
33  virtual void replace(face_sets *existing, face_sets *update) override;
34  virtual void added(face_sets *face) override;
35 };
36 
37 #endif /* FACESETS_H */
38 
Facesets::added
virtual void added(face_sets *face) override
An asset was either referenced (but undefined) or defined.
Definition: Facesets.cpp:61
global.h
Facesets
Available facesets for clients.
Definition: Facesets.h:23
AssetsCollection
Collection of assets identified by a unique name.
Definition: AssetsCollection.h:55
AssetsCollection.h
Facesets::findById
face_sets * findById(int id)
Attempt to find a faceset from its identifier.
Definition: Facesets.cpp:35
image.h
Facesets::replace
virtual void replace(face_sets *existing, face_sets *update) override
Replace an asset by an updated version.
Definition: Facesets.cpp:42
face_sets
Information about one face set.
Definition: image.h:17
face
in that case they will be relative to whatever the PWD of the crossfire server process is You probably shouldn though Notes on Specific and settings file datadir Usually usr share crossfire Contains data that the server does not need to modify while such as the etc A default install will pack the and treasurelist definitions into a single or trs file and the graphics into a face(metadata) and .tar(bitmaps) file