C# 클래스 ARCed.Controls.EventTextBox

Control for parsing and displaying RPG.EventCommands formatted and colorized
상속: System.Windows.Forms.RichTextBox
파일 보기 프로젝트 열기: borisblizzard/arcreator

공개 메소드들

메소드 설명
AppendText ( string text, System.Drawing.Color color ) : void

Appends the given string and draws it in the specified color

EventTextBox ( ) : System
Parse ( List list ) : void

Converts an array list of RPG.EventCommands and converts it into a format that can be displayed in the event editor.

Painting of the TextBox is automatically suspended until all commands are translated and added to the control.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
Command0 ( dynamic args ) : void

Blank Command

Command101 ( dynamic args ) : void

Show Text

Command102 ( dynamic args ) : void

Show Choices

Command103 ( dynamic args ) : void

Input Number

Command104 ( dynamic args ) : void

Change Text Options

Command105 ( dynamic args ) : void

Button Input Processing

Command106 ( dynamic args ) : void

Wait

Command108 ( dynamic args ) : void

Comment

Command111 ( dynamic args ) : void

Conditional Branch

Command112 ( dynamic args ) : void

Loop

Command113 ( dynamic args ) : void

Break Loop

Command115 ( dynamic args ) : void

Exit Event Processing

Command116 ( dynamic args ) : void

Erase Event

Command117 ( dynamic args ) : void

Call Common Event

Command118 ( dynamic args ) : void

Label

Command119 ( dynamic args ) : void

Jump to Label

Command121 ( dynamic args ) : void

Control Switches

Command122 ( dynamic args ) : void

Control Variables

Command123 ( dynamic args ) : void

Control Self-Switch

Command124 ( dynamic args ) : void

Control Timer

Command125 ( dynamic args ) : void

Change Gold

Command126 ( dynamic args ) : void

Change Items

Command127 ( dynamic args ) : void

Change Weapons

Command128 ( dynamic args ) : void

Change Armors

Command129 ( dynamic args ) : void

Change Party Member

Command131 ( dynamic args ) : void

Change Windowskin

Command132 ( dynamic args ) : void

Change Battle BGM

Command133 ( dynamic args ) : void

Change Battle End ME

Command134 ( dynamic args ) : void

Change Save Access

Command135 ( dynamic args ) : void

Change Menu Access

Command136 ( dynamic args ) : void

Change Encounter

Command201 ( dynamic args ) : void

Transfer Player

Command202 ( dynamic args ) : void

Set Event Location

Command203 ( dynamic args ) : void

Scroll Map

Command204 ( dynamic args ) : void

Change Map Settings

Command205 ( dynamic args ) : void

Change Fog Color Tone

Command206 ( dynamic args ) : void

Change Fog Opacity

Command207 ( dynamic args ) : void

Show Animation

Command208 ( dynamic args ) : void

Change Transparent Flag

Command209 ( dynamic args ) : void

Set Move Route

Command210 ( dynamic args ) : void

Wait for Move's Completion

Command221 ( dynamic args ) : void

Prepare for Transition

Command222 ( dynamic args ) : void

Execute Transition

Command223 ( dynamic args ) : void

Change Screen Color Tone

Command224 ( dynamic args ) : void

Screen Flash

Command225 ( dynamic args ) : void

Screen Shake

Command231 ( dynamic args ) : void

Show Picture

Command232 ( dynamic args ) : void

Move Picture

Command233 ( dynamic args ) : void

Rotate Picture

Command234 ( dynamic args ) : void

Change Picture Color Tone

Command235 ( dynamic args ) : void

Erase Picture

Command236 ( dynamic args ) : void

Set Weather Effects

Command241 ( dynamic args ) : void

Play BGM

Command242 ( dynamic args ) : void

Fade Out BGM

Command245 ( dynamic args ) : void

Play BGS

Command246 ( dynamic args ) : void

Fade Out BGS

Command247 ( dynamic args ) : void

Memorize BGM/BGS

Command248 ( dynamic args ) : void

