Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

DeusExText.DeusExTextParser


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
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
//=============================================================================
// DeusExTextParser
//=============================================================================
class DeusExTextParser extends Object
    native
    noexport;

// DeusEx Text Tags
enum EDeusExTextTags
{
    TT_Text,
    TT_File,
    TT_Email,
    TT_Note,            
    TT_EndNote,     
    TT_Goal,            
    TT_EndGoal,     
    TT_Comment,     
    TT_EndComment,  
    TT_PlayerName,
    TT_PlayerFirstName,
    TT_NewPage,     
    TT_CenterText,  
    TT_LeftJustify, 
    TT_RightJustify,    
    TT_DefaultColor,
    TT_TextColor,   
    TT_RevertColor, 
    TT_NewParagraph,    
    TT_Bold,            
    TT_EndBold,     
    TT_Underline,   
    TT_EndUnderilne,    
    TT_Italics,     
    TT_EndItalics,  
    TT_Graphic,     
    TT_Font,            
    TT_Label,       
    TT_OpenBracket, 
    TT_CloseBracket,    
    TT_None         
};

// ----------------------------------------------------------------------
// Variables

var const native int text;  
var const native int textPos;
var const native int tagEndPos;

var const native String lastText;
var const native EDeusExTextTags lastTag;
var const native Name lastName;
var const native Color lastColor;
var const native Color defaultColor;
var const native Bool bParagraphStarted;
var const native String playerName;             
var const native String playerFirstName;

var const native String lastEmailName;
var const native String lastEmailSubject;
var const native String lastEmailFrom;
var const native String lastEmailTo;
var const native String lastEmailCC;
var const native String lastFileName;
var const native String lastFileDescription;

// ----------------------------------------------------------------------
// natives

native(2210) final function Bool OpenText(Name textName, optional string TextPackage);
native(2211) final function CloseText();
native(2212) final function Bool ProcessText();
native(2213) final function Bool IsEOF();
native(2214) final function String GetText();
native(2215) final function GotoLabel(String label);
//native(2216) final function EDeusExTextTags GetTag();
native(2216) final function byte GetTag();
native(2217) final function Name GetName();
native(2218) final function Color GetColor();
native(2219) final function GetEmailInfo(
    out String emailName, 
    out String emailSubject,
    out String emailFrom,
    out String emailTo,
    out String emailCC);
native(2220) final function GetFileInfo(
    out String fileName,
    out String fileDescription);
native(2221) final function SetPlayerName(String newPlayerName);

defaultproperties
{
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Mon 8/11/2021 16:22:50.000 - Creation time: Mon 8/11/2021 16:31:25.920 - Created with UnCodeX