Nuclide
Software Development Kit for id Technology (BETA)
UserEntity_Brush.h
1/*
2 * Copyright (c) 2025 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
24class
26{
27public:
28 void ncUserEntity_Brush(void);
29
30#ifdef SERVER
31 virtual void EvaluateEntity(void);
32 virtual float SendEntity(entity ePEnt, float flChanged);
33
34 nonvirtual void Place(ncPlayer videoSharer, string videoName, string videoURL, vector realSize);
35#endif
36
37#ifdef CLIENT
38 virtual void ReceiveEntity(float flNew, float flChanged);
39#endif
40
41private:
42 string m_userPictureURL;
43 string m_userPosterName;
44
45#ifdef CLIENT
46 entity m_uiPic;
47 entity m_uiLabel;
48#endif
49};
This entity class represents every player client.
Definition: Player.h:142
Shared: User Placed/Controlled Brush.
Definition: UserEntity_Brush.h:26
Shared: User Placed/Controlled Object Superclass.
Definition: UserEntity.h:38