RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
LoginDetailsPacket.java
1package com.osroyale.net.codec.login;
2
3import com.osroyale.net.codec.IsaacCipher;
4
34
35public final class LoginDetailsPacket {
36
37 private final String UUID;
38 private final String macAddress;
39 private final String username;
40 private final String password;
41 private final IsaacCipher encryptor;
42 private final IsaacCipher decryptor;
43
44 public LoginDetailsPacket(String UUID, String macAddress, String username, String password,
45 IsaacCipher encryptor, IsaacCipher decryptor) {
46 this.UUID = UUID;
47 this.macAddress = macAddress;
48 this.username = username.trim();
49 this.password = password;
50 this.encryptor = encryptor;
51 this.decryptor = decryptor;
52 }
53
54 public String getUUID() {
55 return UUID;
56 }
57
58 public String getUsername() {
59 return username;
60 }
61
62 public String getPassword() {
63 return password;
64 }
65
66 public IsaacCipher getEncryptor() {
67 return encryptor;
68 }
69
70 public IsaacCipher getDecryptor() {
71 return decryptor;
72 }
73
74 public String getMacAddress() {
75 return macAddress;
76 }
77
78}