예제 #1
0
 public AnSessionResp(AnsonMsg parent, SessionInf ssInf)
     : base(parent)
 {
     // TODO built-in role?
     // if (roleId != null && roleId.length > 0)
     //  ssInf.roleId = roleId[0];
     this.ssInf = ssInf;
 }
예제 #2
0
 public AnSessionResp(AnsonMsg parent, string ssid, string uid, params string[] roleId)
     : base(parent)
 {
     ssInf = new SessionInf(ssid, uid, roleId == null || roleId
                            .Length == 0 ? null : roleId[0]);
     //ssInf.ssid = ssid;
     //ssInf.uid = uid;
 }