classplayersettings.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,391 行 · 第 1/5 页
HTML
1,391 行
<p>References <a class="el" href="PlayerSettings_8h-source.html#l00085">dFastPassEndSpeed</a>. </td> </tr></table><a name="a30" doxytag="PlayerSettings::setFractionWaitNoSee"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setFractionWaitNoSee </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>fraction of simulation step that is waited when no see arrives (in range [0..1]) </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00390">390</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00088">dFractionWaitNoSee</a>. </td> </tr></table><a name="a32" doxytag="PlayerSettings::setFractionWaitSeeBegin"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setFractionWaitSeeBegin </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first part of the cycle. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>fraction of simulation step that is waited when see arrives in the first half of the cycle (in range [0..1]) </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00412">412</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00091">dFractionWaitSeeBegin</a>. </td> </tr></table><a name="a34" doxytag="PlayerSettings::setFractionWaitSeeEnd"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setFractionWaitSeeEnd </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second part of the cycle. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>fraction of simulation step that is waited when see arrives in the second half of the cycle (in range [0..1]) </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00434">434</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00094">dFractionWaitSeeEnd</a>.<p>Referenced by <a class="el" href="WorldModelUpdate_8C-source.html#l00410">WorldModel::updateAll</a>(). </td> </tr></table><a name="a36" doxytag="PlayerSettings::setMarkDistance"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setMarkDistance </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the desired distance to an opponent which should be marked. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>desired marking distance to an opponent </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00452">452</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00097">dMarkDistance</a>. </td> </tr></table><a name="a24" doxytag="PlayerSettings::setPassEndSpeed"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setPassEndSpeed </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the desired end speed for the ball when a normal pass is performed. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>desired end speed for ball (>0) </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00332">332</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00084">dPassEndSpeed</a>. </td> </tr></table><a name="a28" doxytag="PlayerSettings::setPassExtraX"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setPassExtraX </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>This method sets the x value that is added to the position of a teammate when a leading pass is performed. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>d</em> </td><td>x value added to teammate to which is passed </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>boolean indicating whether update was successful </dl><p>Definition at line <a class="el" href="PlayerSettings_8C-source.html#l00369">369</a> of file <a class="el" href="PlayerSettings_8C-source.html">PlayerSettings.C</a>.<p>References <a class="el" href="PlayerSettings_8h-source.html#l00086">dPassExtraX</a>. </td> </tr></table><a name="a2" doxytag="PlayerSettings::setPlayerConfThr"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool PlayerSettings::setPlayerConfThr </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">double </td> <td class="mdname1" valign="top" nowrap> <em>d</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?