Second Cicle [3]
![Second Cicle [3] Second Cicle [3]](images/magic/23.gif)
°¡ÀÔÀÏ: 2004³â 10¿ù 15ÀÏ °Ô½Ã¹°: 24 ÁÖ ¼Ò: /
|
GenericBuy.cs ¿¡¼ º¸¸é¿ä
ÄÚµå : |
public GenericBuyInfo( Type type, int price, int amount, int itemID, int hue ) : this( null, type, price, amount, itemID, hue, null )
{
}
public GenericBuyInfo( string name, Type type, int price, int amount, int itemID, int hue ) : this( name, type, price, amount, itemID, hue, null )
{
}
public GenericBuyInfo( Type type, int price, int amount, int itemID, int hue, object[] args ) : this( null, type, price, amount, itemID, hue, args )
{
}
public GenericBuyInfo( string name, Type type, int price, int amount, int itemID, int hue, object[] args )
{
//amount = 20;
m_Type = type;
m_Price = price;
m_MaxAmount = m_Amount = amount;
m_ItemID = itemID;
m_Hue = hue;
m_Args = args;
if ( name == null )
m_Name = (1020000 + (itemID & 0x3FFF)).ToString();
else
m_Name = name;
}
|
ÀÌ·¸°Ô µÇ¾îÀִµ¥¿ä.
Add( new GenericBuyInfo( "±æµå µðµå", typeof( GuildDeed ), 12450, 20, 0x14F0, 0 ) );
¶ó°í ÇØÁ൵ ½ºÆ®¸µÀ¸·Î ¼±¾ðµÈ name¿¡ ÀÖ´Â "±æµå µðµå"°¡ ±×´ë·Î ¾È¶ß°í ´Ü¼øÈ÷ "µðµå" ¶ó°í¸¸ ¶ß´õ¶ó±¸¿ä..
±× À̿ܿ¡ Áý µðµå¶óµç°¡. ¹è µðµå µîµî µéµµ ÀÚ¼¼ÇÑ À̸§ÀÌ ¾È¶ß°í ´Ù¸¥ À̸§µéÀÌ ¶ß´øµ¥¿ä.. ¹«¾ùÀÌ ¹®Á¦ÀÎÁö ¾Ë·ÁÁÖ¼ÌÀ¸¸é ÇÕ´Ï´Ù.
ÁÁÀºÇÏ·ç µÇ¼¼¿ä. (__)
|
|