Restore BGM/BGS

Command249 ( dynamic args ) : void

Play ME

Command250 ( dynamic args ) : void

Play SE

Command251 ( dynamic args ) : void

Stop SE

Command301 ( dynamic args ) : void

Battle Processing

Command302 ( dynamic args ) : void

Shop Processing

Command303 ( dynamic args ) : void

Name Input Processing

Command311 ( dynamic args ) : void

Change HP

Command312 ( dynamic args ) : void

Change SP

Command313 ( dynamic args ) : void

Change State

Command314 ( dynamic args ) : void

Recover All

Command315 ( dynamic args ) : void

Change Experience

Command316 ( dynamic args ) : void

Change Level

Command317 ( dynamic args ) : void

Change Parameters

Command318 ( dynamic args ) : void

Change Skills

Command319 ( dynamic args ) : void

Change Equipment

Command320 ( dynamic args ) : void

Change Actor Name

Command321 ( dynamic args ) : void

Change Actor Class

Command322 ( dynamic args ) : void

Change Actor Graphic

Command331 ( dynamic args ) : void

Change Enemy HP

Command332 ( dynamic args ) : void

Change Enemy SP

Command333 ( dynamic args ) : void

Change Enemy State

Command334 ( dynamic args ) : void

Enemy Recover All

Command335 ( dynamic args ) : void

Enemy Appearance

Command336 ( dynamic args ) : void

Enemy Transform

Command337 ( dynamic args ) : void

Show Battle Animation

Command338 ( dynamic args ) : void

Deal Damage

Command339 ( dynamic args ) : void

Force Action

Command340 ( dynamic args ) : void

Abort Battle

Command351 ( dynamic args ) : void

Call Menu Screen

Command352 ( dynamic args ) : void

Call Save Screen

Command353 ( dynamic args ) : void

Gameover

Command354 ( dynamic args ) : void

Return to Title Screen

Command355 ( dynamic args ) : void

Script

Command401 ( dynamic args ) : void

Show Text (Multi-Line)

Command402 ( dynamic args ) : void

When [**]

Command403 ( dynamic args ) : void

When Cancel

Command404 ( dynamic args ) : void

Branch End (Choices)

Command408 ( dynamic args ) : void

Comment (Multi-line)

Command411 ( dynamic args ) : void

Else

Command412 ( dynamic args ) : void

Branch End (Conditional Branch)

Command413 ( dynamic args ) : void

End Loop

Command509 ( dynamic args ) : void

Move Command

Command601 ( dynamic args ) : void

If Win

Command602 ( dynamic args ) : void

If Escape

Command603 ( dynamic args ) : void

If Lose

Command604 ( dynamic args ) : void

End Branch (Battle Processing)

Command605 ( dynamic args ) : void

Shop Good

Command655 ( dynamic args ) : void

Script (Multi-Line)

EventTextBoxClick ( object sender, EventArgs e ) : void
EventTextBoxDoubleClick ( object sender, EventArgs e ) : void
EventTextBoxKeyDown ( object sender, KeyEventArgs e ) : void
GetItemName ( int type, int id ) : string

Gets an item by ID and integer type

HighlightCurrentLine ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Translate ( int code, int indent, dynamic args ) : void

Translates the specified event code and arguments into a formatted string

TranslateMove ( MoveCommand cmd ) : string

Translates an RPG.MoveCommand into a string to display in the editor.

메소드 상세

AppendText() 공개 메소드

Appends the given string and draws it in the specified color
public AppendText ( string text, System.Drawing.Color color ) : void
text string String to append to the end of the current text.
color System.Drawing.Color Color to use to draw the string.
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

EventTextBox() 공개 메소드

public EventTextBox ( ) : System
리턴 System

Parse() 공개 메소드

Converts an array list of RPG.EventCommands and converts it into a format that can be displayed in the event editor.
Painting of the TextBox is automatically suspended until all commands are translated and added to the control.
public Parse ( List list ) : void
list List Collection of commands
리턴 void