Elin Decompiled Documentation EA 23.130 Nightly
Loading...
Searching...
No Matches
RecipeCard.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using Newtonsoft.Json;
3using UnityEngine;
4
5public class RecipeCard : Recipe
6{
8
9 [JsonProperty]
10 public bool freePos;
11
12 [JsonProperty]
13 public float fx;
14
15 [JsonProperty]
16 public float fy;
17
18 public Card _mold;
19
20 public CardRow sourceCard => _sourceCard ?? (_sourceCard = EClass.sources.cards.map.TryGetValue(base.source.row.idString));
21
22 public override RenderRow renderRow => sourceCard;
23
24 public override TileType tileType => Mold.trait.tileType;
25
26 public string idCard => sourceCard.id;
27
28 public override bool CanRotate => tileType.CanRotate(buildMode: true);
29
30 public override bool IsThing => true;
31
32 public override Card Mold => _mold ?? (_mold = CreateMold());
33
34 public bool isDish => sourceCard._origin == "dish";
35
36 public override IRenderer GetRenderer()
37 {
38 return Mold.renderer;
39 }
40
41 public override string GetDetail()
42 {
43 return sourceCard.GetDetail();
44 }
45
46 public override string GetIdThing()
47 {
48 return id;
49 }
50
51 public override void OnRenderMarker(Point point, bool active, HitResult result, bool main, int dir, int bridgeHeight)
52 {
53 Mold.ignoreStackHeight = Input.GetKey(KeyCode.LeftControl);
54 Mold.SetFreePos(point);
56 fx = Mold.fx;
57 fy = Mold.fy;
58 Mold.RenderMarker(point, active, result, main, dir);
59 if (!point.cell.skipRender)
60 {
61 Mold.trait.OnRenderTile(point, result, dir);
62 }
63 }
64
65 public override void BuildIngredientList()
66 {
67 if (ingredients.Count != 0)
68 {
69 return;
70 }
71 base.BuildIngredientList();
73 {
74 return;
75 }
76 bool flag = ingredients.Count < 3;
77 foreach (Ingredient ingredient in ingredients)
78 {
79 if (ingredient.id == "seasoning")
80 {
81 flag = false;
82 }
83 }
84 if (flag)
85 {
87 {
88 id = "seasoning",
89 useCat = true,
90 optional = true,
91 req = 1
92 });
93 }
94 }
95
96 public override void OnChangeIngredient()
97 {
98 if (!UseStock)
99 {
101 if (base.source.colorIng != 0)
102 {
104 }
105 }
106 }
107
108 public override void OnSelected()
109 {
110 CreateMold();
111 }
112
114 {
115 if (_mold != null)
116 {
117 _mold.Destroy();
118 }
119 if (UseStock)
120 {
121 ingredients[0].RefreshThing();
122 }
123 if (UseStock && ingredients[0].thing != null)
124 {
125 _mold = ingredients[0].thing.Duplicate(1);
126 }
127 else
128 {
130 {
132 }
133 else
134 {
136 }
138 }
139 _mold.dir = _dir;
140 _mold.altitude = ActionMode.Build.altitude;
141 _mold.idSkin = idSkin;
142 return _mold;
143 }
144
145 public override Thing Craft(BlessedState blessed, bool sound = false, List<Thing> ings = null, TraitCrafter crafter = null, bool model = false)
146 {
147 string key = idCard;
148 int num = GetMainMaterial().id;
149 Element reqSkill = base.source.GetReqSkill();
150 int num2 = reqSkill.Value - EClass.pc.Evalue(reqSkill.id);
151 int num3 = GetQualityBonus();
152 int num4 = renderRow.LV + num3;
153 bool flag = num3 < 0;
154 CardRow cardRow = EClass.sources.cards.map.TryGetValue(key);
155 bool flag2 = false;
156 if (ings != null)
157 {
158 foreach (Thing ing in ings)
159 {
160 if (ing != null && ing.IsDecayed)
161 {
162 flag2 = true;
163 }
164 }
165 }
166 if (EClass.debug.godCraft || model)
167 {
168 flag = false;
169 }
170 else if (cardRow != null && cardRow.tag.Contains("no_fail"))
171 {
172 flag = false;
173 }
175 {
176 if (num2 > 0 && EClass.rnd(num2 * 10) > EClass.rnd(100))
177 {
178 key = GetIdFailDish();
179 flag = true;
180 }
181 else
182 {
183 flag = false;
184 }
185 }
186 if (!model)
187 {
188 switch (id)
189 {
190 case "weapon_stone":
191 case "weapon_wood":
192 Rand.SetSeed();
193 key = new string[6] { "dagger", "sword", "axe_hand", "blunt_club", "spear", "staff_long" }.RandomItem();
194 break;
195 case "weapon_anvil":
196 Rand.SetSeed();
197 key = new string[6] { "dagger", "sword", "axe_hand", "blunt_club", "spear", "staff_long" }.RandomItem();
198 num = ings[1].material.id;
199 break;
200 }
201 }
202 bool flag3 = EClass.sources.cards.map[key].tag.Contains("static_craft");
203 if (!isDish && num4 < 1)
204 {
205 num4 = 1;
206 }
207 if (EClass.sources.cards.map[key].tag.Contains("noQuality"))
208 {
209 num4 = -1;
210 }
211 if (EClass.sources.cards.map[key].tag.Contains("noMaterialChange"))
212 {
213 num = -1;
214 }
215 if (flag3)
216 {
217 num3 = 0;
218 flag = false;
219 }
221 {
222 qualityBonus = num3,
223 rarity = (flag ? Rarity.Crude : Rarity.Normal)
224 });
225 Thing thing = (flag3 ? ThingGen.Create(key) : ThingGen.Create(key, num, num4));
226 thing.idSkin = idSkin;
227 if (thing.IsEquipment && ings != null)
228 {
229 foreach (Thing ing2 in ings)
230 {
231 if (ing2.trait is TraitRune)
232 {
233 thing.AddRune(ing2);
234 if (!thing.HasElement(484))
235 {
236 thing.elements.SetBase(484, 1);
237 }
238 }
239 }
240 }
241 thing.Identify(show: false);
242 thing.isCrafted = true;
243 if (!flag3)
244 {
245 if (base.source.colorIng != 0)
246 {
247 thing.Dye(GetColorMaterial());
248 }
249 if (thing.IsContainer)
250 {
251 thing.RemoveThings();
252 thing.c_lockLv = 0;
253 }
254 }
255 thing.SetBlessedState(blessed);
256 if (!flag3)
257 {
258 if (isDish)
259 {
260 if (flag)
261 {
262 thing.ChangeMaterial("meat");
263 }
264 else
265 {
266 MakeDish(thing);
267 }
268 }
269 else
270 {
271 MixIngredients(thing);
272 }
273 if (isDish && flag2)
274 {
275 thing.decay = thing.MaxDecay + 1;
276 }
277 }
278 thing.trait.OnCrafted(this);
279 if (thing.IsAmmo && num2 < 0)
280 {
281 thing.SetEncLv(-num2 / 10);
282 }
283 if (model)
284 {
285 thing.SetNum(1);
286 return thing;
287 }
288 int num5 = thing.trait.CraftNum;
289 if (crafter != null && EClass.pc.Evalue(1417) > 0 && crafter.WitchDoubleCraftChance(thing) > EClass.rnd(100))
290 {
291 num5 *= 2;
292 }
293 if (thing.trait is TraitFoodFishSlice && thing.c_idRefCard == thing.id && (thing.SelfWeight == 0 || thing.Evalue(10) == 0))
294 {
295 Msg.Say("noMoreSlice");
296 num5 = 1;
297 }
298 if (num5 > 1 && (thing.HasElement(703) || thing.HasElement(704) || thing.HasElement(1229)))
299 {
300 num5 = 1;
301 }
302 if (num5 > 1)
303 {
304 thing.SetNum(num5);
305 }
306 if (EClass.pc.held == null || !thing.TryStackTo(EClass.pc.held.Thing))
307 {
308 EClass.pc.HoldCard(thing);
309 }
310 if (sound)
311 {
312 thing.PlaySoundDrop(spatial: false);
313 }
314 Msg.Say("crafted", thing);
315 if (thing.Num > EClass.rnd(1000) || EClass.debug.enable)
316 {
318 }
319 if (isDish)
320 {
322 {
324 EClass.player.flags.canComupWithFoodRecipe = false;
325 }
326 if (flag && crafter != null && crafter.CanTriggerFire && EClass.rnd(4) == 0)
327 {
328 Point point = (crafter.ExistsOnMap ? crafter.owner.pos : EClass.pc.pos);
329 if (!point.cell.HasFire)
330 {
331 EClass._map.ModFire(point.x, point.z, 10);
332 }
333 }
334 }
335 return thing;
336 }
337
338 public void MakeDish(Thing t)
339 {
341 List<Thing> list = new List<Thing>();
342 foreach (Ingredient ingredient in ingredients)
343 {
344 list.Add(ingredient.thing);
345 }
347 Rand.SetSeed();
348 if (EClass.pc.HasElement(1658))
349 {
350 t.elements.SetBase(757, 1);
351 t.c_dateCooked = EClass.world.date.GetRaw() + (EClass.pc.Evalue(1658) - 1) * 48 * 60;
352 }
353 }
354
355 public void MixIngredients(Thing t)
356 {
358 List<Thing> list = new List<Thing>();
359 foreach (Ingredient ingredient in ingredients)
360 {
361 list.Add(ingredient.thing);
362 }
364 Rand.SetSeed();
365 }
366
367 public string GetIdFailDish()
368 {
369 return sourceCard.category switch
370 {
371 "meal_meat" => "fail_meat",
372 "meal_fish" => "fail_fish",
373 "meal_vegi" => "fail_vegi",
374 "meal_fruit" => "fail_fruit",
375 "meal_cake" => "fail_dough_cake",
376 "meal_bread" => "fail_dough_bread",
377 "meal_noodle" => "fail_noodle",
378 "meal_egg" => "fail_egg",
379 "meal_rice" => "fail_rice",
380 "meal_soup" => "fail_drink",
381 _ => "fail_dish",
382 };
383 }
384
385 public override void Build(TaskBuild task)
386 {
387 Card card = null;
388 if (task.target != null)
389 {
390 card = task.target;
391 }
392 else if (IngAsProduct)
393 {
394 if (task.resources.Count == 0)
395 {
396 Thing thing = ingredients[0].RefreshThing();
397 if (thing == null)
398 {
399 SE.Beep();
400 return;
401 }
402 Thing item = thing.Split(1);
403 task.resources.Add(item);
404 if (ingredients[0].thing.isDestroyed || ingredients[0].thing.ExistsOnMap)
405 {
406 ingredients[0].thing = null;
407 }
408 }
409 card = task.resources[0];
410 }
411 else if (sourceCard.isChara)
412 {
414 }
415 else
416 {
418 if (!card.IsUnique)
419 {
420 card.ChangeMaterial(GetMainMaterial());
421 }
422 if (base.source.colorIng != 0)
423 {
424 card.Dye(GetColorMaterial());
425 }
426 if (card.IsContainer)
427 {
428 card.RemoveThings();
429 }
430 foreach (Ingredient ingredient in ingredients)
431 {
432 if (ingredient.thing != null && ingredient.thing.HasElement(759))
433 {
434 card.elements.SetBase(759, ingredient.thing.Evalue(759));
435 }
436 }
437 }
438 Build(task.owner, card, task.pos, ingredients[0].mat, task.dir, task.altitude, task.bridgeHeight);
439 card.renderer.PlayAnime(AnimeID.Place);
440 }
441
442 public override void Build(Chara chara, Card t, Point pos, int mat, int dir, int altitude, int bridgeHeight)
443 {
444 if (mat == -1)
445 {
446 mat = 2;
447 }
448 EClass.pc.PlaySound(EClass.sources.materials.rows[mat].GetSoundImpact());
449 t.SetDir(dir);
450 t.idSkin = idSkin;
451 EClass._zone.AddCard(t, pos);
452 if (t.trait is TraitHouseBoard && ActionMode.Build.houseBoard != null)
453 {
454 (t.trait as TraitHouseBoard).data = IO.DeepCopy(ActionMode.Build.houseBoard.data);
455 }
456 t.SetPlaceState(PlaceState.installed, byPlayer: true);
457 t.altitude = altitude;
458 t.isPlayerCreation = true;
459 if (EClass._zone.idCurrentSubset != null)
460 {
461 t.isSubsetCard = true;
462 }
463 t.ignoreStackHeight = Input.GetKey(KeyCode.LeftControl);
464 if (ActionMode.Build.IsActive && t.trait.MaskOnBuild && EClass.debug.enable)
465 {
466 t.isMasked = true;
467 }
469 {
470 t.isRoofItem = true;
471 t.SetPlaceState(PlaceState.roaming);
472 }
473 t.ForeachPoint(delegate(Point p, bool main)
474 {
475 CheckBlock(p);
476 });
477 t.freePos = freePos;
478 if (freePos)
479 {
480 t.fx = fx;
481 t.fy = fy;
482 }
484 void CheckBlock(Point _pos)
485 {
486 if (_pos.cell.IsBlocked && _pos.HasChara)
487 {
488 foreach (Chara item in _pos.ListCharas().Copy())
489 {
490 chara.Kick(item, ignoreSelf: false, karmaLoss: false);
491 }
492 }
493 }
494 }
495
496 public override void OnChangeAltitude(int a)
497 {
498 Mold.altitude = a;
499 }
500
501 public override void Rotate()
502 {
503 Mold.Rotate();
504 _dir = Mold.dir;
505 if ((bool)BuildMenu.Instance)
506 {
508 }
509 }
510
511 public override void SetDir(int d)
512 {
513 Mold.dir = d;
514 base.SetDir(d);
515 }
516
517 public override void WriteNote(UINote n)
518 {
519 n.Clear();
520 if (!Mold.isChara)
521 {
523 }
524 n.Build();
525 }
526
527 public override Recipe Duplicate()
528 {
529 RecipeCard recipeCard = IO.DeepCopy(this);
530 recipeCard._mold = _mold;
531 return recipeCard;
532 }
533}
AnimeID
Definition: AnimeID.cs:2
BlessedState
Definition: BlessedState.cs:2
HitResult
Definition: HitResult.cs:2
PlaceState
Definition: PlaceState.cs:2
Rarity
Definition: Rarity.cs:2
new Chara owner
Definition: AIAct.cs:14
int altitude
Definition: AM_Build.cs:8
TraitHouseBoard houseBoard
Definition: AM_Build.cs:16
void Add(Act a, string s="")
Definition: ActPlan.cs:11
virtual bool IsRoofEditMode(Card c=null)
Definition: ActionMode.cs:311
static AM_Build Build
Definition: ActionMode.cs:49
virtual bool IsBuildMode
Definition: ActionMode.cs:181
static BuildMenu Instance
Definition: BuildMenu.cs:77
UIRecipeInfo info1
Definition: BuildMenu.cs:27
static void Set(CardBlueprint _bp)
void RefreshSprite()
bool isChara
Definition: CardRow.cs:55
string id
Definition: CardRow.cs:7
Definition: Card.cs:11
bool isDestroyed
Definition: Card.cs:71
bool IsDecayed
Definition: Card.cs:2187
virtual bool isThing
Definition: Card.cs:1981
bool IsAmmo
Definition: Card.cs:2147
SocketData AddRune(Card rune)
Definition: Card.cs:3389
Thing Split(int a)
Definition: Card.cs:3275
void SetPlaceState(PlaceState newState, bool byPlayer=false)
Definition: Card.cs:3498
ElementContainerCard elements
Definition: Card.cs:37
string id
Definition: Card.cs:31
bool HasElement(int ele, int req=1)
Definition: Card.cs:5395
float fy
Definition: Card.cs:250
SoundSource PlaySound(string id, float v=1f, bool spatial=true)
Definition: Card.cs:5585
Card ChangeMaterial(int idNew, bool ignoreFixedMaterial=false)
Definition: Card.cs:2887
virtual void SetDir(int d)
Definition: Card.cs:5641
float fx
Definition: Card.cs:238
Thing SetNum(int a)
Definition: Card.cs:3286
void ForeachPoint(Action< Point, bool > action)
Definition: Card.cs:7190
virtual void SetBlessedState(BlessedState s)
Definition: Card.cs:3642
Point pos
Definition: Card.cs:55
void RenderMarker(Point point, bool active, HitResult result, bool main, int dir, bool useCurrentPosition=false)
Definition: Card.cs:5733
void Dye(string idMat)
Definition: Card.cs:5448
Trait trait
Definition: Card.cs:49
bool IsEquipment
Definition: Card.cs:2073
void SetEncLv(int a)
Definition: Card.cs:3611
void Destroy()
Definition: Card.cs:4680
virtual void Rotate(bool reverse=false)
Definition: Card.cs:5660
void SetFreePos(Point point)
Definition: Card.cs:5709
virtual bool isChara
Definition: Card.cs:1983
virtual Thing Thing
Definition: Card.cs:1958
int turn
Definition: Card.cs:61
int Evalue(int ele)
Definition: Card.cs:2471
void PlaySoundDrop(bool spatial=true)
Definition: Card.cs:5570
int dir
Definition: Card.cs:142
bool TryStackTo(Thing to)
Definition: Card.cs:3188
int Num
Definition: Card.cs:154
SourceCategory.Row category
Definition: Card.cs:1949
bool IsContainer
Definition: Card.cs:1989
bool freePos
Definition: Card.cs:490
CardRenderer renderer
Definition: Card.cs:57
int LV
Definition: Card.cs:370
string c_idRefCard
Definition: Card.cs:1661
void RemoveThings()
Definition: Card.cs:3101
bool IsBlocked
Definition: Cell.cs:895
bool skipRender
Definition: Cell.cs:270
bool HasFire
Definition: Cell.cs:676
static Chara Create(string id, int lv=-1)
Definition: CharaGen.cs:17
Definition: Chara.cs:10
Card held
Definition: Chara.cs:70
void HoldCard(Card t, int num=-1)
Definition: Chara.cs:4104
void Kick(Point p, bool ignoreSelf=false)
Definition: Chara.cs:5209
bool godCraft
Definition: CoreDebug.cs:180
bool enable
Definition: CoreDebug.cs:285
Game game
Definition: Core.cs:72
bool IsGameStarted
Definition: Core.cs:84
static void MakeDish(Thing food, int lv, Chara crafter=null)
Definition: CraftUtil.cs:55
static Thing MixIngredients(string idProduct, List< Thing > ings, MixType type, int idMat=0, Chara crafter=null)
Definition: CraftUtil.cs:144
int GetRaw(int offsetHours=0)
Definition: Date.cs:322
Definition: EClass.cs:5
static Scene scene
Definition: EClass.cs:30
static int rnd(int a)
Definition: EClass.cs:58
static Core core
Definition: EClass.cs:6
static Zone _zone
Definition: EClass.cs:20
static World world
Definition: EClass.cs:40
static Map _map
Definition: EClass.cs:18
static SourceManager sources
Definition: EClass.cs:42
static Player player
Definition: EClass.cs:12
static Chara pc
Definition: EClass.cs:14
static CoreDebug debug
Definition: EClass.cs:48
void AddNote(UINote n, Func< Element, bool > isValid=null, Action onAdd=null, NoteMode mode=NoteMode.Default, bool addRaceFeat=false, Func< Element, string, string > funcText=null, Action< UINote, Element > onAddNote=null)
Element SetBase(string alias, int v, int potential=0)
int id
Definition: ELEMENT.cs:246
SourceElement.Row source
Definition: ELEMENT.cs:269
bool isLoading
Definition: Game.cs:235
void ModFire(int x, int z, int amount)
Definition: Map.cs:1166
Definition: Msg.cs:5
static string Say(string idLang, string ref1, string ref2=null, string ref3=null, string ref4=null)
Definition: Msg.cs:58
bool canComupWithFoodRecipe
Definition: Player.cs:294
Flags flags
Definition: Player.cs:910
RecipeManager recipes
Definition: Player.cs:913
Definition: Point.cs:9
int x
Definition: Point.cs:36
int z
Definition: Point.cs:39
List< Chara > ListCharas()
Definition: Point.cs:1147
Cell cell
Definition: Point.cs:51
bool HasChara
Definition: Point.cs:226
Definition: Rand.cs:4
static void SetSeed(int a=-1)
Definition: Rand.cs:37
float fy
Definition: RecipeCard.cs:16
override void WriteNote(UINote n)
Definition: RecipeCard.cs:517
void MixIngredients(Thing t)
Definition: RecipeCard.cs:355
override Card Mold
Definition: RecipeCard.cs:32
bool isDish
Definition: RecipeCard.cs:34
override void BuildIngredientList()
Definition: RecipeCard.cs:65
CardRow _sourceCard
Definition: RecipeCard.cs:7
override TileType tileType
Definition: RecipeCard.cs:24
override bool IsThing
Definition: RecipeCard.cs:30
override void OnChangeAltitude(int a)
Definition: RecipeCard.cs:496
string GetIdFailDish()
Definition: RecipeCard.cs:367
float fx
Definition: RecipeCard.cs:13
override void Build(TaskBuild task)
Definition: RecipeCard.cs:385
override void OnRenderMarker(Point point, bool active, HitResult result, bool main, int dir, int bridgeHeight)
Definition: RecipeCard.cs:51
override void Build(Chara chara, Card t, Point pos, int mat, int dir, int altitude, int bridgeHeight)
Definition: RecipeCard.cs:442
Card _mold
Definition: RecipeCard.cs:18
override string GetIdThing()
Definition: RecipeCard.cs:46
CardRow sourceCard
Definition: RecipeCard.cs:20
override Thing Craft(BlessedState blessed, bool sound=false, List< Thing > ings=null, TraitCrafter crafter=null, bool model=false)
Definition: RecipeCard.cs:145
override Recipe Duplicate()
Definition: RecipeCard.cs:527
override string GetDetail()
Definition: RecipeCard.cs:41
override RenderRow renderRow
Definition: RecipeCard.cs:22
override void Rotate()
Definition: RecipeCard.cs:501
Card CreateMold()
Definition: RecipeCard.cs:113
override void OnSelected()
Definition: RecipeCard.cs:108
override bool CanRotate
Definition: RecipeCard.cs:28
string idCard
Definition: RecipeCard.cs:26
override void OnChangeIngredient()
Definition: RecipeCard.cs:96
bool freePos
Definition: RecipeCard.cs:10
void MakeDish(Thing t)
Definition: RecipeCard.cs:338
override void SetDir(int d)
Definition: RecipeCard.cs:511
override IRenderer GetRenderer()
Definition: RecipeCard.cs:36
void ComeUpWithRandomRecipe(string idCat=null, int lvBonus=0)
Definition: Recipe.cs:7
string id
Definition: Recipe.cs:161
List< Ingredient > ingredients
Definition: Recipe.cs:164
virtual SourceMaterial.Row GetMainMaterial()
Definition: Recipe.cs:467
int GetQualityBonus()
Definition: Recipe.cs:380
bool UseStock
Definition: Recipe.cs:167
int _dir
Definition: Recipe.cs:175
int idSkin
Definition: Recipe.cs:181
virtual SourceMaterial.Row GetColorMaterial()
Definition: Recipe.cs:481
bool IngAsProduct
Definition: Recipe.cs:170
string[] tag
Definition: RenderRow.cs:58
ActionMode actionMode
Definition: Scene.cs:77
Dictionary< string, CardRow > map
Definition: SourceCard.cs:8
string GetDetail()
Definition: SourceData.cs:543
SourceMaterial materials
SourceCard cards
string idCurrentSubset
Definition: Spatial.cs:28
int altitude
Definition: TaskBuild.cs:17
Card target
Definition: TaskBuild.cs:35
int bridgeHeight
Definition: TaskBuild.cs:14
int dir
Definition: TaskBuild.cs:11
List< Thing > resources
Definition: TaskBuild.cs:20
Point pos
Definition: TaskPoint.cs:11
static Thing Create(string id, int idMat=-1, int lv=-1)
Definition: ThingGen.cs:53
Definition: Thing.cs:8
override int SelfWeight
Definition: Thing.cs:62
Thing Identify(bool show=true, IDTSource idtSource=IDTSource.Identify)
Definition: Thing.cs:1976
virtual bool CanRotate(bool buildMode)
Definition: TileType.cs:282
virtual int CraftNum
Definition: Trait.cs:131
virtual void OnCrafted(Recipe recipe)
Definition: Trait.cs:652
virtual void OnRenderTile(Point point, HitResult result, int dir)
Definition: Trait.cs:693
virtual TileType tileType
Definition: Trait.cs:48
virtual bool MaskOnBuild
Definition: Trait.cs:173
Definition: UINote.cs:6
void Clear()
Definition: UINote.cs:35
void Build()
Definition: UINote.cs:49
void OnRotate()
GameDate date
Definition: World.cs:6
override int DangerLv
Definition: Zone.cs:107
Card AddCard(Card t, Point point)
Definition: Zone.cs:1893