NieR Re[in]carnationにおけるマスターデータ運用とその裏側
by
CyberAgent
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ҏ౻ ྇ 2021 ৽ଔೖࣾ גࣜձࣾOEN @ry_itto @ry-itto
Slide 2
Slide 2 text
Ṥޱ ༤ 2020 ৽ଔೖࣾ גࣜձࣾΞϓϦϘοτ NieR Re[in]carnationνʔϜ ΤϯδχΞ @y_uucu @yuucu
Slide 3
Slide 3 text
© 2021, 2022 SQUARE ENIX CO., LTD. All Rights Reserved. Developed by Applibot, Inc.
Slide 4
Slide 4 text
NieR Re[in]carnation ●ʮNieRʯγϦʔζͷεϚʔτϑΥϯ͚λΠτϧ ● 20212݄18ϦϦʔε © 2021, 2022 SQUARE ENIX CO., LTD. All Rights Reserved. Developed by Applibot, Inc.
Slide 5
Slide 5 text
1.ήʔϜʹ͓͚ΔϚελʔσʔλ 2.Ϛελʔσʔλ৴ͷཪଆ 3.Ϛελʔσʔλӡ༻ 4.·ͱΊ
Slide 6
Slide 6 text
1.ήʔϜʹ͓͚ΔϚελʔσʔλ 2.Ϛελʔσʔλ৴ͷཪଆ 3.Ϛελʔσʔλӡ༻ 4.·ͱΊ
Slide 7
Slide 7 text
Ϛελʔσʔλͱ ●ήʔϜͰར༻͞ΕΔઃఆ ex. ΫΤετɼΠϕϯτɼΨνϟͳͲશͯͷઃఆ ●σʔλͱϩδοΫͷ ΤϯδχΞ͕࣮͠ɼϓϥϯφʔ͕ઃఆ ●ΞϓϦߋ৽ແ͠ͰήʔϜσʔλΛߋ৽
Slide 8
Slide 8 text
Ϛελʔσʔλͱ ●Ϛελʔσʔλͷςʔϒϧ ڞ௨Ϛελɼαʔόʔઐ༻ɼΫϥΠΞϯτઐ༻ͷ3छྨ ຊλΠτϧͰɼ20225݄ݱࡏͰ600ऑͷςʔϒϧ
Slide 9
Slide 9 text
1.ήʔϜʹ͓͚ΔϚελʔσʔλ 2.Ϛελʔσʔλ৴ͷཪଆ 3.Ϛελʔσʔλӡ༻ 4.·ͱΊ
Slide 10
Slide 10 text
Ϛελʔσʔλ৴·Ͱ ●ςʔϒϧఆٛߋ৽ ςʔϒϧఆٛ ࣗಈੜʢERਤ, ddl, dto, dao…ʣ ڥσϓϩΠ ●Ϛελʔσʔλߋ৽ Ϛελʔσʔλೖ ϚελʔσʔλϦϦʔε
Slide 11
Slide 11 text
ςʔϒϧఆٛ ●Plant UMLʹΑΔςΩετϑΝΠϧهड़
Slide 12
Slide 12 text
ࣗಈੜ ●Plant UMLͷಠࣗparserʹΑΔࣗಈੜ ●αʔόʔؔ࿈ DDL DTO DAO ෆ߹ݕΫΤϦ ●ΫϥΠΞϯτؔ࿈ DBςʔϒϧఆٛ (MasterMemory) ※Ұ෦লུ
Slide 13
Slide 13 text
ࣗಈੜ ●Plant UMLͷಠࣗparserʹΑΔࣗಈੜʢαʔόʔʣ DAO - ඞཁ࠷খݶͷΫΤϦʹରԠͨ͠Ϋϥε͕ࣗಈੜ͞ΕΔ - ඞཁʹԠͯ͡ΧελϜΫΤϦΛࠩ͠ࠐΉ͜ͱ DDL DTO - MyBatisʹΑΔࣗಈੜ ෆ߹ݕΫΤϦ - ϦϨʔγϣϯ͔ΒϚελʔσʔλݕূͷͨΊͷΫΤϦ͕ੜ
Slide 14
Slide 14 text
ࣗಈੜ ●Plant UMLͷಠࣗparserʹΑΔࣗಈੜʢΫϥΠΞϯτʣ ࢀߟจݙɿhttps://github.com/Cysharp/MasterMemory ςʔϒϧఆٛʢMasterMemoryʣ - ิɿMasterMemory - Unityͱ.Net CoreͷͨΊͷಡΈऔΓઐ༻ΠϯϝϞϦDB - MasterMemoryʹඞཁͳςʔϒϧఆٛΫϥεΛࣗಈੜ
Slide 15
Slide 15 text
σϓϩΠ/Ϛελʔσʔλೖ ●σϓϩΠ ఆٛͨ͠ϑΝΠϧ͔Βࣗಈੜ͞ΕͨddlΛྲྀͨ͠Γɼ ΞϓϦέʔγϣϯΛߋ৽͠·͢ ●Ϛελʔσʔλೖ ޙड़ͷεϥΠυͰৄ͘͠ड़·͢
Slide 16
Slide 16 text
ϚελʔσʔλϦϦʔε ●αʔόʔ DBʹೖ͍ͬͯΔϚελʔσʔλΛϏϧυ͠ɼS3 ৴͞ΕͨͷΛΞϓϦέʔγϣϯ͕ಡΈऔΓɼ ΠϯϝϞϦΩϟογϡ͠·͢ ●ΫϥΠΞϯτ MasterMemory͕ಡΈऔΕΔܗͰϏϧυͯ͠৴
Slide 17
Slide 17 text
1.ήʔϜʹ͓͚ΔϚελʔσʔλ 2.Ϛελʔσʔλ৴ͷཪଆ 3.Ϛελʔσʔλӡ༻ 4.·ͱΊ
Slide 18
Slide 18 text
Ϛελʔσʔλӡ༻ ●GitʹΑΔཤྺཧ ●ϚελʔσʔλϦϙδτϦ ςʔϒϧ͝ͱͷcsvϑΝΠϧ ●։ൃڥ1ͭʹରͯ͠ɼ1branch dev01, dev02, dev03…ϒϥϯν ●CSV / Gitӡ༻
Slide 19
Slide 19 text
●CSV + Gitཧ ϩʔΧϧͰͷCSVฤू ϓϥϯφʔʹΑΔcommit & push ●՝ Gitͷֶशίετ CSVखಈฤूͷͭΒ͞ աڈͷӡ༻ (ϦϦʔεલ)
Slide 20
Slide 20 text
● εϓϨουγʔτ + Gitӡ༻ Gitӡ༻෦ΛࣗಈԽ͠ɼ୭Ͱѻ͑ΔγεςϜ ● εϓϨουγʔτपΓͷΤίγεςϜ ؔͳͲͰϓϥϯφʔࣗͰϚΫϩΛΜͩΓग़དྷΔ ը૾ ݱࡏͷӡ༻
Slide 21
Slide 21 text
ఆٛΤΫεϙʔτ
Slide 22
Slide 22 text
ఆٛΤΫεϙʔτ ●Ϛελʔσʔλͷςʔϒϧબʢෳʣ ●৽ن࡞orಛఆͷγʔτʹఆٛు͖ग़͠
Slide 23
Slide 23 text
εϓϨουγʔτ ●1ߦɿςʔϒϧ໊ ●2ߦɿܕఆٛ ●3ߦɿΧϥϜ໊ ●4ߦʙɿೖ͍ͨ͠σʔλ
Slide 24
Slide 24 text
σʔλΠϯϙʔτ
Slide 25
Slide 25 text
σʔλΠϯϙʔτ ●εϓϨουγʔτબ ●ςʔϒϧબ ●֘ςʔϒϧͷσʔλೖ
Slide 26
Slide 26 text
σʔλΠϯϙʔτ ●εϓϨουγʔτબ ●ςʔϒϧબ ●֘ςʔϒϧͷσʔλೖ
Slide 27
Slide 27 text
σʔλΠϯϙʔτ ●DBʹσʔλ͕ཷ·͍ͬͯ͘ ●Ωϟογϡߋ৽͞Εͳ͍ͷͰήʔϜߋ৽͞Εͳ͍ ●Πϯϙʔτػೳ
Slide 28
Slide 28 text
λά࡞
Slide 29
Slide 29 text
λά࡞ ●DB -> CSV export -> git commit & tag -> git push ●gitʹpush͞ΕͨcsvͰαʔόʔ/ΫϥΠΞϯτͦΕͧΕͷ ܗࣜʹϏϧυ͠ɼS3্ʹஔ ●ݱঢ়ͷDBͷதʹλάΛ͚Δ
Slide 30
Slide 30 text
Ϛελʔσʔλߋ৽ ●ಛఆͷλάબͯ͠Πϯϙʔτ ςʔϒϧ͝ͱͷhashΛܭࢉ͠ɼ͕ࠩ͋Εߋ৽ ●λάબ
Slide 31
Slide 31 text
1.ήʔϜʹ͓͚ΔϚελʔσʔλ 2.Ϛελʔσʔλ৴ͷཪଆ 3.Ϛελʔσʔλӡ༻ 4.·ͱΊ
Slide 32
Slide 32 text
·ͱΊ ●Ϛελʔσʔλ৴·Ͱͷཪଆ ࣗಈੜΛͬͯޮԽͨ͠։ൃڥ ●Ϛελʔσʔλӡ༻ GitΛͬͨϚελʔσʔλཧ GitΛҙࣝ͠ͳ͍Ϛελʔσʔλӡ༻γεςϜΛհ