A. MyObject.aproperty = 42; B. "MyObject".aproperty = 42; C. %objname = MyObject; %objname.aproperty = 42; D. %objname =42; %objname.aproperty = 42;
設(shè)某客戶端有一直接通訊函數(shù)CommandToServer(’TellEveryone’,%msg);其中,第二個參數(shù)是一個字符串。服務(wù)器端有一響應(yīng)函數(shù) functionServerCmdTellEveryone(%client,%value){} 那么,%client的值是()
A.該客戶端的GameConnection句柄 B.一個索引號,表示該客戶端在客戶端組中的編號 C.%msg的值,即一個字符串 D.‘TellEveryone’
以下代碼的輸出結(jié)果是() datablockPlayerData(objdata) { shapeFile="./player.dts"; }; functionobjdata::func(%var) { echo(%var); } objdata.func();
A.沒有輸出 B.0 C.objdata D.編譯錯誤