public static BnetErrorInfo CreateFromDll(BattleNet.DllErrorInfo src) { BnetErrorInfo info = new BnetErrorInfo(); info.CopyFrom(src); return(info); }
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; }