mapinfo: ignore some more fields in "UMAPINFO"
[k8vavoom.git] / vccrun / vcc_netobj.h
blob5f6952e2a3515121e9f7c618a6e47b4d67113023
1 //**************************************************************************
2 //**
3 //** ## ## ## ## ## #### #### ### ###
4 //** ## ## ## ## ## ## ## ## ## ## #### ####
5 //** ## ## ## ## ## ## ## ## ## ## ## ## ## ##
6 //** ## ## ######## ## ## ## ## ## ## ## ### ##
7 //** ### ## ## ### ## ## ## ## ## ##
8 //** # ## ## # #### #### ## ##
9 //**
10 //** Copyright (C) 1999-2006 Jānis Legzdiņš
11 //** Copyright (C) 2018-2023 Ketmar Dark
12 //**
13 //** This program is free software: you can redistribute it and/or modify
14 //** it under the terms of the GNU General Public License as published by
15 //** the Free Software Foundation, version 3 of the License ONLY.
16 //**
17 //** This program is distributed in the hope that it will be useful,
18 //** but WITHOUT ANY WARRANTY; without even the implied warranty of
19 //** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 //** GNU General Public License for more details.
21 //**
22 //** You should have received a copy of the GNU General Public License
23 //** along with this program. If not, see <http://www.gnu.org/licenses/>.
24 //**
25 //**************************************************************************
27 // ////////////////////////////////////////////////////////////////////////// //
28 class VNetConnection {};
29 class VClass;
32 // ////////////////////////////////////////////////////////////////////////// //
33 class VNetObjectsMap {
34 private:
35 TArray<VName> NameLookup;
36 TArray<int> NameMap;
38 TArray<VClass *> ClassLookup;
39 TMapNC<VClass *, vuint32> ClassMap;
41 public:
42 VNetConnection *Connection;
44 public:
45 VNetObjectsMap ();
46 VNetObjectsMap (VNetConnection *AConnection);
48 void SetUpClassLookup ();
49 bool CanSerialiseObject (VObject *);
50 bool SerialiseName (VStream &, VName &);
51 bool SerialiseObject (VStream &, VObject *&);
52 bool SerialiseClass (VStream &, VClass *&);
53 bool SerialiseState (VStream &, VState *&);
55 //friend class VObjectMapChannel;