ÀÌÀü ±Û :: ´ÙÀ½ ±Û |
±Û ¾´ÀÌ |
¸Þ¼¼Áö ³»¿ë |
GangPung
°¡ÀÔÀÏ: 2003³â 12¿ù 22ÀÏ
°Ô½Ã¹°: 322
ÁÖ ¼Ò: ´ëÇѹα¹
|
±Û ÀÛ¼º½Ã°£ : 2003-12-22 ¿ù 5:39 pm Á¦¸ñ: °èÁ¤´ç Äɸ¯ÅÍ »ý¼º Á¦ÇÑ¿¡ ´ëÇØ... |
|
|
Misc\CharacterCreation.cs
¶óÀÎ 438
ÄÚµå :
...
...
...
...
...
private static Mobile CreateMobile( Account a )
{
for ( int i = 0; i & 5; ++i )
if ( a[i] == null )
return (a[i] = new PlayerMobile());
return null;
}
...
...
...
for ( int i = 0; i & 5; ++i ) ºÎºÐ¸¦ ¼öÁ¤ÇϽøéµË´Ï´Ù. ÇѰèÁ¤´ç ÃÖ´ë 5°³ÀÇ Äɸ¯ÅÍ »ý¼ºÀÌ µðÆúÆ® °ªÀ¸·Î ¼³Á¤µÅÀÖÀ¸¸ç 5ÀÇ ¼ýÀÚ¸¦ Á¶ÀýÇϽøéµË´Ï´Ù. |
|
¸Ç À§·Î °¡±â |
|
wind0204
°¡ÀÔÀÏ: 2004³â 06¿ù 05ÀÏ
°Ô½Ã¹°: 60
ÁÖ ¼Ò: /
|
±Û ÀÛ¼º½Ã°£ : 2005-02-01 È 6:14 pm Á¦¸ñ: ¾Ñ.. ³» RunUO 1.0 ¿¡¼´Â |
|
|
Á¦ ½ºÅ©¸³¿¡´Â i & 5 ´ë½Å i < a.Length °¡ Àֳ׿ä.....
¾î¶»°ÔÇØ¾ßÇϳª¿ä?
Á¦ °³ÀÎÀûÀÎ »ý°¢À¸·Î a.Length´Â ÇØ´ç °èÁ¤ÀÇ ÇѰè Äɸ¯ÅÍ ¼ö °°¾Æ¿ä.
½ºÅ©¸³À» ºÙ¿©³Ö¾îº¸ÁÒ.
ÄÚµå :
private static Mobile CreateMobile( Account a )
{
if ( a.Count >= a.Limit )
return null;
for ( int i = 0; i < a.Length; ++i )
{
if ( a[i] == null )
return (a[i] = new PlayerMobile());
}
return null;
}
±×³É ´Ü¼øÈ÷ a.Length ¿¡´Ù°¡ Á¦°¡ ¿øÇÏ´Â ¼ö¸¦ ³ÖÀ¸¸é µÅ´Â°Ç°¡¿ä?
±×°Íº¸´Ù ´õ ÀÚ¼¼È÷ Á¢±ÙÇØº¸°í½Í½À´Ï´Ù. a.Length¿¡ ´ëÇØ... |
|
¸Ç À§·Î °¡±â |
|
c1dong8
°¡ÀÔÀÏ: 2004³â 01¿ù 26ÀÏ
°Ô½Ã¹°: 446
|
±Û ÀÛ¼º½Ã°£ : 2005-11-19 Åä 12:12 pm Á¦¸ñ: Èì |
|
|
a.Count >= a.Limit
¸¦
a.Count >= 3
¿ä·¸°Ô Çϸé 3¸íÀÌ»ó ¸ø¸¸µë´Ï´Ù.
¹®Á¦´Â Ŭ¶óÀ̾ðÆ®ÇÑÅ×´Â ¾î¶°ÇÑ ¸Þ½ÃÁöµµ ¾È¶á´Ù´Â ¤Ñ,.¤Ñ;; |
|
¸Ç À§·Î °¡±â |
|
|