A. MyObject.aproperty = 42; B. "MyObject".aproperty = 42; C. %objname = MyObject; %objname.aproperty = 42; D. %objname =42; %objname.aproperty = 42;
設某客戶端有一直接通訊函數CommandToServer(’TellEveryone’,%msg);其中,第二個參數是一個字符串。服務器端有一響應函數 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.編譯錯誤