Network Design: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Magodra (talk | contribs)
Magodra (talk | contribs)
Line 5: Line 5:
==== Start up NPCClient ====
==== Start up NPCClient ====
<uml>
<uml>
PSServer <- NPCClient : NPCAuthent
autonumber
participant Admin
participant User
Admin ->> PSServer : Start
create NPCClient
Admin ->> NPCClient : Start
== NPC Client Initialisation ==
PSServer //- NPCClient : NPCAuthent
PSServer -\\ NPClient : MsgStrings
PSServer -\\ NPClient : MapList
PSServer -\\ NPClient : NPCRaceList
PSServer -\\ NPClient : Weather
PSServer //- NPClient : Persist ALL
loop
  PSServer -\\ NPClient : Persist All Entities
end
PSServer -\\ NPClient : NPCList
PSServer //- NPClient : NPCReady
== NPC Client Ready ==
loop
  PSServer //- NPClient : NPCCommandList
  PSServer -\\ NPClient : AllEntityPos
end
create Client
User ->> Client : Start
== Client Initialisation ==
PSServer //- Client : PreAuthenticate
PSServer -\\ Client : PreAuthApproved
PSServer //- Client : Authenticate
PSServer -\\ Client : AuthApproved
PSServer -\\ Client : MsgStrings
PSServer -\\ Client : AdminCmd
PSServer -\\ Client : Weather
</uml>
</uml>




[[Category:Engine documents]]
[[Category:Engine documents]]

Revision as of 22:29, 29 April 2011

Design

Sequences

Start up NPCClient