|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| class | ChannelInfo |
Public Member Functions | |
| ManifestBuilder (string providerName, Guid providerGuid, string dllName, ResourceManager resources, EventManifestOptions flags) | |
| void | AddOpcode (string name, int value) |
| void | AddTask (string name, int value) |
| void | AddKeyword (string name, ulong value) |
| void | AddChannel (string name, int value, EventChannelAttribute channelAttribute) |
| ulong[] | GetChannelData () |
| void | StartEvent (string eventName, EventAttribute eventAttribute) |
| void | AddEventParameter (Type type, string name) |
| void | EndEvent () |
| ulong | GetChannelKeyword (EventChannel channel, ulong channelKeyword=0uL) |
| byte[] | CreateManifest () |
| void | ManifestError (string msg, bool runtimeCritical=false) |
Package Functions | |
| string | GetLocalizedMessage (string key, CultureInfo ci, bool etwFormat) |
Properties | |
| IList< string > | Errors [get] |
| bool | HasResources [get] |
Private Member Functions | |
| string | CreateManifestString () |
| void | WriteNameAndMessageAttribs (StringBuilder stringBuilder, string elementName, string name) |
| void | WriteMessageAttrib (StringBuilder stringBuilder, string elementName, string name, string value) |
| string | GetChannelName (EventChannel channel, string eventName, string eventMessage) |
| string | GetTaskName (EventTask task, string eventName) |
| string | GetOpcodeName (EventOpcode opcode, string eventName) |
| void | AppendKeywords (StringBuilder sb, ulong keywords, string eventName) |
| string | GetTypeName (Type type) |
| string | TranslateToManifestConvention (string eventMessage, string evtName) |
| int | TranslateIndexToManifestConvention (int idx, string evtName) |
Static Private Member Functions | |
| static EventChannelType | EventChannelToChannelType (EventChannel channel) |
| static EventChannelAttribute | GetDefaultChannelAttribute (EventChannel channel) |
| static void | AppendLevelName (StringBuilder sb, EventLevel level) |
| static void | UpdateStringBuilder ([NotNull] ref StringBuilder stringBuilder, string eventMessage, int startIndex, int count) |
Private Attributes | |
| readonly Dictionary< int, string > | opcodeTab |
| Dictionary< int, string > | taskTab |
| Dictionary< int, ChannelInfo > | channelTab |
| Dictionary< ulong, string > | keywordTab |
| Dictionary< string, Type > | mapsTab |
| readonly Dictionary< string, string > | stringTab |
| ulong | nextChannelKeywordBit = 9223372036854775808uL |
| readonly StringBuilder | sb |
| readonly StringBuilder | events |
| readonly StringBuilder | templates |
| readonly string | providerName |
| readonly ResourceManager | resources |
| readonly EventManifestOptions | flags |
| readonly IList< string > | errors |
| readonly Dictionary< string, List< int > > | perEventByteArrayArgIndices |
| string | eventName |
| int | numParams |
| List< int > | byteArrArgIndices |
Static Private Attributes | |
| static readonly string[] | s_escapes = new string[8] { "&", "<", ">", "'", """, "%r", "%n", "%t" } |
Definition at line 10 of file ManifestBuilder.cs.