## XIII
Class XIIISaveMessage

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

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

Direct Known Subclasses:None

class XIIISaveMessage
extends XIII.XIIILocalMessage

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

Variables
`string` | `CheckpointReached`

Function Summary
`Texture` | `GetIcon(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`
    //_____________________________________________________________________________
    static
`string` | `GetString(optional int, optional PlayerReplicationInfo, optional PlayerReplicationInfo, optional Object)`
    //var localized string PrepareSaving, Saving, FinishedSaving;
    //var localized string NoMoreSlots, ErrorWhileSaving;

Source Code

    00001	//-----------------------------------------------------------
    00002	//
    00003	//-----------------------------------------------------------
    00004	class XIIISaveMessage extends XIIILocalMessage;
    00005
    00006	var localized string CheckpointReached;
    00007	//var localized string PrepareSaving, Saving, FinishedSaving;
    00008	//var localized string NoMoreSlots, ErrorWhileSaving;
    00009
    00010	static function string GetString( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00011	{
    00012	    switch (Switch)
    00013	    {
    00014	      case 1: // Prepare Saving
    00015	        return Default.CheckpointReached;
    00016	        /*
    00017	      case 2: // Saving
    00018	        return Default.Saving;
    00019	      case 3: // Finished Saving
    00020	        return Default.FinishedSaving;
    00021	      case 4: // no more slots
    00022	        return Default.NoMoreSlots;
    00023	      case 4: // Error while saving (WriteSlot returned false)
    00024	        return Default.ErrorWhileSaving;
    00025	        */
    00026	    }
    00027	    return default.class$" ERR::RECEIVED GetString with wrong or undefined Params Switch="$Switch;
    00028	}
    00029
    00030	/*
    00031	//_____________________________________________________________________________
    00032	static function texture GetIcon( optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2, optional Object OptionalObject )
    00033	{
    00034	    return none;
    00035	}
    00036	*/
    00037
    00038	/*
    00039	    PrepareSaving="Preparing to Save, do not remove Saving Device or turn off system"
    00040	    Saving="Saving the game..."
    00041	    FinishedSaving="Finished Saving, you can go back to normal activity."
    00042	    NoMoreSlots="WARNING : No more slots for Saving, only Quick Save slot saved"
    00043	    ErrorWhileSaving="ERROR while saving"
    00044	*/
    00045
    00046
    00047
    00048	defaultproperties
    00049	{
    00050	     CheckpointReached="Checkpoint reached"
    00051	     Lifetime=3
    00052	     DrawColor=(B=180,G=220,R=220)
    00053	}

End Source Code