关于updateElement接口
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);
对于单个因为有可能不需要邮件,因为可能是减或者根本不是道具所以有可能不需要,对于多个因为根本不知道加入的多个元素到底是什么东西,所以这个邮件是需要的,用引用是为了防止空指针的出现
最新文章
- ASP.NET MVC 过滤器(五)
- 回顾yii的学习进程 总结了一下的发展过程
- 强大的commons
- Redis的发布订阅
- 百度地图API示例之添加/删除工具条、比例尺控件
- python numpy 教程
- SSRS匿名访问
- Oracle 删除重复行
- yarn的调度策略
- hdu 2955 Robberies 0-1背包/概率初始化
- Winform DataGridView单元格的提示信息
- [转]IIS上部署网站
- angularjs hover
- c#控制其他程序窗口位置
- ThinkPHP5.0学习1 — 命名空间
- Python的招牌菜xmlrpc
- ANSYS中的阻尼damper
- vuejs2.0实现一个简单的分页
- django 学习手册 - ORM 报错集(随时更新)
- springboot整合druid数据库连接池并开启监控