Nuclide
Software Development Kit for id Technology (BETA)
UserEntity_URL.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
26class
28{
29public:
30 void ncUserEntity_URL(void);
31
32#ifdef SERVER
33 virtual void EvaluateEntity(void);
34 virtual float SendEntity(entity ePEnt, float flChanged);
35
36 nonvirtual void Place(ncPlayer videoSharer, string videoName, string videoURL, string videoPreview);
37#endif
38
39#ifdef CLIENT
40 virtual void ReceiveEntity(float flNew, float flChanged);
41#endif
42
43private:
44 string m_userPageURL;
45
46#ifdef CLIENT
47 entity m_videoPic;
48#endif
49};
This entity class represents every player client.
Definition: Player.h:142
Shared: User Placed/Controlled URL.
Definition: UserEntity_URL.h:28
Shared: User Placed/Controlled Object Superclass.
Definition: UserEntity.h:38