GrapCity.Competition.CastleRush.Ai.dll's XML Documentation
以下是GrapCity.Competition.CastleRush.Ai.dll的XML文档,如果你的Visual Studio无法顺利的显示接口的提示信息,可以在这里查找各成员的含义。--------------------我是分割线------------------------
<?xml version="1.0"?>
<doc>
<assembly>
<name>GrapCity.Competition.CastleRush.Ai</name>
</assembly>
<members>
<member name="T:GrapCity.Competition.CastleRush.Ai.ActionType">
<summary>
采取的行动类型
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.ActionType.行军">
<summary>
行军
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.ActionType.作战">
<summary>
作战
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.ActionType.占领">
<summary>
占领
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.ActionType.攻城">
<summary>
攻城
</summary>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.KnightDecision">
<summary>
骑士的动作
</summary>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.KnightDecision.Direction">
<summary>
操作的方向
</summary>
<value>
The direction.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.KnightDecision.Action">
<summary>
执行的操作
</summary>
<value>
The action.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.RecruitKnightResult">
<summary>
招募骑士操作的返回结果
</summary>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.RecruitKnightResult.Name">
<summary>
骑士的名字,这个名字会显示到
</summary>
<value>
The name.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.RecruitKnightResult.AttackPower">
<summary>
攻击力点数
</summary>
<value>
The attach power.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.RecruitKnightResult.MarchPower">
<summary>
行动力点数
</summary>
<value>
The march power.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.BaseItemView">
<summary>
地图中各元素的基类
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.BaseItemView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>元素的类型</returns>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.BaseItemView.Position">
<summary>
当前位置
</summary>
<value>
The position.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.BaseViewWithOwner">
<summary>
有所属势力的单位视图
</summary>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.BaseViewWithOwner.IsMyUnit">
<summary>
是否为己方单位
</summary>
<value>
<c>true</c> if this instance is my unit; otherwise, <c>false</c>.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.CastleView">
<summary>
城堡
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.CastleView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>
元素的类型
</returns>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.CastleView.Golds">
<summary>
当前金币数量
</summary>
<value>
The golds.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.CastleView.Shield">
<summary>
防御值
</summary>
<value>
The shield.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.ICastleStrategy">
<summary>
城堡相关的操作接口
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.ICastleStrategy.Prefetch(GrapCity.Competition.CastleRush.Ai.View.MapView)">
<summary>
执行预读
</summary>
<param name="map">当前地图状况</param>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.ICastleStrategy.RecruitKnight(GrapCity.Competition.CastleRush.Ai.View.MapView,GrapCity.Competition.CastleRush.Ai.View.CastleView)">
<summary>
决定是否招募骑士
</summary>
<param name="map">当前地图状况</param>
<param name="castle">当前城堡的状况</param>
<returns>新招募骑士的点数配比,如果返回null则表示本次不招募骑士</returns>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.ICastleStrategy.KnightDecision(GrapCity.Competition.CastleRush.Ai.View.MapView,GrapCity.Competition.CastleRush.Ai.View.CastleView,GrapCity.Competition.CastleRush.Ai.View.KnightView,System.Int32)">
<summary>
为指定的骑士作出决策
</summary>
<param name="map">当前地图状况</param>
<param name="castle">当前城堡的状况</param>
<param name="activeKnight">执行该决策的骑士状况</param>
<param name="stepIndex">这次是当前回合当前骑士的第几个动作(从0开始)</param>
<returns>
骑士的动作
</returns>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.ICastleStrategy.Id">
<summary>
选手ID。请返回一个固定值,如果使用可变值则会极大程度影响最终比赛程度。
</summary>
<value>
The id.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.ICastleStrategy.FriendlyName">
<summary>
选手名。这个名字将出现在可视化的对战平台中。
</summary>
<value>
The name of the friendly.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.Direction">
<summary>
方向
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.Direction.上">
<summary>
向上
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.Direction.下">
<summary>
向下
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.Direction.左">
<summary>
向左
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.Direction.右">
<summary>
向右
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.Direction.原地不动">
<summary>
原地不动
</summary>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.ItemType">
<summary>
元素类型的枚举
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.View.ItemType.Caslte">
<summary>
城堡
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.View.ItemType.Mine">
<summary>
金矿
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.View.ItemType.Road">
<summary>
路
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.View.ItemType.River">
<summary>
河
</summary>
</member>
<member name="F:GrapCity.Competition.CastleRush.Ai.View.ItemType.Knight">
<summary>
骑士
</summary>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.KnightView">
<summary>
骑士
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.KnightView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>
元素的类型
</returns>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.KnightView.Name">
<summary>
骑士的名字
</summary>
<value>
The name.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.KnightView.KnightId">
<summary>
骑士的ID
</summary>
<value>
The id.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.KnightView.AttackPower">
<summary>
当前攻击力
</summary>
<value>
The attach power.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.KnightView.MarchPower">
<summary>
剩余的行动力
</summary>
<value>
The march power.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.MineView">
<summary>
金矿
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.MineView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>
元素的类型
</returns>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.MineView.Reserves">
<summary>
剩余储量
</summary>
<value>
The reserves.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.PositionView">
<summary>
位置
</summary>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.PositionView.X">
<summary>
X轴坐标
</summary>
<value>
The X.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.PositionView.Y">
<summary>
Y轴坐标
</summary>
<value>
The Y.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.MapView">
<summary>
地图状况
</summary>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.MapView.Map">
<summary>
地图中各位置的元素列表。
提示: 在Map中看到的双方城堡中金币数量属性无效(均为0)。如果需要了解金币信息,请使用类型为CastleView的参数。
</summary>
<value>
The items.
</value>
</member>
<member name="P:GrapCity.Competition.CastleRush.Ai.View.MapView.RoundLeft">
<summary>
剩余的回合数
</summary>
<value>
The round left.
</value>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.RiverView">
<summary>
河流
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.RiverView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>
元素的类型
</returns>
</member>
<member name="T:GrapCity.Competition.CastleRush.Ai.View.RoadView">
<summary>
路
</summary>
</member>
<member name="M:GrapCity.Competition.CastleRush.Ai.View.RoadView.GetItemType">
<summary>
获取元素类型
</summary>
<returns>
元素的类型
</returns>
</member>
</members>
</doc> 问一下,参赛须知文档里说的需要实现的借口就是楼主发表的这个文档吗?这些名称我必须按照文档上的格式来定义,是不? 回复 2楼dy小小宝气的帖子
这些类型和接口都是我们平台提供的,你需要的做的是写一个类并且实现ICastleStrategy接口和其中的所有方法。
Ps: 如果你的实现类中没有包含这五个符合名称和签名的成员,Visual Studio是不会让你通过编译的:) 回复 3楼Valentine的帖子
谢谢! 如果你的Visual Studio无法顺利的显示接口的提示信息。。。vs用的不熟,麻烦告诉一下怎么在vs中看GrapCity.Competition.CastleRush.Ai.ICastleStrategy中的这些信息
页:
[1]