Open YIYuNCU opened 3 months ago
对象管理器 是啥?
读取的话就直接 new LPS(string)
就行
如果是类似字典那样的单一对应项目(例如设置), 直接 new LPS_D(string)
就行
string
是你的文件, 你可以使用 File.ReadAllFile(filename)
来读取文件
如果我要将某一行的某个内容存入自定义的变量该怎么做 另:[cid:c5840d1e-a040-45e6-b699-53ddbd52f19e]
发件人: ZouJin @.> 发送时间: 2024年6月28日 16:22 收件人: LorisYounger/LinePutScript @.> 抄送: Evian @.>; Author @.> 主题: Re: [LorisYounger/LinePutScript] 请给出读取lps文件的示例或说明"对象管理器"该怎么用 (Issue #5)
对象管理器 是啥?
读取的话就直接 new LPS(string) 就行 如果是类似字典那样的单一对应项目(例如设置), 直接 new LPS_D(string) 就行 string 是你的文件, 你可以使用 File.ReadAllFile(filename) 来读取文件
― Reply to this email directly, view it on GitHubhttps://github.com/LorisYounger/LinePutScript/issues/5#issuecomment-2196392199, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BDBHDHI5JP3URNDH2DVFYU3ZJUMMXAVCNFSM6AAAAABKBMMHOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJWGM4TEMJZHE. You are receiving this because you authored the thread.
[cid:c5840d1e-a040-45e6-b699-53ddbd52f19e] 是啥
在标准的LINE里, 自定义的变量只能是 SetObject
支持内容, 即 int,long,double,fint64(int64),string,bool,DateTime,TimeSpan
例如 储存金钱值为10000
Save[(gint)"money"] = 10000;
或
Save["money"].Value = 10000;
我需要解读
通过读您的库的Readme,我已经学会了该如何写入lps文件,但请给出一种方法来让我读取自己写的lps文件,或者给出库中都有什么函数,对应的用法,谢谢