Assembla home | Assembla project page
 
Show
Ignore:
Timestamp:
11/08/08 00:16:10 (1 year ago)
Author:
McMahon
Message:

SQL Update
StructureManager? - new interface for creating+updating player structures (houses + harvesters)
Updated harvester remove harv data
[Buildings] thanks to Farmer John its now (0,0,1,0) instead of (0,0,0,1) - rejoice player housing works! (sorta)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core3/trunk/MMOCoreORB/src/server/zone/objects/building/BuildingObject.h

    r719 r912  
    3838        void setBuildingType(int type); 
    3939 
    40         string& getName(); 
    41  
    42         void setName(string& name); 
     40        int getCellCount(); 
     41 
     42        CellObject* getCell(int idx); 
     43 
     44        void setPersistent(bool pers); 
     45 
     46        void setUpdated(bool up); 
     47 
     48        bool isPersistent(); 
     49 
     50        bool isUpdated(); 
     51 
     52        void setAttributes(string& attributestring); 
     53 
     54        string& getAttributes(); 
     55 
     56        string& getOwner(); 
     57 
     58        void setOwner(const string& owner); 
     59 
     60        unsigned long long getOwnerID(); 
     61 
     62        void setOwnerID(unsigned long long owner); 
     63 
     64        void parseItemAttributes(); 
     65 
     66        unicode& getName(); 
     67 
     68        void setName(const string& n); 
     69 
     70        void setName(const unicode& n); 
    4371 
    4472        string& getDefaultName(); 
     73 
     74        string& getTemplateName(); 
    4575 
    4676        void lock(bool doLock = true); 
     
    6595        virtual ~BuildingObject(); 
    6696 
     97        string _return_getAttributes; 
    6798        string _return_getDefaultName; 
    68         string _return_getName; 
     99        string _return_getOwner; 
     100        string _return_getTemplateName; 
     101 
     102        unicode _return_getName; 
    69103 
    70104        friend class BuildingObjectHelper; 
     
    89123        void setBuildingType(int type); 
    90124 
    91         string& getName(); 
    92  
    93         void setName(string& name); 
     125        int getCellCount(); 
     126 
     127        CellObject* getCell(int idx); 
     128 
     129        void setPersistent(bool pers); 
     130 
     131        void setUpdated(bool up); 
     132 
     133        bool isPersistent(); 
     134 
     135        bool isUpdated(); 
     136 
     137        void setAttributes(string& attributestring); 
     138 
     139        string& getAttributes(); 
     140 
     141        string& getOwner(); 
     142 
     143        void setOwner(const string& owner); 
     144 
     145        unsigned long long getOwnerID(); 
     146 
     147        void setOwnerID(unsigned long long owner); 
     148 
     149        void parseItemAttributes(); 
     150 
     151        unicode& getName(); 
     152 
     153        void setName(const string& n); 
     154 
     155        void setName(const unicode& n); 
    94156 
    95157        string& getDefaultName(); 
    96158 
     159        string& getTemplateName(); 
     160 
    97161        void lock(bool doLock); 
    98162 
     
    112176 
    113177protected: 
     178        string _param0_setAttributes__string_; 
     179        string _param0_setOwner__string_; 
    114180        string _param0_setName__string_; 
     181        unicode _param0_setName__unicode_; 
    115182}; 
    116183