Interface WritableIntValueHolder
- All Known Implementing Classes:
RecvPacketOpcode, SendPacketOpcode
public interface WritableIntValueHolder
可讀寫
short 整數值的通用持有者介面,供 opcode 列舉實作。
RecvPacketOpcode 與 SendPacketOpcode 皆實作此介面;
ExternalCodeTableGetter.populateValues(Properties, T[]) 在伺服器啟動時讀取 recv.properties /
send.properties,並以 setValue(short) 將實際 opcode 數值注入各列舉常數,
預設值為 -2(表示未載入)。
-
Method Summary
-
Method Details
-
getValue
short getValue() -
setValue
void setValue(short newval)
-