wangyuan 2019-06-30 20:14:40 +08:00
parent d064d102ab
commit 50fdae30bf
2 changed files with 34 additions and 2 deletions

View File

@ -1,4 +1,19 @@
package com.ljsd.jieling.handler.map.behavior;
public class FourtyThreeBehavior {
import com.ljsd.jieling.handler.map.EventType;
import com.ljsd.jieling.logic.dao.root.User;
import com.ljsd.jieling.protocols.MapInfoProto;
import org.springframework.stereotype.Component;
@Component
public class FourtyThreeBehavior extends BaseBehavior{
@Override
public int getBehaviorType() {
return EventType.fourtyThree;
}
@Override
public boolean process(int optionId, User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
return false;
}
}

View File

@ -1,4 +1,21 @@
package com.ljsd.jieling.handler.map.behavior;
public class FourtyOneBehavior {
import com.ljsd.jieling.handler.map.EventType;
import com.ljsd.jieling.handler.map.MapManager;
import com.ljsd.jieling.logic.dao.root.User;
import com.ljsd.jieling.protocols.MapInfoProto;
import org.springframework.stereotype.Component;
@Component
public class FourtyTwoBehavior extends BaseBehavior{
@Override
public int getBehaviorType() {
return EventType.fourtyTwo;
}
@Override
public boolean process(int optionId, User user, int[][] behaviorTypeValues, MapInfoProto.EventUpdateResponse.Builder eventUpdateResponse) throws Exception {
MapManager mapManager = user.getMapManager();
return false;
}
}