Created a more detailed draft for the server

Kayne Ruse
2013-08-25 15:10:01 +10:00
parent 7a42313eeb
commit b891af55df
2 changed files with 942 additions and 0 deletions
BIN
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

+942
@@ -0,0 +1,942 @@
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.7.0_21" class="java.beans.XMLDecoder">
<object class="com.horstmann.violet.ClassDiagramGraph">
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode0">
<void property="name">
<void property="text">
<string>Client Manager</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double0">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double0"/>
<double>299.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double0"/>
<double>214.0</double>
</void>
</void>
<void method="setLocation">
<double>299.0</double>
<double>214.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode1">
<void property="name">
<void property="text">
<string>Internet</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double1">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double1"/>
<double>299.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double1"/>
<double>115.0</double>
</void>
</void>
<void method="setLocation">
<double>299.0</double>
<double>115.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode2">
<void property="name">
<void property="text">
<string>Client</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double2">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double2"/>
<double>181.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double2"/>
<double>27.0</double>
</void>
</void>
<void method="setLocation">
<double>181.0</double>
<double>27.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode3">
<void property="name">
<void property="text">
<string>Client</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double3">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double3"/>
<double>301.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double3"/>
<double>25.0</double>
</void>
</void>
<void method="setLocation">
<double>301.0</double>
<double>25.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode4">
<void property="name">
<void property="text">
<string>Client</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double4">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double4"/>
<double>416.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double4"/>
<double>28.0</double>
</void>
</void>
<void method="setLocation">
<double>416.0</double>
<double>28.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.PackageNode" id="PackageNode0">
<void property="contents">
<void property="text">
<string>Game Info
Account Info
Player Info
Map Info</string>
</void>
</void>
<void property="name">
<string>Database</string>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double5">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double5"/>
<double>857.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double5"/>
<double>36.0</double>
</void>
</void>
<void method="setLocation">
<double>857.0</double>
<double>36.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode5">
<void property="name">
<void property="text">
<string>Client</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double6">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double6"/>
<double>177.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double6"/>
<double>115.0</double>
</void>
</void>
<void method="setLocation">
<double>177.0</double>
<double>115.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode6">
<void property="name">
<void property="text">
<string>Terminal</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double7">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double7"/>
<double>181.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double7"/>
<double>210.0</double>
</void>
</void>
<void method="setLocation">
<double>181.0</double>
<double>210.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode" id="NoteNode0">
<void property="text">
<void property="text">
<string>Just an idea for
controlling the
server directly</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double8">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double8"/>
<double>44.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double8"/>
<double>204.0</double>
</void>
</void>
<void method="setLocation">
<double>44.0</double>
<double>204.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode7">
<void property="name">
<void property="text">
<string>Account Manager</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double9">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double9"/>
<double>769.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double9"/>
<double>178.0</double>
</void>
</void>
<void method="setLocation">
<double>769.0</double>
<double>178.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode8">
<void property="name">
<void property="text">
<string>Player Manager</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double10">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double10"/>
<double>922.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double10"/>
<double>177.0</double>
</void>
</void>
<void method="setLocation">
<double>922.0</double>
<double>177.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode9">
<void property="name">
<void property="text">
<string>Chat Server</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double11">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double11"/>
<double>421.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double11"/>
<double>205.0</double>
</void>
</void>
<void method="setLocation">
<double>421.0</double>
<double>205.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode10">
<void property="attributes">
<void property="text">
<string>std::list&lt;ThreadHandle&gt;</string>
</void>
</void>
<void property="methods">
<void property="text">
<string>OpenRoom(args)
CloseRoom(args)</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Room Manager</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double12">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double12"/>
<double>598.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double12"/>
<double>53.0</double>
</void>
</void>
<void method="setLocation">
<double>598.0</double>
<double>53.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode11">
<void property="attributes">
<void property="text">
<string>index
inventory
equipment
statistics</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Player</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double13">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double13"/>
<double>916.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double13"/>
<double>265.0</double>
</void>
</void>
<void method="setLocation">
<double>916.0</double>
<double>265.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode12">
<void property="attributes">
<void property="text">
<string>index
mail box</string>
</void>
</void>
<void property="methods">
<void property="text">
<string>Init() = pure virtual
Loop() = pure virtual
Quit() = pure virtual</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Base Room</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double14">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double14"/>
<double>606.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double14"/>
<double>292.0</double>
</void>
</void>
<void method="setLocation">
<double>606.0</double>
<double>292.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode13">
<void property="attributes">
<void property="text">
<string>collision map
etc. maps
player list
combat portals</string>
</void>
</void>
<void property="name">
<void property="text">
<string>World Room</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double15">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double15"/>
<double>549.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double15"/>
<double>447.0</double>
</void>
</void>
<void method="setLocation">
<double>549.0</double>
<double>447.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode14">
<void property="attributes">
<void property="text">
<string>parent room
combatants
monsters
</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Combat Room</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double16">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double16"/>
<double>690.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double16"/>
<double>448.0</double>
</void>
</void>
<void method="setLocation">
<double>690.0</double>
<double>448.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode15">
<void property="attributes">
<void property="text">
<string>lua state</string>
</void>
</void>
<void property="methods">
<void property="text">
<string>Init()
Loop()
Quit()</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Server Application</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double17">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double17"/>
<double>407.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double17"/>
<double>309.0</double>
</void>
</void>
<void method="setLocation">
<double>407.0</double>
<double>309.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode" id="NoteNode1">
<void property="text">
<void property="text">
<string>Direct connections</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double18">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double18"/>
<double>40.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double18"/>
<double>38.0</double>
</void>
</void>
<void method="setLocation">
<double>40.0</double>
<double>38.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.ClassNode" id="ClassNode16">
<void property="attributes">
<void property="text">
<string>thread
std::list&lt;BaseRoom&gt;</string>
</void>
</void>
<void property="name">
<void property="text">
<string>Thread Handle</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double19">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double19"/>
<double>595.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double19"/>
<double>161.0</double>
</void>
</void>
<void method="setLocation">
<double>595.0</double>
<double>161.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode" id="NoteNode2">
<void property="color">
<object class="java.awt.Color">
<int>255</int>
<int>239</int>
<int>213</int>
<int>255</int>
</object>
</void>
<void property="text">
<void property="text">
<string>Combat rooms should be closed
when they&apos;re empty. Send the &quot;close&quot;
message to the parent world room
and the Room Manager.</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double20">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double20"/>
<double>817.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double20"/>
<double>452.0</double>
</void>
</void>
<void method="setLocation">
<double>817.0</double>
<double>452.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode" id="NoteNode3">
<void property="text">
<void property="text">
<string>Also used for
/commands</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double21">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double21"/>
<double>431.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double21"/>
<double>147.0</double>
</void>
</void>
<void method="setLocation">
<double>431.0</double>
<double>147.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode">
<void property="text">
<void property="text">
<string>Attention:
*Anything with &quot;Manager&quot; in their name is a singleton.
</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double22">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double22"/>
<double>63.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double22"/>
<double>316.0</double>
</void>
</void>
<void method="setLocation">
<double>63.0</double>
<double>316.0</double>
</void>
</object>
</void>
<void method="addNode">
<object class="com.horstmann.violet.NoteNode" id="NoteNode4">
<void property="text">
<void property="text">
<string>Undecided,
possibly SQLite3</string>
</void>
</void>
</object>
<object class="java.awt.geom.Point2D$Double" id="Point2D$Double23">
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>x</string>
<void method="set">
<object idref="Point2D$Double23"/>
<double>982.0</double>
</void>
</void>
<void class="java.awt.geom.Point2D$Double" method="getField">
<string>y</string>
<void method="set">
<object idref="Point2D$Double23"/>
<double>47.0</double>
</void>
</void>
<void method="setLocation">
<double>982.0</double>
<double>47.0</double>
</void>
</object>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode2"/>
<object idref="ClassNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode3"/>
<object idref="ClassNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode4"/>
<object idref="ClassNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode5"/>
<object idref="ClassNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode6"/>
<object idref="ClassNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode1"/>
<object idref="ClassNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode6"/>
<object idref="NoteNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode7"/>
<object idref="PackageNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode8"/>
<object idref="PackageNode0"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="startArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="DIAMOND"/>
</void>
</object>
<object idref="ClassNode8"/>
<object idref="ClassNode11"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
</object>
<object idref="ClassNode12"/>
<object idref="ClassNode13"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="VHV"/>
</void>
<void property="endArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="TRIANGLE"/>
</void>
</object>
<object idref="ClassNode12"/>
<object idref="ClassNode14"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="startArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="DIAMOND"/>
</void>
</object>
<object idref="ClassNode13"/>
<object idref="ClassNode14"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode7"/>
<object idref="ClassNode8"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode0"/>
<object idref="ClassNode9"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode5"/>
<object idref="NoteNode1"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="startArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="DIAMOND"/>
</void>
</object>
<object idref="ClassNode16"/>
<object idref="ClassNode12"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.ClassRelationshipEdge">
<void property="bentStyle">
<object class="com.horstmann.violet.BentStyle" field="HVH"/>
</void>
<void property="startArrowHead">
<object class="com.horstmann.violet.ArrowHead" field="DIAMOND"/>
</void>
</object>
<object idref="ClassNode10"/>
<object idref="ClassNode16"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode14"/>
<object idref="NoteNode2"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode9"/>
<object idref="ClassNode15"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="ClassNode9"/>
<object idref="NoteNode3"/>
</void>
<void method="connect">
<object class="com.horstmann.violet.NoteEdge"/>
<object idref="PackageNode0"/>
<object idref="NoteNode4"/>
</void>
</object>
</java>