|
36 | 36 | import cn.jsmod2.network.protocol.item.*; |
37 | 37 | import cn.jsmod2.network.protocol.map.door.*; |
38 | 38 | import cn.jsmod2.network.protocol.map.elevator.*; |
| 39 | +import cn.jsmod2.network.protocol.map.generator.*; |
39 | 40 | import cn.jsmod2.network.protocol.server.*; |
40 | 41 |
|
41 | 42 | import java.util.*; |
@@ -154,7 +155,18 @@ public void registerPacket(){ |
154 | 155 | packets.put(SetElevatorLockedPacket.class,SetElevatorLockedPacket.ID); |
155 | 156 | packets.put(SetElevatorMovingSpeedPacket.class,SetElevatorMovingSpeedPacket.ID); |
156 | 157 | packets.put(UseElevatorPacket.class,UseElevatorPacket.ID); |
157 | | - //~130 最大 下一个131 |
| 158 | + packets.put(GetGeneratorPositionPacket.class,GetGeneratorPositionPacket.ID); |
| 159 | + packets.put(GetGeneratorTimeLeftPacket.class,GetGeneratorTimeLeftPacket.ID); |
| 160 | + packets.put(GetGeneratorStartTimePacket.class,GetGeneratorStartTimePacket.ID); |
| 161 | + packets.put(GetGeneratorEngagedPacket.class,GetGeneratorEngagedPacket.ID); |
| 162 | + packets.put(GetGeneratorHasTabletPacket.class,GetGeneratorHasTabletPacket.ID); |
| 163 | + packets.put(GetGeneratorLockedPacket.class,GetGeneratorLockedPacket.ID); |
| 164 | + packets.put(GetGeneratorOpenPacket.class,GetGeneratorOpenPacket.ID); |
| 165 | + packets.put(SetGeneratorTimeLeftPacket.class,SetGeneratorTimeLeftPacket.ID); |
| 166 | + packets.put(SetGeneratorHasTabletPacket.class,SetGeneratorHasTabletPacket.ID); |
| 167 | + packets.put(SetGeneratorOpenPacket.class,SetGeneratorOpenPacket.ID); |
| 168 | + //11 |
| 169 | + //~143 最大 下一个144 |
158 | 170 | putPackets(); |
159 | 171 | } |
160 | 172 |
|
|
0 commit comments