Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
Meeting Class Reference
Inheritance diagram for Meeting:
EClass MeetingFarris MeetingMerchant

Public Member Functions

void SetOwner (FactionBranch _branch)
 
void SetChara (Point pos)
 
void Start ()
 
virtual void PlayDrama ()
 
virtual void OnEndDrama ()
 

Public Attributes

int dateExipire
 
FactionBranch branch
 
Chara chara
 

Properties

virtual bool IsGlobalChara [get]
 
virtual string IdChara [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Static Public Attributes inherited from EClass
static Core core
 

Detailed Description

Definition at line 4 of file Meeting.cs.

Member Function Documentation

◆ OnEndDrama()

virtual void Meeting.OnEndDrama ( )
inlinevirtual

Definition at line 58 of file Meeting.cs.

59 {
60 if (chara.IsGlobal)
61 {
62 chara.MoveZone(EClass.game.spatials.Find("somewhere"));
63 }
64 else
65 {
66 chara.Destroy();
67 }
69 }
void Destroy()
Definition: Card.cs:4538
override bool IsGlobal
Definition: Chara.cs:595
void MoveZone(string alias)
Definition: Chara.cs:3010
Definition: EClass.cs:5
static Game game
Definition: EClass.cs:8
static FactionBranch Branch
Definition: EClass.cs:22
MeetingManager meetings
SpatialManager spatials
Definition: Game.cs:152
Chara chara
Definition: Meeting.cs:11
Zone Find(string id)

References EClass.Branch, MeetingManager.CallNext(), chara, Card.Destroy(), SpatialManager.Find(), EClass.game, Chara.IsGlobal, FactionBranch.meetings, Chara.MoveZone(), and Game.spatials.

Referenced by Start().

◆ PlayDrama()

virtual void Meeting.PlayDrama ( )
inlinevirtual

Reimplemented in MeetingFarris, and MeetingMerchant.

Definition at line 54 of file Meeting.cs.

55 {
56 }

Referenced by Start().

◆ SetChara()

void Meeting.SetChara ( Point  pos)
inline

Definition at line 22 of file Meeting.cs.

23 {
24 if (IsGlobalChara)
25 {
27 if (chara == null)
28 {
29 Debug.Log("creating chara for meeting:" + IdChara);
32 EClass.game.spatials.Find("somewhere").AddCard(chara);
33 }
34 }
35 else
36 {
38 }
40 {
42 }
44 }
Chara Find(string id)
Definition: CardManager.cs:20
GlobalCharaList globalCharas
Definition: CardManager.cs:46
virtual Chara Chara
Definition: Card.cs:1946
void MoveImmediate(Point p, bool focus=true, bool cancelAI=true)
Definition: Card.cs:5127
static Chara Create(string id, int lv=-1)
Definition: CharaGen.cs:17
Chara SetGlobal(Zone _home, int x, int z)
Definition: Chara.cs:1266
Zone currentZone
Definition: Chara.cs:240
static Zone _zone
Definition: EClass.cs:20
CardManager cards
Definition: Game.cs:155
Zone activeZone
Definition: Game.cs:245
virtual bool IsGlobalChara
Definition: Meeting.cs:13
virtual string IdChara
Definition: Meeting.cs:15
Card AddCard(Card t, Point point)
Definition: Zone.cs:1893

References EClass._zone, Game.activeZone, Zone.AddCard(), Game.cards, Card.Chara, chara, CharaGen.Create(), Chara.currentZone, Debug, CardManager.GlobalCharaList.Find(), SpatialManager.Find(), EClass.game, CardManager.globalCharas, IdChara, IsGlobalChara, Card.MoveImmediate(), Chara.MoveZone(), Chara.SetGlobal(), and Game.spatials.

Referenced by MeetingManager.CallNext().

◆ SetOwner()

void Meeting.SetOwner ( FactionBranch  _branch)
inline

Definition at line 17 of file Meeting.cs.

18 {
19 branch = _branch;
20 }
FactionBranch branch
Definition: Meeting.cs:9

References branch.

◆ Start()

void Meeting.Start ( )
inline

Definition at line 46 of file Meeting.cs.

47 {
50 PlayDrama();
52 }
override void LookAt(Card c)
Definition: Chara.cs:3219
static Chara pc
Definition: EClass.cs:14
static LayerDrama Instance
Definition: LayerDrama.cs:20
Layer SetOnKill(Action action)
Definition: Layer.cs:579
virtual void OnEndDrama()
Definition: Meeting.cs:58
virtual void PlayDrama()
Definition: Meeting.cs:54

References chara, LayerDrama.Instance, Chara.LookAt(), OnEndDrama(), EClass.pc, PlayDrama(), and Layer.SetOnKill().

Referenced by MeetingManager.CallNext().

Member Data Documentation

◆ branch

FactionBranch Meeting.branch

Definition at line 9 of file Meeting.cs.

Referenced by SetOwner().

◆ chara

◆ dateExipire

int Meeting.dateExipire

Definition at line 7 of file Meeting.cs.

Property Documentation

◆ IdChara

virtual string Meeting.IdChara
get

Definition at line 15 of file Meeting.cs.

Referenced by SetChara().

◆ IsGlobalChara

virtual bool Meeting.IsGlobalChara
get

Definition at line 13 of file Meeting.cs.

Referenced by SetChara().


The documentation for this class was generated from the following file: