Ejemplo n.º 1
0
    public static BnetErrorInfo CreateFromDll(BattleNet.DllErrorInfo src)
    {
        BnetErrorInfo info = new BnetErrorInfo();

        info.CopyFrom(src);
        return(info);
    }
Ejemplo n.º 2
0
 public void CopyFrom(BattleNet.DllErrorInfo src)
 {
     this.m_feature       = (BnetFeature)src.feature;
     this.m_featureEvent  = (BnetFeatureEvent)src.featureEvent;
     this.m_error         = (BattleNetErrors)src.code;
     this.m_clientContext = src.context;
 }