NavalTaskingManagerClass

Superclasses:

VuEntity

FalconEntity

Other Subclasses: CampBaseClass , SimBaseClass,TeamClass

CampManagerClass

Other Subclasses : AirTaskingManagerClass, GroundTaskingManagerClass


NavalTaskingManagerClass


   public:
                short                   flags;
                // These don't need to be transmitted
                F4PFList              unitList;                                                       // Collection of available ground assets
                short                   tod;                                                                    // Time of day (temp variable)
                short                   topPriority;                                            // Highest PO priority (for scaling)
                short                   done;                                                                   // Flagged when all units assigned
        public:
                // constructors
                NavalTaskingManagerClass(ushort type, Team t);
                NavalTaskingManagerClass(VU_BYTE **stream);
                NavalTaskingManagerClass(FILE *file);
                virtual ~NavalTaskingManagerClass();
                virtual int SaveSize (void);
                virtual int Save (VU_BYTE **stream);
                virtual int Save (FILE *file);

                // Required pure virtuals
                virtual int Task();
                virtual void DoCalculations();
                virtual int Handle(VuFullUpdateEvent *event);

                // core functions
                void Setup(void);
                void Cleanup(void);
                void SendNTMMessage (VU_ID from, short message, short data1, short data2, VU_ID data3);