Talk:Gentling mask: Difference between revisions

297 bytes added ,  02:39, 5 December 2020
m (add the full path to IBondedCompanion for clarity)
imported>Knotrice
 
Line 3: Line 3:


* The party leadership details are handled by the IBondedCompanion interface (<code>XRL.World.Parts.IBondedCompanion</code>). You will notice that <code>XRL.World.Parts.DomesticatedSlave</code> extends the IBondedCompanion interface (<code>public class DomesticatedSlave : IBondedCompanion</code>). For this reason it essentially inherits the code from the IBondedCompanion part. IBondedCompanion includes an ObjectCreatedEvent where the companion and faction properties are configured.<br>[[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 20:47, 4 December 2020 (UTC)
* The party leadership details are handled by the IBondedCompanion interface (<code>XRL.World.Parts.IBondedCompanion</code>). You will notice that <code>XRL.World.Parts.DomesticatedSlave</code> extends the IBondedCompanion interface (<code>public class DomesticatedSlave : IBondedCompanion</code>). For this reason it essentially inherits the code from the IBondedCompanion part. IBondedCompanion includes an ObjectCreatedEvent where the companion and faction properties are configured.<br>[[User:Egocarib|Egocarib]] ([[User talk:Egocarib|talk]]) 20:47, 4 December 2020 (UTC)
** Thanks for your reply! I'm coming from Java so I wasn't familiar with C#'s <code>:</code> notation for extending classes, but your info makes sense. I'll write up an entry for the mask and cone later today. [[User:Knotrice|Knotrice]] ([[User talk:Knotrice|talk]]) 02:39, 5 December 2020 (UTC)
Anonymous user