summaryrefslogtreecommitdiff
path: root/NET/worlds/network/BuddyListNotifyCmd.java
blob: 37ab715db557a5741cc364f2a11b4e8b1d764526 (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
/*    */ package NET.worlds.network;
/*    */ 
/*    */ import NET.worlds.console.FriendsListPart;
/*    */ import java.io.IOException;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class BuddyListNotifyCmd
/*    */   extends receivedNetPacket
/*    */ {
/*    */   public static final byte BUDDYLISTNOTIFYCMD = 30;
/*    */   protected String buddyName;
/*    */   protected int loggedOn;
/*    */   
/*    */   public BuddyListNotifyCmd()
/*    */   {
/* 26 */     this._commandType = 30;
/*    */   }
/*    */   
/*    */   void parseNetData(ServerInputStream data) throws IOException
/*    */   {
/* 31 */     this.buddyName = data.readUTF();
/*    */     
/*    */ 
/*    */ 
/*    */ 
/* 36 */     this.loggedOn = data.readByte();
/*    */   }
/*    */   
/*    */   void process(WorldServer serv) throws Exception
/*    */   {
/* 41 */     FriendsListPart.processBuddyListNotify(serv, this.buddyName, this.loggedOn);
/*    */   }
/*    */   
/*    */ 
/*    */   public String toString(WorldServer serv)
/*    */   {
/* 47 */     return "BUDDYLISTNOTIFY " + this.buddyName + " " + this.loggedOn;
/*    */   }
/*    */ }


/* Location:              C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\network\BuddyListNotifyCmd.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */