zoukankan      html  css  js  c++  java
  • 关于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);

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

  • 相关阅读:
    Elasticsearch常用插件集合(转)
    istio 安装与bookinfo示例运行(转)
    kubernetes发布tomcat服务,通过deployment,service布署(转)
    记一次ceph集群的严重故障 (转)
    Linux centos 7 安装NFS服务
    Centos7下使用Ceph-deploy快速部署Ceph分布式存储-操作记录(转)
    docker 安装 jmeter
    idea 2018.1破解激活方法,有效期至2099年
    MySQL和Oracle的区别
    SpringCloud面试题
  • 原文地址:https://www.cnblogs.com/zzyoucan/p/4628508.html
Copyright © 2011-2022 走看看