package Ġcom . el ig ust ilo software . the bag of holding . ui . camp fire Ċ Ċ import Ġandroid . util . Log Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . el ig ust ilo software . the bag of holding . Character Information Ċ import Ġcom . el ig ust ilo software . the bag of holding . Data Master Ċ import Ġcom . el ig ust ilo software . the bag of holding . Other Player Character Information Ċ Ċ class ĠCamp fire ViewModel Ġ: ĠViewModel (), ĠData Master . Data Master Interface Ġ{ ĊĠĠĠ Ġprivate Ġval Ġtag Ġ= Ġ" Camp fire ViewModel " ĊĠĠĠ Ġval Ġcharacter Data Ġ= ĠMutable LiveData < ArrayList < Other Player Character Information >>() ĊĊĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠ Ġget Character Info () ĊĠĠĠĠĠĠĠ ĠData Master . object To Notify Ġ= Ġthis ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġget Character Info (){ ĊĠĠĠĠĠĠĠ Ġval Ġother Players List Ġ= ĠData Master . find Other Players () ĊĠĠĠĠĠĠĠ Ġcharacter Data . post Value ( other Players List ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġgive Character Info ( character Info : ĠCharacter Information ) Ġ{ ĊĠĠĠĠĠĠĠ ĠLog . d ( tag , Ġ" characters Ġfrom Ġgive Character Info Ġ= Ġ$ character Info ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġgive All Characters Info ( character Info Array : ĠArrayList < Character Information >) Ġ{ ĊĠĠĠĠĠĠĠ ĠLog . d ( tag , Ġ" characters Ġfrom Ġgive All Character Info Ġ= Ġ$ character Info Array ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġgive Friends List ( friends List : ĠArrayList < Other Player Character Information >) Ġ{ ĊĠĠĠĠĠĠĠ ĠLog . d ( tag , Ġ" friends Ġfrom Ġgive Friends List Ġ= Ġ$ friends List ") ĊĠĠĠĠĠĠĠ Ġcharacter Data . post Value ( friends List ) ĊĠĠĠ Ġ} Ċ } Ċ