Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 00042 00043 00044 00045 00046 00047 00048 00049 00050 00051 00052 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 |
//============================================================================== // Created on: 10/12/2003 // Standard ID3 Tag // Contains Artist, Title, Album, Lyrics, etc. // // Written by Ron Prestenback // © 2003, Epic Games, Inc. All Rights Reserved //============================================================================== class StreamTag extends StreamBase within Stream Native; cpptext { friend class UStream; protected: UBOOL HasV2Tag( FArchive* InReader ) const; UBOOL HasV1Tag( FArchive* InReader ) const; UBOOL SaveTag(); UBOOL LinkTag( /*const TCHAR* FileName*/ ); void RefreshShortcuts(); } // shortcuts var() const editconst ID3Field TagID; var() const editconst ID3Field TrackNumber; var() const editconst ID3Field Title; var() const editconst ID3Field Artist; var() const editconst ID3Field Album; var() const editconst ID3Field Year; var() const editconst ID3Field Genre; var() editconst ID3Field Duration; // in milliseconds var() const editconst editconstarray array<ID3Field> Fields; var private pointer NativeID3Tag[2]; delegate OnRefresh(); function DumpScriptTag() { local int i; log("================"); log(" TagID:"$TagID.FieldName@"#"@TagID.FieldValue); log("TrackNumber:"$TrackNumber.FieldName@"#"@TrackNumber.FieldValue); log(" Title:"$Title.FieldName@"#"@Title.FieldValue); log(" Artist:"$Artist.FieldName@"#"@Artist.FieldValue); log(" Album:"$Album.FieldName@"#"@Album.FieldValue); log(" Year:"$Year.FieldName@"#"@Year.FieldValue); log(" Genre:"$Genre.FieldName@"#"@Genre.FieldValue); log(" Duration:"$Duration.FieldName@"#"@Duration.FieldValue); log(" == All Fields == "); for ( i = 0; i < Fields.Length; i++ ) { log(" "$i$") ID:"$Fields[i].FieldID@"Name:"$Fields[i].FieldName@"Value:"$Fields[i].FieldValue); } log(""); } native final function DumpTag(); DefaultProperties { } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |