Crossfire Server, Trunk
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
Definition: Facesets.cpp:61
global.h
Facesets
Definition: Facesets.h:23
AssetsCollection
Definition: AssetsCollection.h:55
AssetsCollection.h
Facesets::findById
face_sets * findById(int id)
Definition: Facesets.cpp:35
image.h
Facesets::replace
virtual void replace(face_sets *existing, face_sets *update) override
Definition: Facesets.cpp:42
face_sets
Definition: image.h:17