public void UpdatedNetStateEventArgsConstructorTest()
 {
     NetState oldNetState = null; // TODO: 初始化为适当的值
     BaseCharacter character = null; // TODO: 初始化为适当的值
     UpdatedNetStateEventArgs target = new UpdatedNetStateEventArgs( oldNetState, character );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
 public void OldNetStateTest()
 {
     NetState oldNetState = null; // TODO: 初始化为适当的值
     BaseCharacter character = null; // TODO: 初始化为适当的值
     UpdatedNetStateEventArgs target = new UpdatedNetStateEventArgs( oldNetState, character ); // TODO: 初始化为适当的值
     NetState actual;
     actual = target.OldNetState;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
        /// <summary>
        ///
        /// </summary>
        internal void OnUpdatedNetState(NetState netState, BaseCharacter creature)
        {
            EventHandler <UpdatedNetStateEventArgs> tempAfterEventArgs = m_EventUpdatedNetState;

            if (tempAfterEventArgs != null)
            {
                UpdatedNetStateEventArgs eventArgs = new UpdatedNetStateEventArgs(netState, creature);
                tempAfterEventArgs(this, eventArgs);
            }
        }
 /// <summary>
 /// 
 /// </summary>
 internal void OnUpdatedNetState( NetState netState, BaseCharacter creature )
 {
     EventHandler<UpdatedNetStateEventArgs> tempAfterEventArgs = m_EventUpdatedNetState;
     if ( tempAfterEventArgs != null )
     {
         UpdatedNetStateEventArgs eventArgs = new UpdatedNetStateEventArgs( netState, creature );
         tempAfterEventArgs( this, eventArgs );
     }
 }