Changeset 65e6cfe72ed0de63b9921d5785db77453708e0e7
- 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
| r3611510 |
r65e6cfe |
|
| 240 | 240 | pre+"destroyedShips", this.destroyedShips, |
|---|
| 241 | 241 | pre+"lostShips", this.lostShips, |
|---|
| 242 | | pre+"knownItems", this.knownItems); |
|---|
| | 242 | pre+"knownItems", this.knownItems, |
|---|
| | 243 | pre+"vaccount", this.vaccount, |
|---|
| | 244 | pre+"wait4vac", this.wait4vac); |
|---|
| 243 | 245 | } |
|---|
| 244 | 246 | |
|---|
| … | … | |
| 603 | 605 | @Transient |
|---|
| 604 | 606 | private SQLResultRow research = null; |
|---|
| | 607 | private int vaccount; |
|---|
| | 608 | private int wait4vac; |
|---|
| 605 | 609 | |
|---|
| 606 | 610 | /** |
|---|
| … | … | |
| 967 | 971 | return this.knownItems; |
|---|
| 968 | 972 | } |
|---|
| | 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 | } |
|---|
| 969 | 1008 | } |
|---|
| r89c047d |
r65e6cfe |
|
| 77 | 77 | private byte disabled; |
|---|
| 78 | 78 | private String flags; |
|---|
| 79 | | private int vaccount; |
|---|
| 80 | | private int wait4vac; |
|---|
| 81 | | |
|---|
| 82 | 79 | @Version |
|---|
| 83 | 80 | private int version; |
|---|
| … | … | |
| 162 | 159 | pre+"imgpath", this.imgpath, |
|---|
| 163 | 160 | pre+"disabled", this.disabled, |
|---|
| 164 | | pre+"flags", this.flags, |
|---|
| 165 | | pre+"vaccount", this.vaccount, |
|---|
| 166 | | pre+"wait4vac", this.wait4vac); |
|---|
| | 161 | pre+"flags", this.flags); |
|---|
| 167 | 162 | } |
|---|
| 168 | 163 | |
|---|
| … | … | |
| 465 | 460 | |
|---|
| 466 | 461 | /** |
|---|
| 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 | | /** |
|---|
| 502 | 462 | * Gibt die Versionsnummer zurueck |
|---|
| 503 | 463 | * @return Die Nummer |
|---|