1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<TITLE>NWC24FriendAttr</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8</HEAD>
9<BODY>
10<H1>NWC24FriendAttr</H1>
11
12<H2>C Specification</H2>
13<DL>
14  <DD><PRE><CODE>#include &lt;revolution/nwc24.h&gt;</CODE></PRE>
15  <DD><PRE><CODE>typedef struct NWC24FriendAttr
16{
17    u32     type;
18    u32     status;
19    u16     name[12];
20    u64     fdId;
21    u32     reserved[6];
22} NWC24FriendAttr;
23</CODE></PRE>
24</DL>
25
26<H2>Description</H2>
27<P>
28Stores the attributes (status, nickname, etc.) of the registered friend.
29</P>
30<TABLE border="1" cellpadding="3" cellspacing="0.1">
31  <TR>
32<TD width="120" bgcolor="#ffffe8"><code><em><strong>type</strong></em></code></TD>
33    <TD width="520">
34Indicates the type of the registered address.<BR>
35      <TABLE width="500" border="1" cellspacing="0.1">
36          <TR>
37<TD width="150" bgcolor="#C0C0C0">Value</TD>
38<TD width="350" bgcolor="#C0C0C0">Description</TD>
39          </TR>
40          <TR>
41<TD><code>NWC24_FI_TYPE_WII</code></TD><TD>Wii number</TD>
42          </TR>
43          <TR>
44<TD><code>NWC24_FI_TYPE_PUBLIC</code></TD><TD>General e-mail address</TD>
45          </TR>
46      </TABLE>
47    </TD>
48  </TR>
49  <TR>
50<TD width="120" bgcolor="#ffffe8"><code><em><strong>status</strong></em></code></TD>
51    <TD width="520">
52Indicates whether it is possible to communicate with the registered address (whether a friend relationship has been established).<BR>
53      <TABLE width="500" border="1" cellspacing="0.1">
54          <TR>
55<TD width="150" bgcolor="#C0C0C0">Value</TD>
56<TD width="350" bgcolor="#C0C0C0">Description</TD>
57          </TR>
58          <TR>
59<TD><code>NWC24_FI_STAT_PENDING</code></TD><TD>Relationship is not yet established</TD>
60          </TR>
61          <TR>
62<TD><code>NWC24_FI_STAT_ESTABLISHED</code></TD><TD>Relationship is established</TD>
63          </TR>
64          <TR>
65<TD><code>NWC24_FI_STAT_DECLINED</code></TD><TD>Relationship was not established</TD>
66          </TR>
67      </TABLE>
68    </TD>
69  </TR>
70  <TR>
71<TD width="120" bgcolor="#ffffe8"><code><em><strong>name</strong></em></code></TD>
72    <TD width="520">
73Indicates the nickname locally given to the registered address by the user.<BR>The character code is expressed in UTF-16BE format. Although the number of elements in the array is set to 12, the actual character limit is 10. The remainder must be padded with zeroes. For more on characters that can be used here, see the <A HREF="../FriendList/nickname_char_list.html">List of Characters that can be Input in the Address Book</A>.
74    </TD>
75  </TR>
76  <TR>
77<TD width="120" bgcolor="#ffffe8"><code><em><strong>fdId</strong></em></code></TD>
78    <TD width="520">
79If a Mii is set when registering an address in the system address book, that ID will be stored for searching. In order to get the data for such Miis, perform a search of this 64-bit value as <code>RFLCreateID</code> using RFLFaceLibrary. (For further details, see the function reference for RFLFaceLibrary.)
80    </TD>
81  </TR>
82  <TR>
83<TD width="120" bgcolor="#ffffe8"><code><em><strong>reserved</strong></em></code></TD>
84    <TD width="520">
85Reserved region
86    </TD>
87  </TR>
88</TABLE>
89
90<H2>See Also</H2>
91<P>
92<A HREF="../FriendList/nickname_char_list.html">List of Characters that can be Input in the Address Book</A>
93</P>
94
95<H2>Revision History</H2>
96<P>
972007/11/22 Added a link to the List of Characters that can be Input in the Address Book.<BR>2007/02/14 Added description of <CODE>fdId</CODE>.<BR>2006/12/05 Added <code>NWC24_FI_STAT_DECLINED</code> to the <code><em><strong>status</strong></em></code> column.<BR>2006/09/16 Revisions accompanying changes to structure definitions.<BR>2006/09/01 Initial version.
98</P>
99
100<hr><p>CONFIDENTIAL</p></body>
101</HTML>