A.functionclientCmdTellMessage(%sender,%msgString){}
B.functionclientCmdTellMessage(%client,%sender,%msgString){}
C.functionclientCmdTellMessage(%client,%function,%sender,%msgString){}
D.functionclientCmdTellMessage(%client,%function,%sender,%msgString){};
您可能感興趣的試卷
你可能感興趣的試題
A.createServer("SinglePlayer","control/data/maps/book_ch4.mis");
B.createServer("MultiPlayer","control/data/maps/book_ch4.mis");
C.createServer("MultiPlayer",control/data/maps/book_ch4.mis);
D.createServer("SinglePlayer",control/data/maps/book_ch4.mis);
A. MyObject.aproperty = 42;
B. "MyObject".aproperty = 42;
C. %objname = MyObject; %objname.aproperty = 42;
D. %objname =42; %objname.aproperty = 42;
設某客戶端有一直接通訊函數(shù)CommandToServer(’TellEveryone’,%msg);其中,第二個參數(shù)是一個字符串。服務器端有一響應函數(shù)
functionServerCmdTellEveryone(%client,%value){}
那么,%client的值是()
A.該客戶端的GameConnection句柄
B.一個索引號,表示該客戶端在客戶端組中的編號
C.%msg的值,即一個字符串
D.‘TellEveryone’
以下代碼的輸出結果是()
datablockPlayerData(objdata)
{
shapeFile="./player.dts";
};
functionobjdata::func(%var)
{
echo(%var);
}
objdata.func();
A.沒有輸出
B.0
C.objdata
D.編譯錯誤
以下代碼的輸出結果是()
while(1)
{
$var++;
$result=$var;
if($result==17)break;
$var--;
}
echo($result);
A.0
B.17
C.18
D.這是一個無限循環(huán),沒有輸出