docs: 예턴, 사령턴은 DB로부터 받아옴
This commit is contained in:
@@ -81,6 +81,11 @@ API 처리기는 유저의 명령을 받아 1차적으로 처리합니다.
|
||||
>
|
||||
> 게임 엔진은 메모리 cache에 강력히 의존하므로, 내부 DB에 직접 쓰는 작업은 게임 엔진의 처리 결과를 훼손할 것입니다.
|
||||
|
||||
예외적으로 장수의 턴, 사령턴은 게임과 밀접하게 연계되는 부분이지만, 게임 외부 데이터로 분류합니다.
|
||||
|
||||
장수의 턴이 실행되는 시점에서 DB로부터 턴을 받아와 처리합니다.
|
||||
|
||||
|
||||
### 외부 이벤트 처리기
|
||||
|
||||
외부 이벤트 처리기는 인 게임 엔진과 직접적으로 연관되지는 않은 외부 이벤트들 (경매, 거래, 토너먼트)를 처리합니다.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="441px" height="271px" viewBox="-0.5 -0.5 441 271" content="<mxfile><diagram id="ovDIAAWsHlNK0DibyGEH" name="페이지-1">zZhNk6IwEIZ/Tap2LxYQPsIxQWb2soctD3tGyQhVKBbiqPPrtzsJIoJTHFzloqE7HZOn33SChEab03uV7LLfZSoL4ljpidA5cRzbYhZ8oeWsLSyg2rCu8tR0ag2L/Es2kcZ6yFO573Ssy7Ko813XuCq3W7mqO7akqspjt9tHWXR/dZesZc+wWCVF3/o3T+vMrMIJWvsvma+z5pdtP9SeTdJ0NivZZ0laHq9MNCY0qsqy1q3NKZIFwmu46Li3O97LxCq5rccEODrgMykOZm0kjkgYE+5hgzESsgQ6WDah3DFZ2tfnhkRVHrapxMEsQsUxy2u52CUr9B4h92DL6k0BTxAv+pMz8/2UVS1PVyYz2XdZbmRdnaGL8TqNdIxyXMs8H9s82A3c7CoH1NgSk/r1ZeiWDjQMoGFYdAQs8GNbONiOBeE+4TCw9ecgIeg+Pvsl+Cgdic99AD53BL4las0FrXnh9LQ2FtYjtOb1YM1ms+kh8Z+IxB+hny/oANKZpn7CJ8IKhmFFhKv6BJ84O4uv6rzcTqY++dYL6xMbWZ9IPCfMJcKFtURQ1CJg7RcwEbGsoLXGlir9nHB1BghKQtscDEyoDHAiAszAlTewmsW/ULO3CRh9vj4iAWEvAQtZwdynp1PXfaFO7f7ZoATlET5XDdzbyZAmI6Vb1lQCvKzgxL3pyc59Js8xB8vpR5/x8ucdyA7e+WK100V4XS70hreQ/sU9OfbsmezvnFMd9h8KHMdLtZgrcAHhbmPRLkpENFyGoYOwTRRjpn6HnDA1VAjVd/6IHPSAD6RldD15atm17xx8+q4g8MgCbqhiW7/LDORicB/gJcNWgb4Zqk2BzrEeiinji1Nwuw28sVfbh6Sgf/R1uEH9YPp1kqHO0aW4GZKqHuFu4areKLZ42RxKSu8+MzXpP7P0N+PeSB9wY30RKPeW8jf7Qd3rdFFnbxg+Aj0Erl5Ov6d65//Rh8f2jy3lu/p7kMb/AA==</diagram></mxfile>">
|
||||
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="441px" height="191px" viewBox="-0.5 -0.5 441 191" content="<mxfile><diagram id="ovDIAAWsHlNK0DibyGEH" name="페이지-1">zZjBkqIwEIafpq8WEMRwJMjMXvaw5WHPDGSEKjQWxlHn6bcbwiADTnFwhYuG7nQIX/9pWoGFu8trGR+y3yqVBThWegG2BsexLW7hF1mutYWvWG3YlnlqJrWGTf4pm0hjPeWpPHYmaqUKnR+6xkTt9zLRHVtclurcnfauiu5dD/FW9gybJC761r95qjPzFM6qtf+S+TZr7mx7fu3Zxc1k8yTHLE7V+cbEImBhqZSuR7tLKAuC13Cp417ueL82Vsq9HhPg1AEfcXEyzwZRCH4EwZIGnIPPY5xg2cACx2TpqK8NiVKd9qmkxSxg4pzlWm4OcULeM+YebZneFXiF8aK/ObPfD1lqebkxmc2+SrWTurziFON1GukY5biWuT63ebAbuNlNDpixxSb126+lWzo4MICGYbERsNBPY+HQOBIQeBDgwtafk8Sg+/jsSfAxNhKf+wB87gh8b6Q1F7W29OentbGwHqG1ZQ/WYrGYHxLviUi8Efr5xAkonXnqx38irNUwrBCCqj7hJ+3OChKdq/1s6pNnTVif/B6yjSxx7/PD5LoTYrL7pQmiAMQSgnU1IGlhz+AVeFPxhvi8LY2qM+qC4I0Q6V1JG19OflK/y250V/EQnneOaqeuvVd9RUB9hVhXfcUKArex1C4GIhzCLmiCsE0Ur1uUNfgB8Gopn4G/fkQOesAH0jJa08/NAf+pXArggrghNG7X7dxALgYFT3XWrgI9s1SbgjrH9VK8Mk6cgt4x4M9MQb/8drhh6eB1R81J5+SquBmSVd2h04ID37Cl9+1QUnot59yk7z6Re7PuN+kjbqovguTeUv7hPIRkxAnkfaHwEegxMJmcfk/1/5E+Xra/7SvfzT8kLPoH</diagram></mxfile>">
|
||||
<defs/>
|
||||
<g>
|
||||
<rect x="0" y="70" width="120" height="30" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
@@ -103,25 +103,6 @@
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="320" y="70" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 90px; margin-left: 321px;">
|
||||
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
|
||||
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
|
||||
장수b 턴1,4,7
|
||||
<br/>
|
||||
모병 신귀병 7000
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
<text x="380" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
장수b 턴1,4,7...
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="160" y="0" width="120" height="40" rx="6" ry="6" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
@@ -139,11 +120,11 @@
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="320" y="110" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<rect x="320" y="70" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 130px; margin-left: 321px;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 90px; margin-left: 321px;">
|
||||
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
|
||||
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
|
||||
국가a
|
||||
@@ -153,30 +134,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
<text x="380" y="134" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
<text x="380" y="94" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
국가a...
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="320" y="150" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 170px; margin-left: 321px;">
|
||||
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
|
||||
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
|
||||
장수x(국가b)
|
||||
<br/>
|
||||
사령턴1 발령
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
<text x="380" y="174" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
장수x(국가b)...
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="160" y="70" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
@@ -196,11 +158,11 @@
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="320" y="230" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<rect x="320" y="150" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 250px; margin-left: 321px;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 170px; margin-left: 321px;">
|
||||
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
|
||||
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
|
||||
유니크 경매
|
||||
@@ -210,7 +172,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
<text x="380" y="254" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
<text x="380" y="174" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
유니크 경매...
|
||||
</text>
|
||||
</switch>
|
||||
@@ -234,11 +196,11 @@
|
||||
</text>
|
||||
</switch>
|
||||
</g>
|
||||
<rect x="320" y="190" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<rect x="320" y="110" width="120" height="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
|
||||
<g transform="translate(-0.5 -0.5)">
|
||||
<switch>
|
||||
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 210px; margin-left: 321px;">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 130px; margin-left: 321px;">
|
||||
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
|
||||
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
|
||||
설문 유니크 시도
|
||||
@@ -248,7 +210,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
<text x="380" y="214" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
<text x="380" y="134" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
|
||||
설문 유니크 시도...
|
||||
</text>
|
||||
</switch>
|
||||
|
||||
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 18 KiB |
Reference in New Issue
Block a user