Changeset 65e6cfe72ed0de63b9921d5785db77453708e0e7

Show
Ignore:
Timestamp:
05/11/08 11:46:27 (2 months ago)
Author:
Christopher Jung <bktheg@web.de>
git-committer:
Christopher Jung <bktheg@web.de> 1210499187 +0200
git-parent:

[efe20b3b08e4aa4612029006e0bdca9ff2d15aa2]

git-author:
Christopher Jung <bktheg@web.de> 1210499187 +0200
Message:

[ref] Attribute vaccount und wait4vac von BasicUser? nach User verschoben

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/net/driftingsouls/ds2/server/entities/User.java

    r3611510 r65e6cfe  
    240240                                pre+"destroyedShips", this.destroyedShips, 
    241241                                pre+"lostShips", this.lostShips, 
    242                                 pre+"knownItems", this.knownItems); 
     242                                pre+"knownItems", this.knownItems, 
     243                                pre+"vaccount", this.vaccount, 
     244                                pre+"wait4vac", this.wait4vac); 
    243245        } 
    244246         
     
    603605        @Transient 
    604606        private SQLResultRow research = null; 
     607        private int vaccount; 
     608        private int wait4vac; 
    605609         
    606610        /** 
     
    967971                return this.knownItems; 
    968972        } 
     973 
     974        /** 
     975         * Gibt die Anzahl der Ticks zurueck, die der Account noch im  
     976         * Vacation-Modus ist. Der Account kann sich auch noch im Vorlauf befinden! 
     977         * @return Die Anzahl der verbleibenden Vac-Ticks 
     978         */ 
     979        public int getVacationCount() { 
     980                return this.vaccount; 
     981        } 
     982 
     983        /** 
     984         * Setzt die Anzahl der Ticks, die der Account im Vacation-Modus verbringen soll 
     985         * @param value Die Anzahl der Ticks im Vacation-Modus 
     986         */ 
     987        public void setVacationCount(int value) { 
     988                this.vaccount = value; 
     989        } 
     990 
     991        /** 
     992         * Gibt zurueck, wieviele Ticks sich der Account noch im Vorlauf fuer den 
     993         * Vacation-Modus befindet 
     994         * @return Die Anzahl der verbleibenden Ticks im Vacation-Vorlauf  
     995         */ 
     996        public int getWait4VacationCount() { 
     997                return this.wait4vac; 
     998        } 
     999 
     1000        /** 
     1001         * Setzt die Anzahl der Ticks des Vacation-Modus-Vorlaufs auf den angegebenen 
     1002         * Wert 
     1003         * @param value Die Anzahl der Ticks im Vacation-Modus-Vorlauf 
     1004         */ 
     1005        public void setWait4VacationCount(int value) { 
     1006                this.wait4vac = value; 
     1007        } 
    9691008} 
  • src/net/driftingsouls/ds2/server/framework/BasicUser.java

    r89c047d r65e6cfe  
    7777        private byte disabled; 
    7878        private String flags; 
    79         private int vaccount; 
    80         private int wait4vac; 
    81          
    8279        @Version 
    8380        private int version; 
     
    162159                                pre+"imgpath", this.imgpath, 
    163160                                pre+"disabled", this.disabled, 
    164                                 pre+"flags", this.flags, 
    165                                 pre+"vaccount", this.vaccount, 
    166                                 pre+"wait4vac", this.wait4vac); 
     161                                pre+"flags", this.flags); 
    167162        } 
    168163         
     
    465460         
    466461        /** 
    467          * Gibt die Anzahl der Ticks zurueck, die der Account noch im  
    468          * Vacation-Modus ist. Der Account kann sich auch noch im Vorlauf befinden! 
    469          * @return Die Anzahl der verbleibenden Vac-Ticks 
    470          */ 
    471         public int getVacationCount() { 
    472                 return this.vaccount; 
    473         } 
    474          
    475         /** 
    476          * Setzt die Anzahl der Ticks, die der Account im Vacation-Modus verbringen soll 
    477          * @param value Die Anzahl der Ticks im Vacation-Modus 
    478          */ 
    479         public void setVacationCount(int value) { 
    480                 this.vaccount = value; 
    481         } 
    482  
    483         /** 
    484          * Gibt zurueck, wieviele Ticks sich der Account noch im Vorlauf fuer den 
    485          * Vacation-Modus befindet 
    486          * @return Die Anzahl der verbleibenden Ticks im Vacation-Vorlauf  
    487          */ 
    488         public int getWait4VacationCount() { 
    489                 return this.wait4vac; 
    490         } 
    491          
    492         /** 
    493          * Setzt die Anzahl der Ticks des Vacation-Modus-Vorlaufs auf den angegebenen 
    494          * Wert 
    495          * @param value Die Anzahl der Ticks im Vacation-Modus-Vorlauf 
    496          */ 
    497         public void setWait4VacationCount(int value) { 
    498                 this.wait4vac = value; 
    499         } 
    500  
    501         /** 
    502462         * Gibt die Versionsnummer zurueck 
    503463         * @return Die Nummer