MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / getData

Method getData

src/main/java/core/packetproxy/gui/GUIPacket.java:94–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 public byte[] getData() {
95 switch (packet_pane.getSelectedIndex()) {
96
97 case 0 :
98 return received_panel.getData();
99 case 1 :
100 return decoded_panel.getData();
101 case 2 :
102 return modified_panel.getData();
103 case 3 :
104 return sent_panel.getData();
105 default :
106 return modified_panel.getData();
107 }
108 }
109
110 public void update() {
111 if (showing_packet == null) {

Callers

nothing calls this directly

Calls 1

getSelectedIndexMethod · 0.45

Tested by

no test coverage detected