Clone
21
http
syui edited this page 2026-01-11 10:12:40 +00:00
Table of Contents
HttpBlueprint
- updated: 5.7.1
- JsonBlueprintUtilities
公式を使うこと
なるべく公式plugin、つまり、HttpBlueprintを使うようにします。ueは仕様変更が多すぎて、いずれ公式以外のassetやpluginは追従できなくなります。開発者の負担が重すぎるのです。ue pluginのメンテナンスは並大抵のことではありません。公式のepic以外ほとんど耐えられないでしょう。
get (record)
com.atproto.repo.getRecord
https://blueprintue.com/blueprint/4gzh4mah/
post (create)
com.atproto.server.createSession
https://blueprintue.com/blueprint/hpm3lx20/
post (refresh)
com.atproto.server.refreshSession
https://blueprintue.com/blueprint/laohu5qp/
mac/iosではAuthorization: Bearer+空Bodyの手法が使えません。つまり、HttpBlueprintでは対応できないということです。一部のサーバーが{}を返すことがあります。したがって、createSessionで対応しましょう。
ただし、次回ログインを省略するには、passwordをlocalに保存しなければならず、セキュリティが下がります。あまり良いやり方とは言えません。
https://blueprintue.com/blueprint/7u_13489/
com.atproto.putRecord
以下のような方法でrecordを更新します。
https://blueprintue.com/blueprint/gmc3vcdj/
PlayerJson, ${record}
{
"character": [
{ "id": 3, "cp": 1, "op": 0, "sp": 0, "mode": 0, "rare": 0, "shiny": false, "unique": false, "cid":null }
],
"item": [
{ "id": 300, "cp": 1, "op": 0, "sp": 0, "mode": 0, "rare": 0, "shiny": false, "unique": false, "cid":null }
],
"card": [
{ "id": 300, "cp": 1, "op": 0, "sp": 0, "mode": 0, "rare": 0, "shiny": false, "unique": false, "cid":null }
]
}
PlayerData
{
"repo": $handle,
"did": $did,
"collection": $collection,
"rkey": $rkey,
"record": $record
}
他のplugin
project
func
page
[ja]
project
asset
- Game Animation Sample Project
- Control Rig Sample
- Nice Interaction System
- SoStylized
- Controller Support
plugin
platform
ref
© syui