BWAPI
Undermind/proxy/gen/cpp/terrain.pb.h
Go to the documentation of this file.
00001 // Generated by the protocol buffer compiler.  DO NOT EDIT!
00002 // source: terrain.proto
00003 
00004 #ifndef PROTOBUF_terrain_2eproto__INCLUDED
00005 #define PROTOBUF_terrain_2eproto__INCLUDED
00006 
00007 #include <string>
00008 
00009 #include <google/protobuf/stubs/common.h>
00010 
00011 #if GOOGLE_PROTOBUF_VERSION < 2003000
00012 #error This file was generated by a newer version of protoc which is
00013 #error incompatible with your Protocol Buffer headers.  Please update
00014 #error your headers.
00015 #endif
00016 #if 2003000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
00017 #error This file was generated by an older version of protoc which is
00018 #error incompatible with your Protocol Buffer headers.  Please
00019 #error regenerate this file with a newer version of protoc.
00020 #endif
00021 
00022 #include <google/protobuf/generated_message_util.h>
00023 #include <google/protobuf/repeated_field.h>
00024 #include <google/protobuf/extension_set.h>
00025 #include <google/protobuf/generated_message_reflection.h>
00026 #include "types.pb.h"
00027 #include "unit.pb.h"
00028 // @@protoc_insertion_point(includes)
00029 
00030 namespace messages {
00031 
00032 // Internal implementation detail -- do not call these.
00033 void  protobuf_AddDesc_terrain_2eproto();
00034 void protobuf_AssignDesc_terrain_2eproto();
00035 void protobuf_ShutdownFile_terrain_2eproto();
00036 
00037 class DynamicTerrainInfo;
00038 class StaticTerrainInfo;
00039 class BaseLocation;
00040 class Chokepoint;
00041 class Polygon;
00042 class Region;
00043 
00044 // ===================================================================
00045 
00046 class DynamicTerrainInfo : public ::google::protobuf::Message {
00047  public:
00048   DynamicTerrainInfo();
00049   virtual ~DynamicTerrainInfo();
00050   
00051   DynamicTerrainInfo(const DynamicTerrainInfo& from);
00052   
00053   inline DynamicTerrainInfo& operator=(const DynamicTerrainInfo& from) {
00054     CopyFrom(from);
00055     return *this;
00056   }
00057   
00058   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00059     return _unknown_fields_;
00060   }
00061   
00062   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00063     return &_unknown_fields_;
00064   }
00065   
00066   static const ::google::protobuf::Descriptor* descriptor();
00067   static const DynamicTerrainInfo& default_instance();
00068   
00069   void Swap(DynamicTerrainInfo* other);
00070   
00071   // implements Message ----------------------------------------------
00072   
00073   DynamicTerrainInfo* New() const;
00074   void CopyFrom(const ::google::protobuf::Message& from);
00075   void MergeFrom(const ::google::protobuf::Message& from);
00076   void CopyFrom(const DynamicTerrainInfo& from);
00077   void MergeFrom(const DynamicTerrainInfo& from);
00078   void Clear();
00079   bool IsInitialized() const;
00080   
00081   int ByteSize() const;
00082   bool MergePartialFromCodedStream(
00083       ::google::protobuf::io::CodedInputStream* input);
00084   void SerializeWithCachedSizes(
00085       ::google::protobuf::io::CodedOutputStream* output) const;
00086   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00087   int GetCachedSize() const { return _cached_size_; }
00088   private:
00089   void SharedCtor();
00090   void SharedDtor();
00091   void SetCachedSize(int size) const;
00092   public:
00093   
00094   ::google::protobuf::Metadata GetMetadata() const;
00095   
00096   // nested types ----------------------------------------------------
00097   
00098   // accessors -------------------------------------------------------
00099   
00100   // repeated fixed32 isVisible = 3;
00101   inline int isvisible_size() const;
00102   inline void clear_isvisible();
00103   static const int kIsVisibleFieldNumber = 3;
00104   inline ::google::protobuf::uint32 isvisible(int index) const;
00105   inline void set_isvisible(int index, ::google::protobuf::uint32 value);
00106   inline void add_isvisible(::google::protobuf::uint32 value);
00107   inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00108       isvisible() const;
00109   inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00110       mutable_isvisible();
00111   
00112   // repeated fixed32 isExplored = 4;
00113   inline int isexplored_size() const;
00114   inline void clear_isexplored();
00115   static const int kIsExploredFieldNumber = 4;
00116   inline ::google::protobuf::uint32 isexplored(int index) const;
00117   inline void set_isexplored(int index, ::google::protobuf::uint32 value);
00118   inline void add_isexplored(::google::protobuf::uint32 value);
00119   inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00120       isexplored() const;
00121   inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00122       mutable_isexplored();
00123   
00124   // repeated fixed32 hasCreep = 5;
00125   inline int hascreep_size() const;
00126   inline void clear_hascreep();
00127   static const int kHasCreepFieldNumber = 5;
00128   inline ::google::protobuf::uint32 hascreep(int index) const;
00129   inline void set_hascreep(int index, ::google::protobuf::uint32 value);
00130   inline void add_hascreep(::google::protobuf::uint32 value);
00131   inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00132       hascreep() const;
00133   inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00134       mutable_hascreep();
00135   
00136   // @@protoc_insertion_point(class_scope:messages.DynamicTerrainInfo)
00137  private:
00138   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00139   mutable int _cached_size_;
00140   
00141   ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > isvisible_;
00142   ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > isexplored_;
00143   ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > hascreep_;
00144   friend void  protobuf_AddDesc_terrain_2eproto();
00145   friend void protobuf_AssignDesc_terrain_2eproto();
00146   friend void protobuf_ShutdownFile_terrain_2eproto();
00147   
00148   ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
00149   
00150   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00151   inline bool _has_bit(int index) const {
00152     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00153   }
00154   inline void _set_bit(int index) {
00155     _has_bits_[index / 32] |= (1u << (index % 32));
00156   }
00157   inline void _clear_bit(int index) {
00158     _has_bits_[index / 32] &= ~(1u << (index % 32));
00159   }
00160   
00161   void InitAsDefaultInstance();
00162   static DynamicTerrainInfo* default_instance_;
00163 };
00164 // -------------------------------------------------------------------
00165 
00166 class StaticTerrainInfo : public ::google::protobuf::Message {
00167  public:
00168   StaticTerrainInfo();
00169   virtual ~StaticTerrainInfo();
00170   
00171   StaticTerrainInfo(const StaticTerrainInfo& from);
00172   
00173   inline StaticTerrainInfo& operator=(const StaticTerrainInfo& from) {
00174     CopyFrom(from);
00175     return *this;
00176   }
00177   
00178   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00179     return _unknown_fields_;
00180   }
00181   
00182   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00183     return &_unknown_fields_;
00184   }
00185   
00186   static const ::google::protobuf::Descriptor* descriptor();
00187   static const StaticTerrainInfo& default_instance();
00188   
00189   void Swap(StaticTerrainInfo* other);
00190   
00191   // implements Message ----------------------------------------------
00192   
00193   StaticTerrainInfo* New() const;
00194   void CopyFrom(const ::google::protobuf::Message& from);
00195   void MergeFrom(const ::google::protobuf::Message& from);
00196   void CopyFrom(const StaticTerrainInfo& from);
00197   void MergeFrom(const StaticTerrainInfo& from);
00198   void Clear();
00199   bool IsInitialized() const;
00200   
00201   int ByteSize() const;
00202   bool MergePartialFromCodedStream(
00203       ::google::protobuf::io::CodedInputStream* input);
00204   void SerializeWithCachedSizes(
00205       ::google::protobuf::io::CodedOutputStream* output) const;
00206   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00207   int GetCachedSize() const { return _cached_size_; }
00208   private:
00209   void SharedCtor();
00210   void SharedDtor();
00211   void SetCachedSize(int size) const;
00212   public:
00213   
00214   ::google::protobuf::Metadata GetMetadata() const;
00215   
00216   // nested types ----------------------------------------------------
00217   
00218   // accessors -------------------------------------------------------
00219   
00220   // repeated .messages.Region regions = 1;
00221   inline int regions_size() const;
00222   inline void clear_regions();
00223   static const int kRegionsFieldNumber = 1;
00224   inline const ::messages::Region& regions(int index) const;
00225   inline ::messages::Region* mutable_regions(int index);
00226   inline ::messages::Region* add_regions();
00227   inline const ::google::protobuf::RepeatedPtrField< ::messages::Region >&
00228       regions() const;
00229   inline ::google::protobuf::RepeatedPtrField< ::messages::Region >*
00230       mutable_regions();
00231   
00232   // repeated .messages.Chokepoint chokepoints = 2;
00233   inline int chokepoints_size() const;
00234   inline void clear_chokepoints();
00235   static const int kChokepointsFieldNumber = 2;
00236   inline const ::messages::Chokepoint& chokepoints(int index) const;
00237   inline ::messages::Chokepoint* mutable_chokepoints(int index);
00238   inline ::messages::Chokepoint* add_chokepoints();
00239   inline const ::google::protobuf::RepeatedPtrField< ::messages::Chokepoint >&
00240       chokepoints() const;
00241   inline ::google::protobuf::RepeatedPtrField< ::messages::Chokepoint >*
00242       mutable_chokepoints();
00243   
00244   // repeated .messages.BaseLocation baseLocations = 3;
00245   inline int baselocations_size() const;
00246   inline void clear_baselocations();
00247   static const int kBaseLocationsFieldNumber = 3;
00248   inline const ::messages::BaseLocation& baselocations(int index) const;
00249   inline ::messages::BaseLocation* mutable_baselocations(int index);
00250   inline ::messages::BaseLocation* add_baselocations();
00251   inline const ::google::protobuf::RepeatedPtrField< ::messages::BaseLocation >&
00252       baselocations() const;
00253   inline ::google::protobuf::RepeatedPtrField< ::messages::BaseLocation >*
00254       mutable_baselocations();
00255   
00256   // repeated int32 startLocations = 4;
00257   inline int startlocations_size() const;
00258   inline void clear_startlocations();
00259   static const int kStartLocationsFieldNumber = 4;
00260   inline ::google::protobuf::int32 startlocations(int index) const;
00261   inline void set_startlocations(int index, ::google::protobuf::int32 value);
00262   inline void add_startlocations(::google::protobuf::int32 value);
00263   inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00264       startlocations() const;
00265   inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00266       mutable_startlocations();
00267   
00268   // repeated .messages.Polygon unwalkablePolygon = 5;
00269   inline int unwalkablepolygon_size() const;
00270   inline void clear_unwalkablepolygon();
00271   static const int kUnwalkablePolygonFieldNumber = 5;
00272   inline const ::messages::Polygon& unwalkablepolygon(int index) const;
00273   inline ::messages::Polygon* mutable_unwalkablepolygon(int index);
00274   inline ::messages::Polygon* add_unwalkablepolygon();
00275   inline const ::google::protobuf::RepeatedPtrField< ::messages::Polygon >&
00276       unwalkablepolygon() const;
00277   inline ::google::protobuf::RepeatedPtrField< ::messages::Polygon >*
00278       mutable_unwalkablepolygon();
00279   
00280   // @@protoc_insertion_point(class_scope:messages.StaticTerrainInfo)
00281  private:
00282   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00283   mutable int _cached_size_;
00284   
00285   ::google::protobuf::RepeatedPtrField< ::messages::Region > regions_;
00286   ::google::protobuf::RepeatedPtrField< ::messages::Chokepoint > chokepoints_;
00287   ::google::protobuf::RepeatedPtrField< ::messages::BaseLocation > baselocations_;
00288   ::google::protobuf::RepeatedField< ::google::protobuf::int32 > startlocations_;
00289   ::google::protobuf::RepeatedPtrField< ::messages::Polygon > unwalkablepolygon_;
00290   friend void  protobuf_AddDesc_terrain_2eproto();
00291   friend void protobuf_AssignDesc_terrain_2eproto();
00292   friend void protobuf_ShutdownFile_terrain_2eproto();
00293   
00294   ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
00295   
00296   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00297   inline bool _has_bit(int index) const {
00298     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00299   }
00300   inline void _set_bit(int index) {
00301     _has_bits_[index / 32] |= (1u << (index % 32));
00302   }
00303   inline void _clear_bit(int index) {
00304     _has_bits_[index / 32] &= ~(1u << (index % 32));
00305   }
00306   
00307   void InitAsDefaultInstance();
00308   static StaticTerrainInfo* default_instance_;
00309 };
00310 // -------------------------------------------------------------------
00311 
00312 class BaseLocation : public ::google::protobuf::Message {
00313  public:
00314   BaseLocation();
00315   virtual ~BaseLocation();
00316   
00317   BaseLocation(const BaseLocation& from);
00318   
00319   inline BaseLocation& operator=(const BaseLocation& from) {
00320     CopyFrom(from);
00321     return *this;
00322   }
00323   
00324   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00325     return _unknown_fields_;
00326   }
00327   
00328   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00329     return &_unknown_fields_;
00330   }
00331   
00332   static const ::google::protobuf::Descriptor* descriptor();
00333   static const BaseLocation& default_instance();
00334   
00335   void Swap(BaseLocation* other);
00336   
00337   // implements Message ----------------------------------------------
00338   
00339   BaseLocation* New() const;
00340   void CopyFrom(const ::google::protobuf::Message& from);
00341   void MergeFrom(const ::google::protobuf::Message& from);
00342   void CopyFrom(const BaseLocation& from);
00343   void MergeFrom(const BaseLocation& from);
00344   void Clear();
00345   bool IsInitialized() const;
00346   
00347   int ByteSize() const;
00348   bool MergePartialFromCodedStream(
00349       ::google::protobuf::io::CodedInputStream* input);
00350   void SerializeWithCachedSizes(
00351       ::google::protobuf::io::CodedOutputStream* output) const;
00352   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00353   int GetCachedSize() const { return _cached_size_; }
00354   private:
00355   void SharedCtor();
00356   void SharedDtor();
00357   void SetCachedSize(int size) const;
00358   public:
00359   
00360   ::google::protobuf::Metadata GetMetadata() const;
00361   
00362   // nested types ----------------------------------------------------
00363   
00364   // accessors -------------------------------------------------------
00365   
00366   // required int32 id = 12;
00367   inline bool has_id() const;
00368   inline void clear_id();
00369   static const int kIdFieldNumber = 12;
00370   inline ::google::protobuf::int32 id() const;
00371   inline void set_id(::google::protobuf::int32 value);
00372   
00373   // required .messages.Position position = 1;
00374   inline bool has_position() const;
00375   inline void clear_position();
00376   static const int kPositionFieldNumber = 1;
00377   inline const ::messages::Position& position() const;
00378   inline ::messages::Position* mutable_position();
00379   
00380   // required .messages.TilePosition tilePosition = 13;
00381   inline bool has_tileposition() const;
00382   inline void clear_tileposition();
00383   static const int kTilePositionFieldNumber = 13;
00384   inline const ::messages::TilePosition& tileposition() const;
00385   inline ::messages::TilePosition* mutable_tileposition();
00386   
00387   // required int32 region = 2;
00388   inline bool has_region() const;
00389   inline void clear_region();
00390   static const int kRegionFieldNumber = 2;
00391   inline ::google::protobuf::int32 region() const;
00392   inline void set_region(::google::protobuf::int32 value);
00393   
00394   // required int32 numMinerals = 3;
00395   inline bool has_numminerals() const;
00396   inline void clear_numminerals();
00397   static const int kNumMineralsFieldNumber = 3;
00398   inline ::google::protobuf::int32 numminerals() const;
00399   inline void set_numminerals(::google::protobuf::int32 value);
00400   
00401   // required int32 numGas = 4;
00402   inline bool has_numgas() const;
00403   inline void clear_numgas();
00404   static const int kNumGasFieldNumber = 4;
00405   inline ::google::protobuf::int32 numgas() const;
00406   inline void set_numgas(::google::protobuf::int32 value);
00407   
00408   // repeated .messages.UnitId minerals = 5;
00409   inline int minerals_size() const;
00410   inline void clear_minerals();
00411   static const int kMineralsFieldNumber = 5;
00412   inline const ::messages::UnitId& minerals(int index) const;
00413   inline ::messages::UnitId* mutable_minerals(int index);
00414   inline ::messages::UnitId* add_minerals();
00415   inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
00416       minerals() const;
00417   inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
00418       mutable_minerals();
00419   
00420   // repeated .messages.UnitId staticMinerals = 6;
00421   inline int staticminerals_size() const;
00422   inline void clear_staticminerals();
00423   static const int kStaticMineralsFieldNumber = 6;
00424   inline const ::messages::UnitId& staticminerals(int index) const;
00425   inline ::messages::UnitId* mutable_staticminerals(int index);
00426   inline ::messages::UnitId* add_staticminerals();
00427   inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
00428       staticminerals() const;
00429   inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
00430       mutable_staticminerals();
00431   
00432   // repeated .messages.UnitId geysers = 7;
00433   inline int geysers_size() const;
00434   inline void clear_geysers();
00435   static const int kGeysersFieldNumber = 7;
00436   inline const ::messages::UnitId& geysers(int index) const;
00437   inline ::messages::UnitId* mutable_geysers(int index);
00438   inline ::messages::UnitId* add_geysers();
00439   inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
00440       geysers() const;
00441   inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
00442       mutable_geysers();
00443   
00444   // required bool island = 8;
00445   inline bool has_island() const;
00446   inline void clear_island();
00447   static const int kIslandFieldNumber = 8;
00448   inline bool island() const;
00449   inline void set_island(bool value);
00450   
00451   // required bool mineralOnly = 10;
00452   inline bool has_mineralonly() const;
00453   inline void clear_mineralonly();
00454   static const int kMineralOnlyFieldNumber = 10;
00455   inline bool mineralonly() const;
00456   inline void set_mineralonly(bool value);
00457   
00458   // required bool startLocation = 11;
00459   inline bool has_startlocation() const;
00460   inline void clear_startlocation();
00461   static const int kStartLocationFieldNumber = 11;
00462   inline bool startlocation() const;
00463   inline void set_startlocation(bool value);
00464   
00465   // @@protoc_insertion_point(class_scope:messages.BaseLocation)
00466  private:
00467   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00468   mutable int _cached_size_;
00469   
00470   ::google::protobuf::int32 id_;
00471   ::messages::Position* position_;
00472   ::messages::TilePosition* tileposition_;
00473   ::google::protobuf::int32 region_;
00474   ::google::protobuf::int32 numminerals_;
00475   ::google::protobuf::int32 numgas_;
00476   ::google::protobuf::RepeatedPtrField< ::messages::UnitId > minerals_;
00477   ::google::protobuf::RepeatedPtrField< ::messages::UnitId > staticminerals_;
00478   ::google::protobuf::RepeatedPtrField< ::messages::UnitId > geysers_;
00479   bool island_;
00480   bool mineralonly_;
00481   bool startlocation_;
00482   friend void  protobuf_AddDesc_terrain_2eproto();
00483   friend void protobuf_AssignDesc_terrain_2eproto();
00484   friend void protobuf_ShutdownFile_terrain_2eproto();
00485   
00486   ::google::protobuf::uint32 _has_bits_[(12 + 31) / 32];
00487   
00488   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00489   inline bool _has_bit(int index) const {
00490     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00491   }
00492   inline void _set_bit(int index) {
00493     _has_bits_[index / 32] |= (1u << (index % 32));
00494   }
00495   inline void _clear_bit(int index) {
00496     _has_bits_[index / 32] &= ~(1u << (index % 32));
00497   }
00498   
00499   void InitAsDefaultInstance();
00500   static BaseLocation* default_instance_;
00501 };
00502 // -------------------------------------------------------------------
00503 
00504 class Chokepoint : public ::google::protobuf::Message {
00505  public:
00506   Chokepoint();
00507   virtual ~Chokepoint();
00508   
00509   Chokepoint(const Chokepoint& from);
00510   
00511   inline Chokepoint& operator=(const Chokepoint& from) {
00512     CopyFrom(from);
00513     return *this;
00514   }
00515   
00516   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00517     return _unknown_fields_;
00518   }
00519   
00520   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00521     return &_unknown_fields_;
00522   }
00523   
00524   static const ::google::protobuf::Descriptor* descriptor();
00525   static const Chokepoint& default_instance();
00526   
00527   void Swap(Chokepoint* other);
00528   
00529   // implements Message ----------------------------------------------
00530   
00531   Chokepoint* New() const;
00532   void CopyFrom(const ::google::protobuf::Message& from);
00533   void MergeFrom(const ::google::protobuf::Message& from);
00534   void CopyFrom(const Chokepoint& from);
00535   void MergeFrom(const Chokepoint& from);
00536   void Clear();
00537   bool IsInitialized() const;
00538   
00539   int ByteSize() const;
00540   bool MergePartialFromCodedStream(
00541       ::google::protobuf::io::CodedInputStream* input);
00542   void SerializeWithCachedSizes(
00543       ::google::protobuf::io::CodedOutputStream* output) const;
00544   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00545   int GetCachedSize() const { return _cached_size_; }
00546   private:
00547   void SharedCtor();
00548   void SharedDtor();
00549   void SetCachedSize(int size) const;
00550   public:
00551   
00552   ::google::protobuf::Metadata GetMetadata() const;
00553   
00554   // nested types ----------------------------------------------------
00555   
00556   // accessors -------------------------------------------------------
00557   
00558   // required int32 id = 7;
00559   inline bool has_id() const;
00560   inline void clear_id();
00561   static const int kIdFieldNumber = 7;
00562   inline ::google::protobuf::int32 id() const;
00563   inline void set_id(::google::protobuf::int32 value);
00564   
00565   // required int32 region1 = 1;
00566   inline bool has_region1() const;
00567   inline void clear_region1();
00568   static const int kRegion1FieldNumber = 1;
00569   inline ::google::protobuf::int32 region1() const;
00570   inline void set_region1(::google::protobuf::int32 value);
00571   
00572   // required int32 region2 = 2;
00573   inline bool has_region2() const;
00574   inline void clear_region2();
00575   static const int kRegion2FieldNumber = 2;
00576   inline ::google::protobuf::int32 region2() const;
00577   inline void set_region2(::google::protobuf::int32 value);
00578   
00579   // required .messages.Position side1 = 3;
00580   inline bool has_side1() const;
00581   inline void clear_side1();
00582   static const int kSide1FieldNumber = 3;
00583   inline const ::messages::Position& side1() const;
00584   inline ::messages::Position* mutable_side1();
00585   
00586   // required .messages.Position side2 = 4;
00587   inline bool has_side2() const;
00588   inline void clear_side2();
00589   static const int kSide2FieldNumber = 4;
00590   inline const ::messages::Position& side2() const;
00591   inline ::messages::Position* mutable_side2();
00592   
00593   // required .messages.Position center = 5;
00594   inline bool has_center() const;
00595   inline void clear_center();
00596   static const int kCenterFieldNumber = 5;
00597   inline const ::messages::Position& center() const;
00598   inline ::messages::Position* mutable_center();
00599   
00600   // required double width = 6;
00601   inline bool has_width() const;
00602   inline void clear_width();
00603   static const int kWidthFieldNumber = 6;
00604   inline double width() const;
00605   inline void set_width(double value);
00606   
00607   // @@protoc_insertion_point(class_scope:messages.Chokepoint)
00608  private:
00609   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00610   mutable int _cached_size_;
00611   
00612   ::google::protobuf::int32 id_;
00613   ::google::protobuf::int32 region1_;
00614   ::google::protobuf::int32 region2_;
00615   ::messages::Position* side1_;
00616   ::messages::Position* side2_;
00617   ::messages::Position* center_;
00618   double width_;
00619   friend void  protobuf_AddDesc_terrain_2eproto();
00620   friend void protobuf_AssignDesc_terrain_2eproto();
00621   friend void protobuf_ShutdownFile_terrain_2eproto();
00622   
00623   ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
00624   
00625   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00626   inline bool _has_bit(int index) const {
00627     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00628   }
00629   inline void _set_bit(int index) {
00630     _has_bits_[index / 32] |= (1u << (index % 32));
00631   }
00632   inline void _clear_bit(int index) {
00633     _has_bits_[index / 32] &= ~(1u << (index % 32));
00634   }
00635   
00636   void InitAsDefaultInstance();
00637   static Chokepoint* default_instance_;
00638 };
00639 // -------------------------------------------------------------------
00640 
00641 class Polygon : public ::google::protobuf::Message {
00642  public:
00643   Polygon();
00644   virtual ~Polygon();
00645   
00646   Polygon(const Polygon& from);
00647   
00648   inline Polygon& operator=(const Polygon& from) {
00649     CopyFrom(from);
00650     return *this;
00651   }
00652   
00653   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00654     return _unknown_fields_;
00655   }
00656   
00657   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00658     return &_unknown_fields_;
00659   }
00660   
00661   static const ::google::protobuf::Descriptor* descriptor();
00662   static const Polygon& default_instance();
00663   
00664   void Swap(Polygon* other);
00665   
00666   // implements Message ----------------------------------------------
00667   
00668   Polygon* New() const;
00669   void CopyFrom(const ::google::protobuf::Message& from);
00670   void MergeFrom(const ::google::protobuf::Message& from);
00671   void CopyFrom(const Polygon& from);
00672   void MergeFrom(const Polygon& from);
00673   void Clear();
00674   bool IsInitialized() const;
00675   
00676   int ByteSize() const;
00677   bool MergePartialFromCodedStream(
00678       ::google::protobuf::io::CodedInputStream* input);
00679   void SerializeWithCachedSizes(
00680       ::google::protobuf::io::CodedOutputStream* output) const;
00681   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00682   int GetCachedSize() const { return _cached_size_; }
00683   private:
00684   void SharedCtor();
00685   void SharedDtor();
00686   void SetCachedSize(int size) const;
00687   public:
00688   
00689   ::google::protobuf::Metadata GetMetadata() const;
00690   
00691   // nested types ----------------------------------------------------
00692   
00693   // accessors -------------------------------------------------------
00694   
00695   // repeated .messages.Position vertices = 1;
00696   inline int vertices_size() const;
00697   inline void clear_vertices();
00698   static const int kVerticesFieldNumber = 1;
00699   inline const ::messages::Position& vertices(int index) const;
00700   inline ::messages::Position* mutable_vertices(int index);
00701   inline ::messages::Position* add_vertices();
00702   inline const ::google::protobuf::RepeatedPtrField< ::messages::Position >&
00703       vertices() const;
00704   inline ::google::protobuf::RepeatedPtrField< ::messages::Position >*
00705       mutable_vertices();
00706   
00707   // required double area = 2;
00708   inline bool has_area() const;
00709   inline void clear_area();
00710   static const int kAreaFieldNumber = 2;
00711   inline double area() const;
00712   inline void set_area(double value);
00713   
00714   // required double perimeter = 3;
00715   inline bool has_perimeter() const;
00716   inline void clear_perimeter();
00717   static const int kPerimeterFieldNumber = 3;
00718   inline double perimeter() const;
00719   inline void set_perimeter(double value);
00720   
00721   // required .messages.Position center = 4;
00722   inline bool has_center() const;
00723   inline void clear_center();
00724   static const int kCenterFieldNumber = 4;
00725   inline const ::messages::Position& center() const;
00726   inline ::messages::Position* mutable_center();
00727   
00728   // repeated .messages.Polygon holes = 5;
00729   inline int holes_size() const;
00730   inline void clear_holes();
00731   static const int kHolesFieldNumber = 5;
00732   inline const ::messages::Polygon& holes(int index) const;
00733   inline ::messages::Polygon* mutable_holes(int index);
00734   inline ::messages::Polygon* add_holes();
00735   inline const ::google::protobuf::RepeatedPtrField< ::messages::Polygon >&
00736       holes() const;
00737   inline ::google::protobuf::RepeatedPtrField< ::messages::Polygon >*
00738       mutable_holes();
00739   
00740   // @@protoc_insertion_point(class_scope:messages.Polygon)
00741  private:
00742   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00743   mutable int _cached_size_;
00744   
00745   ::google::protobuf::RepeatedPtrField< ::messages::Position > vertices_;
00746   double area_;
00747   double perimeter_;
00748   ::messages::Position* center_;
00749   ::google::protobuf::RepeatedPtrField< ::messages::Polygon > holes_;
00750   friend void  protobuf_AddDesc_terrain_2eproto();
00751   friend void protobuf_AssignDesc_terrain_2eproto();
00752   friend void protobuf_ShutdownFile_terrain_2eproto();
00753   
00754   ::google::protobuf::uint32 _has_bits_[(5 + 31) / 32];
00755   
00756   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00757   inline bool _has_bit(int index) const {
00758     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00759   }
00760   inline void _set_bit(int index) {
00761     _has_bits_[index / 32] |= (1u << (index % 32));
00762   }
00763   inline void _clear_bit(int index) {
00764     _has_bits_[index / 32] &= ~(1u << (index % 32));
00765   }
00766   
00767   void InitAsDefaultInstance();
00768   static Polygon* default_instance_;
00769 };
00770 // -------------------------------------------------------------------
00771 
00772 class Region : public ::google::protobuf::Message {
00773  public:
00774   Region();
00775   virtual ~Region();
00776   
00777   Region(const Region& from);
00778   
00779   inline Region& operator=(const Region& from) {
00780     CopyFrom(from);
00781     return *this;
00782   }
00783   
00784   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
00785     return _unknown_fields_;
00786   }
00787   
00788   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
00789     return &_unknown_fields_;
00790   }
00791   
00792   static const ::google::protobuf::Descriptor* descriptor();
00793   static const Region& default_instance();
00794   
00795   void Swap(Region* other);
00796   
00797   // implements Message ----------------------------------------------
00798   
00799   Region* New() const;
00800   void CopyFrom(const ::google::protobuf::Message& from);
00801   void MergeFrom(const ::google::protobuf::Message& from);
00802   void CopyFrom(const Region& from);
00803   void MergeFrom(const Region& from);
00804   void Clear();
00805   bool IsInitialized() const;
00806   
00807   int ByteSize() const;
00808   bool MergePartialFromCodedStream(
00809       ::google::protobuf::io::CodedInputStream* input);
00810   void SerializeWithCachedSizes(
00811       ::google::protobuf::io::CodedOutputStream* output) const;
00812   ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
00813   int GetCachedSize() const { return _cached_size_; }
00814   private:
00815   void SharedCtor();
00816   void SharedDtor();
00817   void SetCachedSize(int size) const;
00818   public:
00819   
00820   ::google::protobuf::Metadata GetMetadata() const;
00821   
00822   // nested types ----------------------------------------------------
00823   
00824   // accessors -------------------------------------------------------
00825   
00826   // required int32 id = 1;
00827   inline bool has_id() const;
00828   inline void clear_id();
00829   static const int kIdFieldNumber = 1;
00830   inline ::google::protobuf::int32 id() const;
00831   inline void set_id(::google::protobuf::int32 value);
00832   
00833   // required .messages.Polygon polygon = 2;
00834   inline bool has_polygon() const;
00835   inline void clear_polygon();
00836   static const int kPolygonFieldNumber = 2;
00837   inline const ::messages::Polygon& polygon() const;
00838   inline ::messages::Polygon* mutable_polygon();
00839   
00840   // repeated int32 chokepoints = 3;
00841   inline int chokepoints_size() const;
00842   inline void clear_chokepoints();
00843   static const int kChokepointsFieldNumber = 3;
00844   inline ::google::protobuf::int32 chokepoints(int index) const;
00845   inline void set_chokepoints(int index, ::google::protobuf::int32 value);
00846   inline void add_chokepoints(::google::protobuf::int32 value);
00847   inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00848       chokepoints() const;
00849   inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00850       mutable_chokepoints();
00851   
00852   // repeated int32 baseLocations = 4;
00853   inline int baselocations_size() const;
00854   inline void clear_baselocations();
00855   static const int kBaseLocationsFieldNumber = 4;
00856   inline ::google::protobuf::int32 baselocations(int index) const;
00857   inline void set_baselocations(int index, ::google::protobuf::int32 value);
00858   inline void add_baselocations(::google::protobuf::int32 value);
00859   inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
00860       baselocations() const;
00861   inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
00862       mutable_baselocations();
00863   
00864   // @@protoc_insertion_point(class_scope:messages.Region)
00865  private:
00866   ::google::protobuf::UnknownFieldSet _unknown_fields_;
00867   mutable int _cached_size_;
00868   
00869   ::google::protobuf::int32 id_;
00870   ::messages::Polygon* polygon_;
00871   ::google::protobuf::RepeatedField< ::google::protobuf::int32 > chokepoints_;
00872   ::google::protobuf::RepeatedField< ::google::protobuf::int32 > baselocations_;
00873   friend void  protobuf_AddDesc_terrain_2eproto();
00874   friend void protobuf_AssignDesc_terrain_2eproto();
00875   friend void protobuf_ShutdownFile_terrain_2eproto();
00876   
00877   ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
00878   
00879   // WHY DOES & HAVE LOWER PRECEDENCE THAN != !?
00880   inline bool _has_bit(int index) const {
00881     return (_has_bits_[index / 32] & (1u << (index % 32))) != 0;
00882   }
00883   inline void _set_bit(int index) {
00884     _has_bits_[index / 32] |= (1u << (index % 32));
00885   }
00886   inline void _clear_bit(int index) {
00887     _has_bits_[index / 32] &= ~(1u << (index % 32));
00888   }
00889   
00890   void InitAsDefaultInstance();
00891   static Region* default_instance_;
00892 };
00893 // ===================================================================
00894 
00895 
00896 // ===================================================================
00897 
00898 // DynamicTerrainInfo
00899 
00900 // repeated fixed32 isVisible = 3;
00901 inline int DynamicTerrainInfo::isvisible_size() const {
00902   return isvisible_.size();
00903 }
00904 inline void DynamicTerrainInfo::clear_isvisible() {
00905   isvisible_.Clear();
00906 }
00907 inline ::google::protobuf::uint32 DynamicTerrainInfo::isvisible(int index) const {
00908   return isvisible_.Get(index);
00909 }
00910 inline void DynamicTerrainInfo::set_isvisible(int index, ::google::protobuf::uint32 value) {
00911   isvisible_.Set(index, value);
00912 }
00913 inline void DynamicTerrainInfo::add_isvisible(::google::protobuf::uint32 value) {
00914   isvisible_.Add(value);
00915 }
00916 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00917 DynamicTerrainInfo::isvisible() const {
00918   return isvisible_;
00919 }
00920 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00921 DynamicTerrainInfo::mutable_isvisible() {
00922   return &isvisible_;
00923 }
00924 
00925 // repeated fixed32 isExplored = 4;
00926 inline int DynamicTerrainInfo::isexplored_size() const {
00927   return isexplored_.size();
00928 }
00929 inline void DynamicTerrainInfo::clear_isexplored() {
00930   isexplored_.Clear();
00931 }
00932 inline ::google::protobuf::uint32 DynamicTerrainInfo::isexplored(int index) const {
00933   return isexplored_.Get(index);
00934 }
00935 inline void DynamicTerrainInfo::set_isexplored(int index, ::google::protobuf::uint32 value) {
00936   isexplored_.Set(index, value);
00937 }
00938 inline void DynamicTerrainInfo::add_isexplored(::google::protobuf::uint32 value) {
00939   isexplored_.Add(value);
00940 }
00941 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00942 DynamicTerrainInfo::isexplored() const {
00943   return isexplored_;
00944 }
00945 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00946 DynamicTerrainInfo::mutable_isexplored() {
00947   return &isexplored_;
00948 }
00949 
00950 // repeated fixed32 hasCreep = 5;
00951 inline int DynamicTerrainInfo::hascreep_size() const {
00952   return hascreep_.size();
00953 }
00954 inline void DynamicTerrainInfo::clear_hascreep() {
00955   hascreep_.Clear();
00956 }
00957 inline ::google::protobuf::uint32 DynamicTerrainInfo::hascreep(int index) const {
00958   return hascreep_.Get(index);
00959 }
00960 inline void DynamicTerrainInfo::set_hascreep(int index, ::google::protobuf::uint32 value) {
00961   hascreep_.Set(index, value);
00962 }
00963 inline void DynamicTerrainInfo::add_hascreep(::google::protobuf::uint32 value) {
00964   hascreep_.Add(value);
00965 }
00966 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
00967 DynamicTerrainInfo::hascreep() const {
00968   return hascreep_;
00969 }
00970 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
00971 DynamicTerrainInfo::mutable_hascreep() {
00972   return &hascreep_;
00973 }
00974 
00975 // -------------------------------------------------------------------
00976 
00977 // StaticTerrainInfo
00978 
00979 // repeated .messages.Region regions = 1;
00980 inline int StaticTerrainInfo::regions_size() const {
00981   return regions_.size();
00982 }
00983 inline void StaticTerrainInfo::clear_regions() {
00984   regions_.Clear();
00985 }
00986 inline const ::messages::Region& StaticTerrainInfo::regions(int index) const {
00987   return regions_.Get(index);
00988 }
00989 inline ::messages::Region* StaticTerrainInfo::mutable_regions(int index) {
00990   return regions_.Mutable(index);
00991 }
00992 inline ::messages::Region* StaticTerrainInfo::add_regions() {
00993   return regions_.Add();
00994 }
00995 inline const ::google::protobuf::RepeatedPtrField< ::messages::Region >&
00996 StaticTerrainInfo::regions() const {
00997   return regions_;
00998 }
00999 inline ::google::protobuf::RepeatedPtrField< ::messages::Region >*
01000 StaticTerrainInfo::mutable_regions() {
01001   return &regions_;
01002 }
01003 
01004 // repeated .messages.Chokepoint chokepoints = 2;
01005 inline int StaticTerrainInfo::chokepoints_size() const {
01006   return chokepoints_.size();
01007 }
01008 inline void StaticTerrainInfo::clear_chokepoints() {
01009   chokepoints_.Clear();
01010 }
01011 inline const ::messages::Chokepoint& StaticTerrainInfo::chokepoints(int index) const {
01012   return chokepoints_.Get(index);
01013 }
01014 inline ::messages::Chokepoint* StaticTerrainInfo::mutable_chokepoints(int index) {
01015   return chokepoints_.Mutable(index);
01016 }
01017 inline ::messages::Chokepoint* StaticTerrainInfo::add_chokepoints() {
01018   return chokepoints_.Add();
01019 }
01020 inline const ::google::protobuf::RepeatedPtrField< ::messages::Chokepoint >&
01021 StaticTerrainInfo::chokepoints() const {
01022   return chokepoints_;
01023 }
01024 inline ::google::protobuf::RepeatedPtrField< ::messages::Chokepoint >*
01025 StaticTerrainInfo::mutable_chokepoints() {
01026   return &chokepoints_;
01027 }
01028 
01029 // repeated .messages.BaseLocation baseLocations = 3;
01030 inline int StaticTerrainInfo::baselocations_size() const {
01031   return baselocations_.size();
01032 }
01033 inline void StaticTerrainInfo::clear_baselocations() {
01034   baselocations_.Clear();
01035 }
01036 inline const ::messages::BaseLocation& StaticTerrainInfo::baselocations(int index) const {
01037   return baselocations_.Get(index);
01038 }
01039 inline ::messages::BaseLocation* StaticTerrainInfo::mutable_baselocations(int index) {
01040   return baselocations_.Mutable(index);
01041 }
01042 inline ::messages::BaseLocation* StaticTerrainInfo::add_baselocations() {
01043   return baselocations_.Add();
01044 }
01045 inline const ::google::protobuf::RepeatedPtrField< ::messages::BaseLocation >&
01046 StaticTerrainInfo::baselocations() const {
01047   return baselocations_;
01048 }
01049 inline ::google::protobuf::RepeatedPtrField< ::messages::BaseLocation >*
01050 StaticTerrainInfo::mutable_baselocations() {
01051   return &baselocations_;
01052 }
01053 
01054 // repeated int32 startLocations = 4;
01055 inline int StaticTerrainInfo::startlocations_size() const {
01056   return startlocations_.size();
01057 }
01058 inline void StaticTerrainInfo::clear_startlocations() {
01059   startlocations_.Clear();
01060 }
01061 inline ::google::protobuf::int32 StaticTerrainInfo::startlocations(int index) const {
01062   return startlocations_.Get(index);
01063 }
01064 inline void StaticTerrainInfo::set_startlocations(int index, ::google::protobuf::int32 value) {
01065   startlocations_.Set(index, value);
01066 }
01067 inline void StaticTerrainInfo::add_startlocations(::google::protobuf::int32 value) {
01068   startlocations_.Add(value);
01069 }
01070 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01071 StaticTerrainInfo::startlocations() const {
01072   return startlocations_;
01073 }
01074 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01075 StaticTerrainInfo::mutable_startlocations() {
01076   return &startlocations_;
01077 }
01078 
01079 // repeated .messages.Polygon unwalkablePolygon = 5;
01080 inline int StaticTerrainInfo::unwalkablepolygon_size() const {
01081   return unwalkablepolygon_.size();
01082 }
01083 inline void StaticTerrainInfo::clear_unwalkablepolygon() {
01084   unwalkablepolygon_.Clear();
01085 }
01086 inline const ::messages::Polygon& StaticTerrainInfo::unwalkablepolygon(int index) const {
01087   return unwalkablepolygon_.Get(index);
01088 }
01089 inline ::messages::Polygon* StaticTerrainInfo::mutable_unwalkablepolygon(int index) {
01090   return unwalkablepolygon_.Mutable(index);
01091 }
01092 inline ::messages::Polygon* StaticTerrainInfo::add_unwalkablepolygon() {
01093   return unwalkablepolygon_.Add();
01094 }
01095 inline const ::google::protobuf::RepeatedPtrField< ::messages::Polygon >&
01096 StaticTerrainInfo::unwalkablepolygon() const {
01097   return unwalkablepolygon_;
01098 }
01099 inline ::google::protobuf::RepeatedPtrField< ::messages::Polygon >*
01100 StaticTerrainInfo::mutable_unwalkablepolygon() {
01101   return &unwalkablepolygon_;
01102 }
01103 
01104 // -------------------------------------------------------------------
01105 
01106 // BaseLocation
01107 
01108 // required int32 id = 12;
01109 inline bool BaseLocation::has_id() const {
01110   return _has_bit(0);
01111 }
01112 inline void BaseLocation::clear_id() {
01113   id_ = 0;
01114   _clear_bit(0);
01115 }
01116 inline ::google::protobuf::int32 BaseLocation::id() const {
01117   return id_;
01118 }
01119 inline void BaseLocation::set_id(::google::protobuf::int32 value) {
01120   _set_bit(0);
01121   id_ = value;
01122 }
01123 
01124 // required .messages.Position position = 1;
01125 inline bool BaseLocation::has_position() const {
01126   return _has_bit(1);
01127 }
01128 inline void BaseLocation::clear_position() {
01129   if (position_ != NULL) position_->::messages::Position::Clear();
01130   _clear_bit(1);
01131 }
01132 inline const ::messages::Position& BaseLocation::position() const {
01133   return position_ != NULL ? *position_ : *default_instance_->position_;
01134 }
01135 inline ::messages::Position* BaseLocation::mutable_position() {
01136   _set_bit(1);
01137   if (position_ == NULL) position_ = new ::messages::Position;
01138   return position_;
01139 }
01140 
01141 // required .messages.TilePosition tilePosition = 13;
01142 inline bool BaseLocation::has_tileposition() const {
01143   return _has_bit(2);
01144 }
01145 inline void BaseLocation::clear_tileposition() {
01146   if (tileposition_ != NULL) tileposition_->::messages::TilePosition::Clear();
01147   _clear_bit(2);
01148 }
01149 inline const ::messages::TilePosition& BaseLocation::tileposition() const {
01150   return tileposition_ != NULL ? *tileposition_ : *default_instance_->tileposition_;
01151 }
01152 inline ::messages::TilePosition* BaseLocation::mutable_tileposition() {
01153   _set_bit(2);
01154   if (tileposition_ == NULL) tileposition_ = new ::messages::TilePosition;
01155   return tileposition_;
01156 }
01157 
01158 // required int32 region = 2;
01159 inline bool BaseLocation::has_region() const {
01160   return _has_bit(3);
01161 }
01162 inline void BaseLocation::clear_region() {
01163   region_ = 0;
01164   _clear_bit(3);
01165 }
01166 inline ::google::protobuf::int32 BaseLocation::region() const {
01167   return region_;
01168 }
01169 inline void BaseLocation::set_region(::google::protobuf::int32 value) {
01170   _set_bit(3);
01171   region_ = value;
01172 }
01173 
01174 // required int32 numMinerals = 3;
01175 inline bool BaseLocation::has_numminerals() const {
01176   return _has_bit(4);
01177 }
01178 inline void BaseLocation::clear_numminerals() {
01179   numminerals_ = 0;
01180   _clear_bit(4);
01181 }
01182 inline ::google::protobuf::int32 BaseLocation::numminerals() const {
01183   return numminerals_;
01184 }
01185 inline void BaseLocation::set_numminerals(::google::protobuf::int32 value) {
01186   _set_bit(4);
01187   numminerals_ = value;
01188 }
01189 
01190 // required int32 numGas = 4;
01191 inline bool BaseLocation::has_numgas() const {
01192   return _has_bit(5);
01193 }
01194 inline void BaseLocation::clear_numgas() {
01195   numgas_ = 0;
01196   _clear_bit(5);
01197 }
01198 inline ::google::protobuf::int32 BaseLocation::numgas() const {
01199   return numgas_;
01200 }
01201 inline void BaseLocation::set_numgas(::google::protobuf::int32 value) {
01202   _set_bit(5);
01203   numgas_ = value;
01204 }
01205 
01206 // repeated .messages.UnitId minerals = 5;
01207 inline int BaseLocation::minerals_size() const {
01208   return minerals_.size();
01209 }
01210 inline void BaseLocation::clear_minerals() {
01211   minerals_.Clear();
01212 }
01213 inline const ::messages::UnitId& BaseLocation::minerals(int index) const {
01214   return minerals_.Get(index);
01215 }
01216 inline ::messages::UnitId* BaseLocation::mutable_minerals(int index) {
01217   return minerals_.Mutable(index);
01218 }
01219 inline ::messages::UnitId* BaseLocation::add_minerals() {
01220   return minerals_.Add();
01221 }
01222 inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
01223 BaseLocation::minerals() const {
01224   return minerals_;
01225 }
01226 inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
01227 BaseLocation::mutable_minerals() {
01228   return &minerals_;
01229 }
01230 
01231 // repeated .messages.UnitId staticMinerals = 6;
01232 inline int BaseLocation::staticminerals_size() const {
01233   return staticminerals_.size();
01234 }
01235 inline void BaseLocation::clear_staticminerals() {
01236   staticminerals_.Clear();
01237 }
01238 inline const ::messages::UnitId& BaseLocation::staticminerals(int index) const {
01239   return staticminerals_.Get(index);
01240 }
01241 inline ::messages::UnitId* BaseLocation::mutable_staticminerals(int index) {
01242   return staticminerals_.Mutable(index);
01243 }
01244 inline ::messages::UnitId* BaseLocation::add_staticminerals() {
01245   return staticminerals_.Add();
01246 }
01247 inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
01248 BaseLocation::staticminerals() const {
01249   return staticminerals_;
01250 }
01251 inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
01252 BaseLocation::mutable_staticminerals() {
01253   return &staticminerals_;
01254 }
01255 
01256 // repeated .messages.UnitId geysers = 7;
01257 inline int BaseLocation::geysers_size() const {
01258   return geysers_.size();
01259 }
01260 inline void BaseLocation::clear_geysers() {
01261   geysers_.Clear();
01262 }
01263 inline const ::messages::UnitId& BaseLocation::geysers(int index) const {
01264   return geysers_.Get(index);
01265 }
01266 inline ::messages::UnitId* BaseLocation::mutable_geysers(int index) {
01267   return geysers_.Mutable(index);
01268 }
01269 inline ::messages::UnitId* BaseLocation::add_geysers() {
01270   return geysers_.Add();
01271 }
01272 inline const ::google::protobuf::RepeatedPtrField< ::messages::UnitId >&
01273 BaseLocation::geysers() const {
01274   return geysers_;
01275 }
01276 inline ::google::protobuf::RepeatedPtrField< ::messages::UnitId >*
01277 BaseLocation::mutable_geysers() {
01278   return &geysers_;
01279 }
01280 
01281 // required bool island = 8;
01282 inline bool BaseLocation::has_island() const {
01283   return _has_bit(9);
01284 }
01285 inline void BaseLocation::clear_island() {
01286   island_ = false;
01287   _clear_bit(9);
01288 }
01289 inline bool BaseLocation::island() const {
01290   return island_;
01291 }
01292 inline void BaseLocation::set_island(bool value) {
01293   _set_bit(9);
01294   island_ = value;
01295 }
01296 
01297 // required bool mineralOnly = 10;
01298 inline bool BaseLocation::has_mineralonly() const {
01299   return _has_bit(10);
01300 }
01301 inline void BaseLocation::clear_mineralonly() {
01302   mineralonly_ = false;
01303   _clear_bit(10);
01304 }
01305 inline bool BaseLocation::mineralonly() const {
01306   return mineralonly_;
01307 }
01308 inline void BaseLocation::set_mineralonly(bool value) {
01309   _set_bit(10);
01310   mineralonly_ = value;
01311 }
01312 
01313 // required bool startLocation = 11;
01314 inline bool BaseLocation::has_startlocation() const {
01315   return _has_bit(11);
01316 }
01317 inline void BaseLocation::clear_startlocation() {
01318   startlocation_ = false;
01319   _clear_bit(11);
01320 }
01321 inline bool BaseLocation::startlocation() const {
01322   return startlocation_;
01323 }
01324 inline void BaseLocation::set_startlocation(bool value) {
01325   _set_bit(11);
01326   startlocation_ = value;
01327 }
01328 
01329 // -------------------------------------------------------------------
01330 
01331 // Chokepoint
01332 
01333 // required int32 id = 7;
01334 inline bool Chokepoint::has_id() const {
01335   return _has_bit(0);
01336 }
01337 inline void Chokepoint::clear_id() {
01338   id_ = 0;
01339   _clear_bit(0);
01340 }
01341 inline ::google::protobuf::int32 Chokepoint::id() const {
01342   return id_;
01343 }
01344 inline void Chokepoint::set_id(::google::protobuf::int32 value) {
01345   _set_bit(0);
01346   id_ = value;
01347 }
01348 
01349 // required int32 region1 = 1;
01350 inline bool Chokepoint::has_region1() const {
01351   return _has_bit(1);
01352 }
01353 inline void Chokepoint::clear_region1() {
01354   region1_ = 0;
01355   _clear_bit(1);
01356 }
01357 inline ::google::protobuf::int32 Chokepoint::region1() const {
01358   return region1_;
01359 }
01360 inline void Chokepoint::set_region1(::google::protobuf::int32 value) {
01361   _set_bit(1);
01362   region1_ = value;
01363 }
01364 
01365 // required int32 region2 = 2;
01366 inline bool Chokepoint::has_region2() const {
01367   return _has_bit(2);
01368 }
01369 inline void Chokepoint::clear_region2() {
01370   region2_ = 0;
01371   _clear_bit(2);
01372 }
01373 inline ::google::protobuf::int32 Chokepoint::region2() const {
01374   return region2_;
01375 }
01376 inline void Chokepoint::set_region2(::google::protobuf::int32 value) {
01377   _set_bit(2);
01378   region2_ = value;
01379 }
01380 
01381 // required .messages.Position side1 = 3;
01382 inline bool Chokepoint::has_side1() const {
01383   return _has_bit(3);
01384 }
01385 inline void Chokepoint::clear_side1() {
01386   if (side1_ != NULL) side1_->::messages::Position::Clear();
01387   _clear_bit(3);
01388 }
01389 inline const ::messages::Position& Chokepoint::side1() const {
01390   return side1_ != NULL ? *side1_ : *default_instance_->side1_;
01391 }
01392 inline ::messages::Position* Chokepoint::mutable_side1() {
01393   _set_bit(3);
01394   if (side1_ == NULL) side1_ = new ::messages::Position;
01395   return side1_;
01396 }
01397 
01398 // required .messages.Position side2 = 4;
01399 inline bool Chokepoint::has_side2() const {
01400   return _has_bit(4);
01401 }
01402 inline void Chokepoint::clear_side2() {
01403   if (side2_ != NULL) side2_->::messages::Position::Clear();
01404   _clear_bit(4);
01405 }
01406 inline const ::messages::Position& Chokepoint::side2() const {
01407   return side2_ != NULL ? *side2_ : *default_instance_->side2_;
01408 }
01409 inline ::messages::Position* Chokepoint::mutable_side2() {
01410   _set_bit(4);
01411   if (side2_ == NULL) side2_ = new ::messages::Position;
01412   return side2_;
01413 }
01414 
01415 // required .messages.Position center = 5;
01416 inline bool Chokepoint::has_center() const {
01417   return _has_bit(5);
01418 }
01419 inline void Chokepoint::clear_center() {
01420   if (center_ != NULL) center_->::messages::Position::Clear();
01421   _clear_bit(5);
01422 }
01423 inline const ::messages::Position& Chokepoint::center() const {
01424   return center_ != NULL ? *center_ : *default_instance_->center_;
01425 }
01426 inline ::messages::Position* Chokepoint::mutable_center() {
01427   _set_bit(5);
01428   if (center_ == NULL) center_ = new ::messages::Position;
01429   return center_;
01430 }
01431 
01432 // required double width = 6;
01433 inline bool Chokepoint::has_width() const {
01434   return _has_bit(6);
01435 }
01436 inline void Chokepoint::clear_width() {
01437   width_ = 0;
01438   _clear_bit(6);
01439 }
01440 inline double Chokepoint::width() const {
01441   return width_;
01442 }
01443 inline void Chokepoint::set_width(double value) {
01444   _set_bit(6);
01445   width_ = value;
01446 }
01447 
01448 // -------------------------------------------------------------------
01449 
01450 // Polygon
01451 
01452 // repeated .messages.Position vertices = 1;
01453 inline int Polygon::vertices_size() const {
01454   return vertices_.size();
01455 }
01456 inline void Polygon::clear_vertices() {
01457   vertices_.Clear();
01458 }
01459 inline const ::messages::Position& Polygon::vertices(int index) const {
01460   return vertices_.Get(index);
01461 }
01462 inline ::messages::Position* Polygon::mutable_vertices(int index) {
01463   return vertices_.Mutable(index);
01464 }
01465 inline ::messages::Position* Polygon::add_vertices() {
01466   return vertices_.Add();
01467 }
01468 inline const ::google::protobuf::RepeatedPtrField< ::messages::Position >&
01469 Polygon::vertices() const {
01470   return vertices_;
01471 }
01472 inline ::google::protobuf::RepeatedPtrField< ::messages::Position >*
01473 Polygon::mutable_vertices() {
01474   return &vertices_;
01475 }
01476 
01477 // required double area = 2;
01478 inline bool Polygon::has_area() const {
01479   return _has_bit(1);
01480 }
01481 inline void Polygon::clear_area() {
01482   area_ = 0;
01483   _clear_bit(1);
01484 }
01485 inline double Polygon::area() const {
01486   return area_;
01487 }
01488 inline void Polygon::set_area(double value) {
01489   _set_bit(1);
01490   area_ = value;
01491 }
01492 
01493 // required double perimeter = 3;
01494 inline bool Polygon::has_perimeter() const {
01495   return _has_bit(2);
01496 }
01497 inline void Polygon::clear_perimeter() {
01498   perimeter_ = 0;
01499   _clear_bit(2);
01500 }
01501 inline double Polygon::perimeter() const {
01502   return perimeter_;
01503 }
01504 inline void Polygon::set_perimeter(double value) {
01505   _set_bit(2);
01506   perimeter_ = value;
01507 }
01508 
01509 // required .messages.Position center = 4;
01510 inline bool Polygon::has_center() const {
01511   return _has_bit(3);
01512 }
01513 inline void Polygon::clear_center() {
01514   if (center_ != NULL) center_->::messages::Position::Clear();
01515   _clear_bit(3);
01516 }
01517 inline const ::messages::Position& Polygon::center() const {
01518   return center_ != NULL ? *center_ : *default_instance_->center_;
01519 }
01520 inline ::messages::Position* Polygon::mutable_center() {
01521   _set_bit(3);
01522   if (center_ == NULL) center_ = new ::messages::Position;
01523   return center_;
01524 }
01525 
01526 // repeated .messages.Polygon holes = 5;
01527 inline int Polygon::holes_size() const {
01528   return holes_.size();
01529 }
01530 inline void Polygon::clear_holes() {
01531   holes_.Clear();
01532 }
01533 inline const ::messages::Polygon& Polygon::holes(int index) const {
01534   return holes_.Get(index);
01535 }
01536 inline ::messages::Polygon* Polygon::mutable_holes(int index) {
01537   return holes_.Mutable(index);
01538 }
01539 inline ::messages::Polygon* Polygon::add_holes() {
01540   return holes_.Add();
01541 }
01542 inline const ::google::protobuf::RepeatedPtrField< ::messages::Polygon >&
01543 Polygon::holes() const {
01544   return holes_;
01545 }
01546 inline ::google::protobuf::RepeatedPtrField< ::messages::Polygon >*
01547 Polygon::mutable_holes() {
01548   return &holes_;
01549 }
01550 
01551 // -------------------------------------------------------------------
01552 
01553 // Region
01554 
01555 // required int32 id = 1;
01556 inline bool Region::has_id() const {
01557   return _has_bit(0);
01558 }
01559 inline void Region::clear_id() {
01560   id_ = 0;
01561   _clear_bit(0);
01562 }
01563 inline ::google::protobuf::int32 Region::id() const {
01564   return id_;
01565 }
01566 inline void Region::set_id(::google::protobuf::int32 value) {
01567   _set_bit(0);
01568   id_ = value;
01569 }
01570 
01571 // required .messages.Polygon polygon = 2;
01572 inline bool Region::has_polygon() const {
01573   return _has_bit(1);
01574 }
01575 inline void Region::clear_polygon() {
01576   if (polygon_ != NULL) polygon_->::messages::Polygon::Clear();
01577   _clear_bit(1);
01578 }
01579 inline const ::messages::Polygon& Region::polygon() const {
01580   return polygon_ != NULL ? *polygon_ : *default_instance_->polygon_;
01581 }
01582 inline ::messages::Polygon* Region::mutable_polygon() {
01583   _set_bit(1);
01584   if (polygon_ == NULL) polygon_ = new ::messages::Polygon;
01585   return polygon_;
01586 }
01587 
01588 // repeated int32 chokepoints = 3;
01589 inline int Region::chokepoints_size() const {
01590   return chokepoints_.size();
01591 }
01592 inline void Region::clear_chokepoints() {
01593   chokepoints_.Clear();
01594 }
01595 inline ::google::protobuf::int32 Region::chokepoints(int index) const {
01596   return chokepoints_.Get(index);
01597 }
01598 inline void Region::set_chokepoints(int index, ::google::protobuf::int32 value) {
01599   chokepoints_.Set(index, value);
01600 }
01601 inline void Region::add_chokepoints(::google::protobuf::int32 value) {
01602   chokepoints_.Add(value);
01603 }
01604 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01605 Region::chokepoints() const {
01606   return chokepoints_;
01607 }
01608 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01609 Region::mutable_chokepoints() {
01610   return &chokepoints_;
01611 }
01612 
01613 // repeated int32 baseLocations = 4;
01614 inline int Region::baselocations_size() const {
01615   return baselocations_.size();
01616 }
01617 inline void Region::clear_baselocations() {
01618   baselocations_.Clear();
01619 }
01620 inline ::google::protobuf::int32 Region::baselocations(int index) const {
01621   return baselocations_.Get(index);
01622 }
01623 inline void Region::set_baselocations(int index, ::google::protobuf::int32 value) {
01624   baselocations_.Set(index, value);
01625 }
01626 inline void Region::add_baselocations(::google::protobuf::int32 value) {
01627   baselocations_.Add(value);
01628 }
01629 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
01630 Region::baselocations() const {
01631   return baselocations_;
01632 }
01633 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
01634 Region::mutable_baselocations() {
01635   return &baselocations_;
01636 }
01637 
01638 
01639 // @@protoc_insertion_point(namespace_scope)
01640 
01641 }  // namespace messages
01642 
01643 #ifndef SWIG
01644 namespace google {
01645 namespace protobuf {
01646 
01647 
01648 }  // namespace google
01649 }  // namespace protobuf
01650 #endif  // SWIG
01651 
01652 // @@protoc_insertion_point(global_scope)
01653 
01654 #endif  // PROTOBUF_terrain_2eproto__INCLUDED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines