Class MapleKeyLayout
java.lang.Object
client.MapleKeyLayout
- All Implemented Interfaces:
Serializable
角色鍵盤配置的記憶體模型與資料庫持久化。
以 Map<Integer, Pair<Byte, Integer>> 儲存最多 89 格按鍵(鍵碼→動作類型+動作值),
提供封包序列化(writeData)與差異存檔(saveKeys,僅 changed=true 時寫 DB);
由 MapleCharacter 持有,透過 DatabaseConnection 載入與存檔。
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MapleKeyLayout
public MapleKeyLayout() -
MapleKeyLayout
-
-
Method Details
-
Layout
-
unchanged
public final void unchanged() -
writeData
-
saveKeys
- Throws:
SQLException
-