1.bool UpdateGameElement(const struct_game_element& ele, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField<struct_game_element>& c_rep_game_ele, gs_c_mail_ntf_array* pMailNtf = NULL, ::google::protobuf::RepeatedPtrField<user_hero>* c_heros = NULL);
2,bool UpdateGameElement(const ::google::protobuf::RepeatedPtrField<struct_game_element>& rep_ele, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField<struct_game_element>& c_rep_game_ele, gs_c_mail_ntf_array& mail_ntf, ::google::protobuf::RepeatedPtrField<user_hero>* c_heros = NULL);

3.bool UpdateGameElement(const stGameElement& ele, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField<struct_game_element>& c_rep_game_ele, gs_c_mail_ntf_array* pMailNtf = NULL, ::google::protobuf::RepeatedPtrField<user_hero>* c_heros = NULL);
4.bool UpdateGameElement(const std::vector<stGameElement*> &eles, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField<struct_game_element>& c_rep_game_ele, gs_c_mail_ntf_array& mail_ntf, ::google::protobuf::RepeatedPtrField<user_hero>* c_heros = NULL);
bool UpdateGameElement(const std::vector<stGameElement> &eles, gs_dbs_user_info_op_req& db_req, ::google::protobuf::RepeatedPtrField<struct_game_element>& c_rep_game_ele, gs_c_mail_ntf_array& mail_ntf, ::google::protobuf::RepeatedPtrField<user_hero>* c_heros = NULL);

对于单个因为有可能不需要邮件,因为可能是减或者根本不是道具所以有可能不需要,对于多个因为根本不知道加入的多个元素到底是什么东西,所以这个邮件是需要的,用引用是为了防止空指针的出现

最新文章

  1. ASP.NET MVC 过滤器(五)
  2. 回顾yii的学习进程 总结了一下的发展过程
  3. 强大的commons
  4. Redis的发布订阅
  5. 百度地图API示例之添加/删除工具条、比例尺控件
  6. python numpy 教程
  7. SSRS匿名访问
  8. Oracle 删除重复行
  9. yarn的调度策略
  10. hdu 2955 Robberies 0-1背包/概率初始化
  11. Winform DataGridView单元格的提示信息
  12. [转]IIS上部署网站
  13. angularjs hover
  14. c#控制其他程序窗口位置
  15. ThinkPHP5.0学习1 — 命名空间
  16. Python的招牌菜xmlrpc
  17. ANSYS中的阻尼damper
  18. vuejs2.0实现一个简单的分页
  19. django 学习手册 - ORM 报错集(随时更新)
  20. springboot整合druid数据库连接池并开启监控

热门文章

  1. 30Springd的包扫描——&lt;context:component-scan base-package=” ”/&gt;
  2. 06Spring_使用注解配置bean对象
  3. C语言 百炼成钢2
  4. C语言 生成随机数
  5. eclipse使用
  6. Android使用service后台更新计划任务
  7. 学习Shell脚本编程(第1期)_Shell命令行书写规则
  8. Django1.8教程——从零开始搭建一个完整django博客(二)
  9. 好玩的Prim算法
  10. Aspose.Cells 读取受保护的Excel