Blame view

cmd/test/action/protocode.go 926 Bytes
495e9142   zhangqijia   fix: 增加DisConnect...
1
2
3
4
5
6
7
8
  package action
  
  import (
  	"pro2d/pb"
  )
  
  func GetTestActionMap() map[interface{}]interface{} {
  	am := make(map[interface{}]interface{})
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
9
  	am[uint32(pb.ProtoCode_HeartRpc)] = HeartRsp
f8ce769e   zhangqijia   fix: rpc = rar + ...
10
11
12
  	am[uint32(pb.ProtoCode_RoleStartBattleRpc)] = RoleStartBattleRsp
  	am[uint32(pb.ProtoCode_RoleEndBattleRpc)] = RoleEndBattleRsp
  	am[uint32(pb.ProtoCode_HeroUpLevelRpc)] = HeroUpLevelRsp
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
13
14
15
16
  	am[uint32(pb.ProtoCode_CreateRpc)] = CreateRsp
  	am[uint32(pb.ProtoCode_ChangeTeamRpc)] = ChangeTeamRsp
  	am[uint32(pb.ProtoCode_HeroEquipReferRpc)] = HeroEquipReferRsp
  	am[uint32(pb.ProtoCode_RoleClearItemsRpc)] = RoleClearItemsRsp
2e0d2609   zhangqijia   fix: 英雄升级返回值+prot...
17
  	am[uint32(pb.ProtoCode_EquipmentDelRpc)] = EquipmentDelRsp
a0fb8df9   zhangqijia   fix: update nty
18
  	am[uint32(pb.ProtoCode_DisConnectNty)] = DisConnectNty
23822e2f   zhangqijia   fix: update proto...
19
  	am[uint32(pb.ProtoCode_RoleUpdatePropertyNty)] = RoleUpdatePropertyNty
a0fb8df9   zhangqijia   fix: update nty
20
  	am[uint32(pb.ProtoCode_RoleUpdateItemsNty)] = RoleUpdateItemsNty
23822e2f   zhangqijia   fix: update proto...
21
  	am[uint32(pb.ProtoCode_EquipmentAddNty)] = EquipmentAddNty
495e9142   zhangqijia   fix: 增加DisConnect...
22
23
  
  	return am
8568cf44   zhangqijia   update preserve
24
  }