## XIII
Class XIIIEndGameMessage

source: C:\XIII\XIII\Classes\XIIIEndGameMessage.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.Info
             |
             +--Engine.LocalMessage
                |
                +--XIII.XIIILocalMessage
                   |
                   +--XIII.XIIIEndGameMessage

Direct Known Subclasses:None

class XIIIEndGameMessage
extends XIII.XIIILocalMessage

    //
    //-----------------------------------------------------------

Variables
`string` | `GoalInCompleteMsg`
`string` | `PlayerFallingMsg`
`string` | `PlayerKilledMsg`

Function Summary
`string` | `GetString(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`
    //_____________________________________________________________________________

Source Code

    00001	//
    00002	//-----------------------------------------------------------
    00003	class XIIIEndGameMessage extends XIIILocalMessage;
    00004
    00005	var localized string PlayerKilledMsg;
    00006	//var localized string GoalCompleteMsg, GoalInCompleteMsg;
    00007	var localized string GoalInCompleteMsg;
    00008	var localized string PlayerFallingMsg;
    00009
    00010	//_____________________________________________________________________________
    00011	static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00012	{
    00013	    switch (Switch)
    00014	    {
    00015	      case 1: // PlayerKilled
    00016	        return default.PlayerKilledMsg; break;
    00017	//      case 2: // Goals completed
    00018	//        return default.GoalCompleteMsg; break;
    00019	      case 3: // Goals cannont be completed
    00020	        return default.GoalInCompleteMsg; break;
    00021	      case 4: // Player Is falling down
    00022	        return default.PlayerFallingMsg; break;
    00023	    }
    00024	    return default.class$" ERR::RECEIVED GetString with wrong or undefined Params";
    00025	}
    00026
    00027	//    LifeTime=4000000.0
    00028
    00029
    00030	defaultproperties
    00031	{
    00032	     PlayerKilledMsg="XIII Has been killed... RIP"
    00033	     GoalInCompleteMsg="You failed to complete your objectives..."
    00034	     PlayerFallingMsg="You break your bones..."
    00035	     bIsSpecial=True
    00036	     DrawColor=(B=80,G=80,R=255)
    00037	     bCenter=True
    00038	}

End Source Code