ÄÚµå : |
protected override void OnLocationChange( Point3D oldLocation )
{
base.OnLocationChange( oldLocation );
// old locationÀÌ Á¦·Î ÀÎÁö üũ (¸ð¹ÙÀÏÀÌ ¿ùµå¿¡ ÅõÀԵǾú´Ù¸é)
if( ( this.m_PostBounty == true ) && ( oldLocation == Point3D.Zero ) && ( this.Map != Map.Internal ) )
this.AddQuestPost();
}
|
ÄÚµå : |
private void AddQuestPost()
{
int RangeToPost = 250; //ÀÌ°Ô ¹üÀ§Áö¿ä.
string Subject = "Çö»ó¼ö¹è";
string[] Message = new string[]{
this.Name,
"´Â" + this.Kills + " ¸íÀÇ »ç¶÷µéÀ»",
"Á׿´½À´Ï´Ù. ¿µÁÖ²²¼´Â",
"±×ÀÚÀÇ ¸ñ¿¡ Çö»ó±ÝÀ»",
"°Å¼Ì½À´Ï´Ù.",
this.Bounty + "°ñµå°¡",
"Çö»ó±ÝÀ¸·Î Áö±ÞµÉ°ÍÀÔ´Ï´Ù.",
this.Name + " ÀÇ ¸Ó¸®¸¦",
"¸¶À» °æºñº´¿¡°Ô ³Ñ°ÜÁÖ¸é",
"Çö»ó±ÝÀ» ¹ÞÀ»¼ö ÀÖ½À´Ï´Ù."
};
BulletinMessage[] posts = BulletinBoard.PostQuest( this, RangeToPost, Subject, Message );
// Äù½ºÆ®°¡ °Ô½ÃÆÇ¿¡ Æ÷½ºÆÃµÇ¾ú´Ù¸é ÀúÀåÇÔ.
if( posts.Length > 0 )
this.Items.InsertRange( 0, posts );
}
|