using (ScriptAPI) { AddUShort("MasterHandle"); AddUInt("PetRegNum"); AddField("PetName", 20); }