コード例 #1
0
 /// <summary>
 ///     Checks permissions of a player versus its evaluation body.
 /// </summary>
 /// <param name="obj">A reference to the player object trying to evaluate against the Permission Object.</param>
 /// <returns>A boolean, whether or not the player has access do whatever they are trying to do.</returns>
 public bool HasPermission(ref MUA.MObject obj)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
 /// <summary>
 ///     Executes the body of the child. This will never be called on itself.
 /// </summary>
 /// <param name="obj">The object executing the body, used for the sake of evaluating Permissions.</param>
 /// <param name="arguments">A Stack of FunctionResults that represent the arguments.</param>
 /// <returns>The MarkupString to be appended as a result of this function call.</returns>
 /// <remarks>This may have to be changed to a FunctionResultStringTuple or something similar to enable the use of tuples.</remarks>
 public FunctionResult ExecuteBody(ref MUA.MObject obj, ref Stack <FunctionResult> arguments)
 {
     this.Permissions.HasPermission(ref obj);
     throw new NotImplementedException();
 }