blob: 3be1f3ae39db83e141f67a66f2e5f4162d068e7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/* */ package NET.worlds.scape;
/* */
/* */ import NET.worlds.network.ObjID;
/* */ import NET.worlds.network.URL;
/* */ import NET.worlds.network.WorldServer;
/* */ import java.io.IOException;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ public class MutedDrone
/* */ extends Drone
/* */ {
/* */ public MutedDrone(ObjID objID, WorldServer serv, URL url)
/* */ {
/* 31 */ super(objID, serv);
/* 32 */ setSourceURL(url);
/* */ }
/* */
/* */
/* */
/* */
/* */ public MutedDrone() {}
/* */
/* */
/* */
/* */ public Drone setAvatarNow(URL url)
/* */ {
/* 44 */ if (shouldBeMuted())
/* */ {
/* 46 */ setSourceURL(url);
/* 47 */ return this;
/* */ }
/* */
/* */
/* */
/* */
/* 53 */ return super.setAvatarNow(url);
/* */ }
/* */
/* */
/* */
/* 58 */ private static Object classCookie = new Object();
/* */
/* */ public void saveState(Saver s) throws IOException {
/* 61 */ s.saveVersion(1, classCookie);
/* 62 */ super.saveState(s);
/* */ }
/* */
/* */ public void restoreState(Restorer r) throws IOException, TooNewException
/* */ {
/* 67 */ int vers = r.restoreVersion(classCookie);
/* 68 */ switch (vers) {
/* */ case 1:
/* 70 */ super.restoreState(r);
/* 71 */ break;
/* */ default:
/* 73 */ throw new TooNewException();
/* */ }
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\MutedDrone.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|