Skip to content

Commit 62cf61c

Browse files
author
magiclu550
committed
[JSMOD@2_470_COMMIT] China No1
1 parent b82175f commit 62cf61c

3 files changed

Lines changed: 36 additions & 2 deletions

File tree

Binary file not shown.
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
package cn.jsmod2.network.protocol.map.map;
22

3-
public class Get079InteractionRoomsPacket {
3+
import cn.jsmod2.api.map.Room;
4+
import cn.jsmod2.api.map.Scp079InteractionType;
5+
import cn.jsmod2.core.protocol.GetPacket;
6+
7+
public class Get079InteractionRoomsPacket extends GetPacket {
8+
9+
public static final int ID = 151;
10+
11+
public Scp079InteractionType type;
12+
13+
public Get079InteractionRoomsPacket() {
14+
super(ID, Room.class);
15+
}
16+
17+
@Override
18+
public Room[] send() {
19+
return (Room[]) requester.with("type",type).get().getProtocolArray(false).toArray();
20+
}
421
}
Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
package cn.jsmod2.network.protocol.map.map;
22

3-
public class GetBlastDoorPointsPacket {
3+
import cn.jsmod2.api.team.Role;
4+
import cn.jsmod2.core.math.Vector;
5+
import cn.jsmod2.core.protocol.GetPacket;
6+
7+
public class GetBlastDoorPointsPacket extends GetPacket {
8+
9+
public Role role;
10+
11+
public static final int ID = 152;
12+
13+
public GetBlastDoorPointsPacket(){
14+
super(ID, Vector.class);
15+
}
16+
17+
@Override
18+
public Object send() {
19+
return requester.with("role",role);
20+
}
421
}

0 commit comments

Comments
 (0)