fix: 2.2 key-value tabelle
This commit is contained in:
@@ -145,7 +145,7 @@ Anhand dieses Systems bilden wir die Schlüssel wie folgt ab:
|
||||
\begin{tabular}{l l l}
|
||||
\hline
|
||||
\textbf{Datentyp} & \textbf{Key-Struktur} & \textbf{Attribute} \\ \hline
|
||||
\texttt{HMAP} & {item\_effect:\{id\}} & id, description \\
|
||||
\texttt{HMAP} & {item\_effect:\{id\}} & id, name, value \\
|
||||
\texttt{HMAP} & {item\_type:\{id\}} & id, item\_id, name \\
|
||||
\\
|
||||
\texttt{HMAP} & {weapon:\{id\}} & id, item\_effect\_id, item\_type\_id, weight, damage \\
|
||||
@@ -156,23 +156,23 @@ Anhand dieses Systems bilden wir die Schlüssel wie folgt ab:
|
||||
\texttt{HMAP} & {item:\{id\}} & id, name, gear\_type, gear\_id, region\_id \\
|
||||
\\
|
||||
\texttt{HMAP} & player:\{id\} & id, name, health, stamina, level, region\_id \\
|
||||
\texttt{STRING} & {player:\{id\}:weapon} & item\_id \\
|
||||
\texttt{SET} & {player:\{id\}:weapon} & item\_id \\
|
||||
\texttt{STRING} & {player:\{id\}:shield} & item\_id \\
|
||||
\texttt{SET} & {player:\{id\}:armor} & item\_id \\
|
||||
\texttt{SET} & {player:\{id\}:talisman} & item\_id \\
|
||||
\\
|
||||
\texttt{SET} & {region:\{id\}:enemies} & enemy\_id \\
|
||||
\\
|
||||
\texttt{HMAP} & {region:\{id\}} & id, name \\
|
||||
\texttt{SET} & {region:\{id\}:items} & item\_id \\
|
||||
\texttt{SET} & {region:\{id\}:enemies} & enemy\_id \\
|
||||
\\
|
||||
\texttt{HMAP} & enemy:\{id\} & id, region\_id, name, health, level, damage \\
|
||||
\texttt{HMAP} & enemy:\{id\} & id, name, health, level, damage \\
|
||||
\texttt{SET} & enemy:\{id\}:items & item\_id \\
|
||||
\texttt{SET} & enemy:\{id\}:item\_effects & item\_effect\_id \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\caption{Übersicht der Schlüsselstrukturen in Redis}
|
||||
\end{table}
|
||||
\newpage
|
||||
|
||||
% \begin{table}[h]
|
||||
% \centering
|
||||
|
||||
Reference in New Issue
Block a user