using (ScriptAPI) { AddUShort("ErrorCode"); AddUShort("MasterHandle"); AddUInt("PetRegNum"); }