linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05975
[Bug 1038556] Re: Per session level handling
1) using getPluginData / setPluginData would be handier than having to
maintain a table of online users. for Lua, i couldn't find a generic way
to resolve types so this is currently implemented with different
functions depending on the type: getStringData&setStringData,
getByteVectorData&setByteVectorData. for a variable such as a level, i
guess a getIntData/setIntData would have to be added (file swig/lua.i).
getTableData/setTableData are also possible to store more complex data.
2) what is the purpose of the patch? to allow users to be temporarily
granted a different level?
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1038556
Title:
Per session level handling
Status in ADCH++:
New
Bug description:
This patch provides a per session element with some user data,
currently this is just the level but in the future it could be other
data. Similarly it modifies all the other example scripts so they use
get_level and thus the session based level.
To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1038556/+subscriptions
References