Nuclide
Software Development Kit for id Technology (BETA)
PlayerModelLibrary.h
1/*
2 * Copyright (c) 2016-2026 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15*/
16
17typedef enum
18{
19 PLAYERMODEL_NAME,
20 PLAYERMODEL_PATH,
21 PLAYERMODEL_SKINSUPPORT,
22 PLAYERMODEL_TOPBOTTOMCOLOR,
23} playerModelInfo_t;
24
25class
27{
28 nonvirtual void Init(void);
29 nonvirtual void Shutdown(void);
30 nonvirtual void Reload(void);
31 nonvirtual void ReloadSkins(void);
32 nonvirtual void ReloadSprays(void);
33
34 nonvirtual __variant GetInfo(int, playerModelInfo_t);
35 nonvirtual string ModelPathForName(string playerModelName);
36 nonvirtual int Count(void);
37
38 nonvirtual int SkinCount(void);
39 nonvirtual string SkinName(int);
40
41 nonvirtual int SprayCount(void);
42 nonvirtual string SprayName(int);
43};
Definition: PlayerModelLibrary.h:27